CoolFace
Modelpublic

fraQtl/Qwen3.6-35B-A3B-Hi-Fi-MTP-runtime

sourceHugging Faceotherupdated 1mo agoView on Hugging Face
2likes93downloads
Model Card

Qwen 3.6 35B-A3B Hi-Fi โ€” MTP runtime variant

Runtime-verified. Same calibration as the Hi-Fi Q4KM variant, with the MTP draft head (blk.40) retained for native speculative decoding in llama-server.

๐Ÿ–ฅ๏ธ Datacenter target (A100-80GB). The speedup below is a datacenter-GPU result. On Apple Silicon / consumer GPUs there is no measured speedup โ€” for local runs use the Hi-Fi GGUF.

One-line claim

Qwen 3.6 35B-A3B MTP runtime path verified in llama-server: ~76.0% draft acceptance (95% CI 75.7โ€“76.3%) and ~1.49ร— decode speedup (95% CI 1.46โ€“1.52ร—) on a 50-prompt chat-template suite, A100-80GB, k=4. 3-seed lock (seeds 42, 1337, 2024).

This is runtime verification, not a calibrated draft-head claim. The MTP block inherits the Hi-Fi main-model quant policy plus one Q80 override on `nextn.ehproj`.

Requirements

  • โ€”llama-server with Qwen 3.5/3.6 NextN MTP loader (llama.cpp main commit 2f6c815dcโ€ฆ or later)
  • โ€”Send requests via the /v1/chat/completions endpoint (NOT /completion โ€” see caveat below)

How to run

bash
llama-server \
  -m qwen36-35b-a3b-hi-fi-mtp-runtime.gguf \
  -ngl 999 -c 4096 \
  --spec-type draft-mtp \
  --spec-draft-n-max 4 --spec-draft-n-min 1

Request body:

json
{
  "messages": [{"role": "user", "content": "Write a Python function ..."}],
  "max_tokens": 256,
  "temperature": 0,
  "speculative": {"type": "draft-mtp", "n_max": 4, "n_min": 1}
}

Inspect acceptance via timings.draft_n (proposed) and timings.draft_n_accepted (accepted).

Measured numbers (3-seed lock, 2026-05-29)

armmean acceptanceยฑ2ฯƒmean tok/sspeedup vs vanilla
overall75.99 %ยฑ0.30 pp198.961.489ร— ยฑ 0.030
code73.69 %ยฑ0.64 pp193.821.451ร—
math78.07 %ยฑ0.36 pp204.231.529ร—
general76.61 %ยฑ0.48 pp198.671.487ร—

Vanilla (non-spec) decode baseline: 133.61 tok/s. Hardware: A100-80GB. Context: 4K. npredict: 64. Greedy (temp=0, topk=1).

Per-seed: seed 42 โ†’ 75.97%/1.472ร— ยท seed 1337 โ†’ 76.14%/1.502ร— ยท seed 2024 โ†’ 75.85%/1.493ร—.

Draft-window sensitivity

kacceptancetok/sspeedup
373.0 %173.81.30ร—
4 (shipped)76.0 %199.01.49ร—
647.3 %153.01.14ร—
835.7 %109.80.82ร—

k=4 is the measured optimum. Higher k collapses per-position acceptance because deeper drafts compound on the head's own (potentially wrong) previous predictions. Lower k underuses the draft window.

Caveats

  • โ€”Invocation-sensitive. Sending raw prompts to /completion (no chat template) drops acceptance to ~63% and speedup to 1.30ร—. Use /v1/chat/completions or apply the Qwen chat template manually.
  • โ€”Datacenter artifact โ€” A100-80GB only. The 1.49ร— speedup is measured on A100-80GB at 4K context. On consumer hardware (Apple Silicon / M-series, single consumer GPUs) the A3B MoE is compute-bound, so speculative verification yields no measured net speedup โ€” MTP on those targets is a compatibility smoke, not a speed win. For local / Apple Silicon use, run the [Hi-Fi GGUF](https://huggingface.co/fraQtl/Qwen3.6-35B-A3B-Hi-Fi-GGUF) instead (same calibration, no MTP head, no special runtime). Longer contexts may also shift the speedup.
  • โ€”Requires `llama-server`. llama-cpp-python (as of 2026-05-29) does not expose the MTP draft path. Bare llama-cli does not run server-side speculative decoding.
  • โ€”Runtime-verified, not calibrated. The MTP block uses the main-model imatrix (which has no activation statistics for blk.40). Whether a calibrated draft head improves acceptance is open research.

Provenance

  • โ€”Base model: unsloth/Qwen3-Next-80B-A3B-Instruct-GGUF BF16 revision 5c2410d71524f4f72b023ce8daf7a80528226d5f (MTP-inclusive)
  • โ€”Imatrix: imatrix_codemath_v1_256k.dat (sha 5872a78f610050d2fccdce0c13ae450a472647c9fb297fe0a7ccaf2dfa945460) โ€” calibrated on the code+math corpus, 256K tokens
  • โ€”llama.cpp: main commit 2f6c815dc450106ef877ae32f4472bfd5cf83e47
  • โ€”Artifact sha256: 457114c45cd1b918ce71cfe01dcc7f4f70a0853092c911d9c6760ef16e25443c

All measurements + sensitivity probes are reproducible from the receipts under receipts/.

Related

License

Inherits Qwen 3.6 license from the upstream base model.

More from fraQtl

The serving lane โ€” KV-cache compression sidecars for vLLM โ€” holds nine concurrent โ‰ˆ128K-context users on a single A100 (134.1 tok/s aggregate, 9/9 per-user retrieval checks, receipt 2026-08-14): fraQtl/qwen3-4b-instruct-2507-kv-sidecars. Org page: huggingface.co/fraQtl.