Qwen3.6 MTP Turbo KV Runtime Analysis

Curated Hugging Face analysis draft. This report keeps only completed, comparable 64k-context MTP text runs and explicitly excludes interrupted or non-comparable rows.

Key result: QuinsZouls llama-next is the strongest completed runtime. Atomic improves over clean q8/q8 on Q4_K_M, but trails Quins on the completed q8/turbo3 comparison.

Workload Shape and Scope

The headline rows are short-form local inference benchmarks, not full software engineering agent runs. Each completed configuration used 21 prompt cases with 10 repeats, for 210 timed request instances per configuration. Across the 12 completed configurations, the curated data contains 2,520 completed timed requests, 70,440 measured prompt tokens, and 1,005,361 measured generated tokens.

modepurposesample shapeheadline claims?
Repeated short-task benchmarkCompare runtime throughput under controlled coding/technical prompts21 prompt cases x 10 repeats = 210 timed requests per completed config; about 28 measured prompt tokens in and 399 generated tokens out per requestYes
Exploratory cumulative long-output curveInspect how throughput changes as a single generation gets longer8 configs with throughput sampled at 1k-token output milestones from 1k to 8k; sample sizes vary from n=1 to n=3 at each milestoneNo
measurevalue
Completed configurations12
Prompt cases per completed config21
Repeats per prompt10
Timed requests per completed config210
Total completed timed requests2,520
Average measured prompt tokens per request28.0
Average measured generated tokens per request399.0
Per-config generated-token average range364.6 to 429.2
Hardware instances1 local Windows CUDA workstation

The prompt suite is application-specific to coding assistants and technical agents: Python, C++, TypeScript, Rust, SQL, CUDA debugging, FastAPI/Postgres review, security review, JSON transformation, API design, architecture tradeoffs, math, translation, factual question answering, summarization, and short creative generation. The strongest relevance is for compact technical prompts that produce a few hundred output tokens. It should not be generalized to full repository ingestion, multi-turn tool use, cross-hardware performance, or true 10k-token output sessions without additional testing.

See analysis/workload-scope-and-relevance.md for the full workload scope note.

Charts

Mean wall tokens per second by completed config Mean decode tokens per second by completed config Paired throughput delta confidence intervals MTP acceptance rate versus wall throughput

Exploratory Long-Output Decode Curves

These charts are a separate measurement mode from the 399-token/request headline benchmark. They track cumulative and per-1k-token interval throughput inside longer generations. They are included for qualitative inspection only and excluded from primary claims because sample sizes are small, prompt tokenization overshot the intended 10k input target, and some streams stopped early.

Exploratory cumulative TPS by output-token mark Exploratory interval TPS by 1k output segment

Code-Level Runtime Analysis

The most likely explanation for the QuinsZouls speedup is not Turbo KV alone. Quins was already much faster in the completed q8_0/q8_0 comparison, before changing the requested KV cache type. Code inspection suggests the difference comes from a more specialized and aggressive MTP path: a dedicated qwen35moe_mtp architecture override, a direct target-context MTP hook, and greedy top-1 MTP draft proposals that fill more of the configured two-token draft budget.

modelruntimewall tok/sdraft / predictedaccepted / predicteddraft accept rate
Q4_K_Mclean q8/q845.550.5330.5250.986
Q4_K_MQuins q8/q862.350.8160.5890.721
IQ3_XXSclean q8/q842.200.5340.5270.986
IQ3_XXSQuins q8/q853.310.8180.5880.718

The detailed appendix is included at analysis/mtp-runtime-code-comparison.md and links directly to fixed GitHub source commits: QuinsZouls llama-next, clean MTP llama.cpp, and Atomic TurboQuant. The public-facing conclusion should be careful: this identifies a plausible mechanism, not a fully isolated single-cause proof.

Quins Additions vs Original TurboQuant

The original TheTom TurboQuant fork should be treated as a TurboQuant key-value cache runtime, not as a Qwen MTP runtime. The local TheTom binary exposed Turbo cache formats, but its --spec-type help did not expose mtp, draft-mtp, or nextn. Quins adds the missing Qwen multi-token prediction path: a qwen35moe_mtp/qwen35_mtp architecture override, direct llama_set_mtp registration, hidden-state mirroring through handle_mtp_for_ubatch, greedy top-1 MTP draft proposals, and MTP key-value cache synchronization after rejected or partially accepted drafts.

Quins also adds a grouped query attention-aware cache policy. Grouped query attention means many query heads share fewer key/value heads; when that sharing ratio is high, key-cache compression error can affect several attention heads at once. To reduce that quality risk, Quins can auto-upgrade symmetric Turbo key/value requests such as turbo3/turbo3 into asymmetric q8_0/turbo3: safer eight-bit keys with compressed Turbo values. This is why some requested symmetric Turbo rows are reported with actual q8_0/turbo* key/value types.

Paired Comparisons

