Skip to content

v0.6.10 — Qwen3.6 answers with its real router

Choose a tag to compare

@skyrocket2026 skyrocket2026 released this 03 Oct 18:47
· 83 commits to main since this release
b6badfe

Qwen3.6 answers with its real router: perplexity 15–18 → 5.47, the same on every launch.

Before this release

Qwen3.6-35B-A3B's MoE router weights loaded corrupted in most launches, and had since at least 0.5.14.

  • The race: the model streams don't wait on the default stream. A synchronous cudaMemcpy from pageable memory can return before its DMA lands. So the load-time dequant of the 2 MB F32 router read a tail of rows that hadn't arrived: zeros, and how many varied from run to run.
  • The effect: those zero logits beat every real logit, so layer 0 routed every token to 8 arbitrary experts with equal weights.
  • The symptom: answers disagreed with llama.cpp on 42% of positions, and the model gave different results from one launch to the next.

Now

Every host-to-device upload completes before a stream reads it. That covers the model weights, the vision inputs, and the KV cache's block tables. RTX 5090, teacher-forced 275-token prompt, against llama-server on the same GGUF:

Qwen3.6-35B-A3B top-1 KL perplexity
UD-Q4_K_M, 0.6.9 0.58 1.43 15–18 (varies by launch)
UD-Q4_K_M, 0.6.10 0.92 0.057 5.47 (every launch)
UD-Q4_K_XL / UD-IQ4_XS, 0.6.10 0.92 / 0.94 0.052 / 0.054 5.55 / 5.46

Speed:

  • Decode is unchanged.
  • Prefill at 512 tokens drops from 12.1K to 11.0K tok/s. Tokens now reach the experts the router really picks; the corrupted router had piled them onto the same few.
  • Against llama.cpp on the same file and GPU: decode 490 / 467 / 475 vs 284 / 276 / 248 tok/s at 128 / 4K / 32K; prefill 10.7K / 29.3K / 26.0K vs 9.6K / 9.5K / 8.6K at 512 / 4K / 32K.

Also

  • Out-of-memory fix (#1269). A decode step whose CUDA graph can't be captured, for example when out of memory, now runs eagerly. It used to return the previous token without updating any state.
  • Logprobs check fix. eval/mixed_conc_check.py now allows for the end-of-turn token, which completion_tokens counts but logprobs don't list.

Full notes: CHANGELOG.

What's Changed

  • fix(runtime): a decode step whose CUDA graph fails to capture runs eagerly instead of returning a stale token by @skyrocket2026 in #1269
  • fix(runtime): host-to-device uploads complete before a non-blocking stream reads them (Qwen3.6 router corrupted in most launches: perplexity 15-18 -> 5.47) by @skyrocket2026 in #1270
  • docs: 0.6.10 — Qwen3.6 answers with its real router (perplexity 15-18 -> 5.47) by @skyrocket2026 in #1271

Full Changelog: v0.6.9...v0.6.10