diff --git a/crates/leleka-runtime/src/qwen_forward/original_serve_engine.rs b/crates/leleka-runtime/src/qwen_forward/original_serve_engine.rs index 66755d7c..21d48b6c 100644 --- a/crates/leleka-runtime/src/qwen_forward/original_serve_engine.rs +++ b/crates/leleka-runtime/src/qwen_forward/original_serve_engine.rs @@ -341,7 +341,7 @@ impl OriginalFirstDraftEngine for OriginalServeEng /// Whether the adaptive speculative window is the default of the serve stack (docs/adaptive-spec.md). -pub(crate) const ADAPTIVE_DEFAULT:bool=false; +pub(crate) const ADAPTIVE_DEFAULT:bool=true; /// Original `generate` serve settings for mode17: `--spec 4` verify width, prompt lookup on /// (`--suffix-draft 3`), which makes the MTP keep 4-wide windows (`mtp_max_t = spec`) and the diff --git a/scripts/spec/9b6-spec-default-check.sh b/scripts/spec/9b6-spec-default-check.sh new file mode 100644 index 00000000..03166f08 --- /dev/null +++ b/scripts/spec/9b6-spec-default-check.sh @@ -0,0 +1,6 @@ +set -uo pipefail +# claude/adaptive-spec: the shipped default (no LELEKA_SPEC* variable: adaptive window on) against the explicit fixed window (LELEKA_SPEC=4) on the first 6 requests of the tic-tac-toe replay, teacher forced, auto tier: one process each +export BIN=$HOME/work/leleka-spec-bin/sp5 +source ~/work/gpu-runs/holder2/spec-common.sh +run_replay default-adaptive $HOME/work/codex-e2e/capture/943b-codex-ttt "" 2 0 6 LELEKA_ORIGINAL_SERVE_EXPERT_SLOTS=auto LELEKA_ORIGINAL_SERVE_ADAPT_EVERY=2 +run_replay explicit-fixed4 $HOME/work/codex-e2e/capture/943b-codex-ttt "" 2 0 6 LELEKA_SPEC=4 LELEKA_ORIGINAL_SERVE_EXPERT_SLOTS=auto LELEKA_ORIGINAL_SERVE_ADAPT_EVERY=2