baselineconfign_pairsdelta_pct_meandelta_pct_semdelta_pct_ci_lowdelta_pct_ci_highactionable
q4_k_m_mtp_clean_q8_q8_ctx64k_moe30q4_k_m_mtp_quins_q8_q8_ctx64k_moe3021037.24950.737335.804438.6945True
q4_k_m_mtp_clean_q8_q8_ctx64k_moe30q4_k_m_mtp_atomic_q8_q8_ctx64k_moe3021016.41942.355811.802121.0367True
q4_k_m_mtp_quins_q8_turbo3_ctx64k_moe30q4_k_m_mtp_atomic_q8_turbo3_ctx64k_moe30210-15.90661.6639-19.1680-12.6453False
iq3_xxs_mtp_clean_q8_q8_ctx64k_moe30iq3_xxs_mtp_quins_q8_q8_ctx64k_moe3021026.73000.682825.391728.0683True

Completed Configuration Summary

configmodelruntimerequested_krequested_vactual_kactual_vrowswall_tps_meanwall_tps_semdecode_tps_meandraft_accept_ratepred_tokens
q4_k_m_mtp_clean_q8_q8_ctx64k_moe30q4_k_m_mtpcleanq8_0q8_0q8_0q8_021045.55380.464249.69990.986382229
q4_k_m_mtp_quins_q8_q8_ctx64k_moe30q4_k_m_mtpquinsq8_0q8_0q8_0q8_021062.34510.608469.38460.721482531
q4_k_m_mtp_quins_q8_turbo3_ctx64k_moe30q4_k_m_mtpquinsq8_0turbo3q8_0turbo321061.88970.601068.82330.714381332
q4_k_m_mtp_quins_q8_turbo4_ctx64k_moe30q4_k_m_mtpquinsq8_0turbo4q8_0turbo421062.24130.597168.76470.716883962
q4_k_m_mtp_quins_turbo3_turbo3_ctx64k_moe30q4_k_m_mtpquinsturbo3turbo3q8_0turbo321061.77550.602968.72800.714381332
iq3_xxs_mtp_clean_q8_q8_ctx64k_moe30iq3_xxs_mtpcleanq8_0q8_0q8_0q8_021042.20380.416145.13860.986386189
iq3_xxs_mtp_quins_q8_q8_ctx64k_moe30iq3_xxs_mtpquinsq8_0q8_0q8_0q8_021053.31050.503758.01370.718184720
iq3_xxs_mtp_quins_q8_turbo3_ctx64k_moe30iq3_xxs_mtpquinsq8_0turbo3q8_0turbo321049.61550.457253.62310.715890122
iq3_xxs_mtp_quins_q8_turbo4_ctx64k_moe30iq3_xxs_mtpquinsq8_0turbo4q8_0turbo421048.28610.445552.50510.719986618
iq3_xxs_mtp_quins_turbo3_turbo3_ctx64k_moe30iq3_xxs_mtpquinsturbo3turbo3q8_0turbo321051.74620.465855.96580.715890122
q4_k_m_mtp_atomic_q8_q8_ctx64k_moe30q4_k_m_mtpatomicq8_0q8_0q8_0q8_021052.54711.053860.00340.773779631
q4_k_m_mtp_atomic_q8_turbo3_ctx64k_moe30q4_k_m_mtpatomicq8_0turbo3q8_0turbo321052.07551.093960.94110.769576573

Host Memory Bandwidth Caveat

This workstation was running system memory at 5,200 MT/s during the benchmark. Windows reports two 16 GiB Kingston DIMMs rated at 5,600 MT/s but configured at 5,200 MT/s. Since all headline runs use MoE CPU offload at --n-cpu-moe 30, faster RAM could plausibly improve absolute throughput by reducing host-memory and CPU-to-GPU staging pressure. This report treats that as a hardware caveat, not a measured causal result, because RAM speed was not swept as an independent variable.

Excluded or Unsupported

itemreason
Atomic q8/turbo4 and later fork rowsInterrupted by user request to wrap up; partial rows were excluded from publication tables.
Long decode curve claimsSynthetic 10k input prompt tokenized to about 22.9k tokens in one runtime; long rows are not comparable to the intended 10k-in condition.
Clean runtime Turbo KV rowsNot executable: clean MTP llama.cpp help does not expose turbo3/turbo4 cache types.
TheTom and local TQ3 rowsCapability probe found Turbo KV but no Qwen MTP/NextN spec mode, so they are excluded from MTP runtime claims.
configmodelruntimerequested_krequested_vskip_reason
q4_k_m_mtp_clean_q8_turbo3_ctx64k_moe30q4_k_m_mtpcleanq8_0turbo3unsupported by runtime help: V cache turbo3
q4_k_m_mtp_clean_q8_turbo4_ctx64k_moe30q4_k_m_mtpcleanq8_0turbo4unsupported by runtime help: V cache turbo4
q4_k_m_mtp_clean_turbo3_turbo3_ctx64k_moe30q4_k_m_mtpcleanturbo3turbo3unsupported by runtime help: K cache turbo3, V cache turbo3
iq3_xxs_mtp_clean_q8_turbo3_ctx64k_moe30iq3_xxs_mtpcleanq8_0turbo3unsupported by runtime help: V cache turbo3
iq3_xxs_mtp_clean_q8_turbo4_ctx64k_moe30iq3_xxs_mtpcleanq8_0turbo4unsupported by runtime help: V cache turbo4
iq3_xxs_mtp_clean_turbo3_turbo3_ctx64k_moe30iq3_xxs_mtpcleanturbo3turbo3unsupported by runtime help: K cache turbo3, V cache turbo3