Skip to content

docs: correct the compute-bound framing of the GB10 MTP regression to the small-M qmm kernel gap #738

Closed

Description

@inureyes

Context

docs/benchmark_results/speculative-pairing-gb10-2026-07-10.md (the "Why MTP loses here", "Contrast with Apple Silicon", and "Policy tuning" sections) and docs/benchmark_results/model_tests.md (the GB10 CUDA matrix note, around line 264) attribute the MTP regression measured in PR #733 (issue #638: baseline 14.5 tok/s, 0.77x at K=2, 0.52x at K=4/8 on GB10) to GB10 being "compute-bound".

The 2026-07-11 investigation showed the mechanism is the M*B < 8 per-row qmv dispatch fallback (src/lib/mlx-cpp/patches/mlx/backend/cuda/quantized/quantized.cpp:229-245, the #725 kernel gap): the MTP verify is a [1, K] sequence-axis forward, the sm90 CUTLASS path is Hopper-gated, so the verify re-reads the full weight matrix K times. This is not fundamental compute-boundness: GB10 has MORE compute headroom per byte than Apple M-series (~273 GB/s with ~100 TFLOPS bf16, vs M5 Max ~614 GB/s with far less compute), and SGLang / TRT-LLM on the same DGX Spark hardware demonstrate near-linear batched decode scaling (20.5 tok/s at B=1 to 368 tok/s at B=32, llama-3.1-8b) and up to 2x end-to-end EAGLE-3 speculative speedups (LMSYS: https://www.lmsys.org/blog/2025-10-13-nvidia-dgx-spark/; NVIDIA speculative-decoding playbook for DGX Spark: https://build.nvidia.com/spark/speculative-decoding).

Impact

The "compute-bound" framing points readers (and future policy work) at the wrong fix: it suggests the hardware cannot do better, when the gap is a dispatch/kernel limitation tracked in #725 with concrete follow-ups (#735, #736, #737). The docs should carry the mechanism that the follow-up work is built on.

What's needed

Acceptance Criteria

Technical Considerations

Activity

  1. added
    status:ready
    type:docs
    priority:medium
    area:inference
    area:docs
    on Jul 10, 2026
  2. added 2 commits that reference this issue on Jul 10, 2026
    e1428a7
    a17cbc0
  3. self-assigned this
    on Aug 31, 2026
  4. added
    status:done
    and removed
    status:ready
    on Sep 6, 2026
  5. added 2 commits that reference this issue on Oct 27, 2026
    f165309
    8fed586
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:docsarea:inferencepriority:mediumstatus:donetype:docs

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions