mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #274] [CLOSED] feat(mtp): add --coupled-draft and --no-coupled-draft CLI options for coupled speculative sampling #2540
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#2540
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/274
Author: @praveshkhatana
Created: 9/30/2026
Status: ❌ Closed
Base:
main← Head:feat/cli-coupled-drafting📝 Commits (1)
9131a07feat(mtp): add --coupled-draft and --no-coupled-draft CLI options for coupled speculative sampling📊 Changes
2 files changed (+18 additions, -3 deletions)
View changed files
📝
include/strata/core/coupled_draft.hpp(+11 -3)📝
src/program/generate.cpp(+7 -0)📄 Description
Summary
Commit
1643965introduced coupled draft sampling for the MTP drafter under sampling, activated via theSTRATA_SPEC_COUPLED=1environment variable.This PR adds first-class CLI options (
--coupled-draftand--no-coupled-draft) to expose and control this feature directly from the command line and config files, while maintaining full backward compatibility with theSTRATA_SPEC_COUPLEDenvironment variable.Changes
include/strata/core/coupled_draft.hpp:set_coupled_draft(bool)andcoupled_draft_state()to allow programmatic and CLI configuration of coupled draft sampling.src/program/generate.cpp:bool coupled_draft = strata::core::coupled_draft_env();toOptions(defaulting to the environment variable).--coupled-draftand--no-coupled-draftCLI argument parsing.--helptext inusage().🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.