Repository navigation
v0.6.10 — Qwen3.6 answers with its real router
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
cudaMemcpyfrom 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.pynow allows for the end-of-turn token, whichcompletion_tokenscounts 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