Skip to content

qwen3.8-flash-next: ship verbatim_prompt = false (#271 attribution) - #319

Merged
AzeezIsh merged 1 commit into
mainfrom
fnext/verbatim-off
Nov 2, 2026
Merged

AzeezIsh merged 1 commit into
mainfrom
fnext/verbatim-off

Conversation

@AzeezIsh

@AzeezIsh AzeezIsh commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Maintainer decision on the #271 attribution: qwen3.8-flash-next ships verbatim_prompt = false. Every other reference-parity key from 565aa68 stays as it is: sampling rows, no server thinking budget, EOS ends thinking, no tool steering.

Why. Single-GB10 FP4-Local, one variable each, one fresh serve and one run per arm (full tables on #271):

arm vs main 8c2b672 agentic-webserver 50 BFCL ST-995 overall / norm
main (verbatim on) 47/50 (iterations 0, 18, 27 never write Cargo.toml) 87.54 / 85.94
verbatim off 50/50 87.54 / 87.79 (run-1793576349809849743)
full pre-565aa68 MODEL.toml 50/50 88.04 / 88.08
  • Main is below this target's own floors (FP4-Local agentic 50/50, BFCL normalized ≥ 86.92), and this key alone brings it back above them on that data.
  • With verbatim off, the prompt gets back Atlas's render: the qwen3_coder parser tool prompt beside the template's tool block, and the tool-result hints. Irrelevance goes from 87.50 to 95.83.

Changes

  • kernels/gb10/qwen3.8-flash-next/MODEL.toml: verbatim_prompt = false, with a dated override note above it. The reference-behaviour paragraph is kept.
  • api/chat/reference_prompt_tests.rs:
    • The golden cases now pin the verbatim_prompt = true render explicitly, so the reference-parity render stays covered and can be re-enabled by flipping the key back.
    • New target_model_toml_ships_verbatim_prompt_off guards the shipped default.
    • --reference-mode is untouched, so MLPerf reference-mode prompts on other models don't change.

Test plan

  • fmt, clippy (CI env), 500-LoC cap.
  • cargo test --release -p spark-server: 3046 + 141 pass. One failure, closure_attestation::the_baked_attestation_reproduces_from_the_tree, is on the nemotron-3.5-super-vl target, which this diff doesn't touch. CI will show whether it reproduces on main.
  • sparky GB10, PR binary at e71775a (base bce5dd9), r1short, a fresh serve per bench, gated on this target's BENCH.toml floors. All pass, 0 errors:
leg result floor run
FP4-Local agentic-50 50/50, followed 50, 11.61 s/turn 50/50 run-1793613437514612666
FP4-Local BFCL ST-995 87.54 / 87.79 87.04 / 86.92 run-1793623665275586773
NVFP4 agentic-50 50/50, followed 50, 14.20 s/turn 50 / 49 run-1793629681628468058
NVFP4 BFCL ST-995 85.73 / 85.90 83.12 / 82.05 run-1793640336628084225

The FP4-Local BFCL is identical to the knob arm A2 on 8c2b672 on every subset, so the key reproduces across bases. These are single runs per leg, and NVFP4 has no same-base main arm, so the NVFP4 numbers are observations against the floors, not an A/B.

Generated with Devin

- Off restores Atlas's render (parser tool prompt + tool-result hints);
  FP4-Local observed agentic 50/50 and BFCL 87.54 / 87.79 on this arm.
- reference_prompt_tests: pin the verbatim RENDER explicitly (key is
  now off in MODEL.toml) and assert the target ships it off.
@AzeezIsh

AzeezIsh commented Nov 2, 2026

Copy link
Copy Markdown
Contributor Author

Pair data on this head (e71775aaa, TP=EP=2 on reiner + spark2, FP4-Local). Receipts are in reiner's ~/code/night1027/out/tc319/.

I ran a probe for the empty <tool_call></tool_call> first reply, at the default sampling, 8 runs per request shape, on rc16 and on 0.4.0's spark config:

  • Native tools (5 agent tools, streamed and blocking): 8/8 clean tool calls in both configs. Same as main.
  • No tools, but a system prompt that describes research and file abilities: the reply has literal tool markup as content (<tool_call>\n<function=web_search>\n<parameter=...>) in 8/8 on rc16 and 6/8 in spark mode, both with and without this PR.

So verbatim_prompt isn't the lever for that bug: the model starts a call it was never given. I'm opening a separate fix that bans the <tool_call> opener when no tools are declared, as a qwen3.8-flash-next [behavior] key and not under --reference-mode.

BFCL ST-995 on this head on the pair is running.

@AzeezIsh

AzeezIsh commented Nov 2, 2026

Copy link
Copy Markdown
Contributor Author

BFCL ST-995 on the pair, this head (e71775aaa), rc16 profile, FP4-Local, TP=EP=2: overall 88.14, normalized 88.96 (run-1793609864107730817). Main on the same pair and profile is 87.54 / 86.85. That's one run, an observation in the same direction as your sparky data. Native tool calls stay at 8/8. The no-tools <tool_call> markup bug needs a separate fix; I'm putting that up as its own PR.

@AzeezIsh

AzeezIsh commented Nov 2, 2026

Copy link
Copy Markdown
Contributor Author

Gate progress (sparky GB10, PR binary e71775a, FP4-Local r1short, fresh serve): agentic-webserver 50 → 50/50, followed 50/50, 11.61 s/turn, 0 errors (run-1793613437514612666).

For reference, the knob arm A2 on 8c2b672 (same key, older base) was 50/50 at 11.60 s/turn. Remaining: FP4-Local BFCL (79b), NVFP4 agentic (79c), NVFP4 BFCL (79d).

@AzeezIsh
AzeezIsh marked this pull request as ready for review November 2, 2026 23:40
@AzeezIsh
AzeezIsh merged commit 457df04 into main Nov 2, 2026
25 of 26 checks passed
vcruz305 pushed a commit to vcruz305/atlas that referenced this pull request Nov 11, 2026
… on)

Atlas-Inf#319 shipped verbatim_prompt = false for the whole target on FP4-Local
evidence. The vendor NVFP4 pack measures the other way on the same gate:
sha-9c45191 (verbatim on) agentic-webserver 50/50 vs sha-457df04 (Atlas-Inf#319)
49/50 three times, always iteration 21. New optional [behavior] key
nvfp4_verbatim_prompt overrides verbatim_prompt when the checkpoint is a
ModelOpt NVFP4 plan that is not FP4-Local, resolved once at serve start so
every reader sees one value. FP4-Local and EXL3 are unchanged.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant