You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MTP drafter crashes with GGML_ASSERT(ggml_can_repeat(b, a)) during graph build (b11007-mix, RTX 5080) #11219
Happens with both heads (shared and non-shared), with flash attention on and off.
The shared head additionally logs borrow_shared_tensor: this model is a draft head without its own 'token_embd.weight' before the assert.
No ngram flags involved (--spec-type draft-mtp only); pure MTP drafter path.
Same failure whether launched from Studio or with CLI-equivalent flags.
Expected result
MTP drafter initializes and speculative decoding runs (as it does with native MTP).
Additional data points
Native MTP (built-in head, no --model-draft) loads fine but acceptance rate is ~0.10 (peaks 0.26) over long generations, and decode speed equals or drops below the no-spec baseline (~18–24 t/s vs 27.7 t/s no-spec). Expected acceptance per release notes is ≈0.7.
Without any speculation: stable 27.7 t/s decode, 380–406 t/s prefill.
The assert fires with a single-file merged GGUF, so it does not appear to be sharding-specific.
Related
Possibly related to #11143 (same build family and same MTP sidecar area, but different failure: that one aborts at load on nextn.hc_head_norm shape, this one asserts in ggml_can_repeat during graph build). Posting separately since the assert and code path look different.
Happy to provide full logs (anonymized) and to test any patch/build.
Thanks for the detailed report. This is the same bug as #11143: the assert there fires at the same place, while the draft context is being set up, and it's in the Qwen3.8-Flash-Next MTP head code that both the shared and non-shared heads use. A one-line fix has been confirmed there, and we'll repin the bundle once it's merged. Until then, pinning the previous build restores the MTP drafter:
UNSLOTH_LLAMA_RELEASE_TAG=b10909-mix-bea84f7 UNSLOTH_LLAMA_TAG=b10909 unsloth studio update
The native MTP acceptance you're seeing (~0.10 vs ~0.7 expected) is a separate question. If it's still low with the external drafter working again, please open a new issue with the prompt type and the llama-server acceptance log lines.
Activity
LeoBorcherding commentedon Sep 17, 2026
Thanks for the detailed report. This is the same bug as #11143: the assert there fires at the same place, while the draft context is being set up, and it's in the Qwen3.8-Flash-Next MTP head code that both the shared and non-shared heads use. A one-line fix has been confirmed there, and we'll repin the bundle once it's merged. Until then, pinning the previous build restores the MTP drafter:
The native MTP acceptance you're seeing (~0.10 vs ~0.7 expected) is a separate question. If it's still low with the external drafter working again, please open a new issue with the prompt type and the llama-server acceptance log lines.
danielhanchen commentedon Sep 18, 2026
We will be doing a release for llama.cpp soon!
danielhanchen commentedon Sep 21, 2026
Oh sorry this has been fixed - please update with the latest llama.cpp!