Repository navigation
Studio: fall back to the legacy --swa-checkpoints spelling - #9416
Conversation
|
@codex review |
|
Codex Review: Didn't find any major issues. Already looking forward to the next diff. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
|
Codex Review: Didn't find any major issues. You're on a roll. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
The capability probe checked only --ctx-checkpoints, so on a build older than the upstream rename, which carries just --swa-checkpoints, a value picked in the Checkpoints control was silently dropped. Probe both spellings and record which one the build has, then emit that name, the same alias handling the draft KV cache flags already use. The Windows full-offload tuning path follows it too, so its --ctx-checkpoints 0 lands on those builds as well.
93fb245 to
2ec4274
Compare
Follow-up to #9410.
The capability probe looked for
--ctx-checkpointsonly.--swa-checkpointsis the older spelling of the same option, and a build carries either one or both, so on a build that ships only the old name the probe reported no support and the Checkpoints control silently did nothing. The probe now records which of the two names the build has, the same way the draft cache pair already did, and the launch emits that name. The Windows full-offload path that forces the value to 0 uses the recorded name too.Verification
studio/backend/tests/test_server_tuning_flags.py: 41 passed, including the newtest_the_checkpoint_flag_falls_back_to_the_legacy_spelling.Rebased onto main. The two test fixes this branch also carried, the auto-load harness stubs and the seed-count contract, have since landed on main independently, so they are no longer part of this diff.