Repository navigation
docs(research): tensor-parallelism feasibility (NO-GO tok/s, GO fit/capacity) - #933
Merged
Merged
Conversation
…for fit/capacity TP scales aggregate HBM bandwidth ~N x but only helps if decode is bandwidth-bound. Muse-Glimmer-30B decode is latency-bound (~15% of roofline; byte-fold -75% bytes -> +2.8%), so TP is net-negative for tok/s (-3% to -7%, adds 104 all-reduces/token) until single-GPU kernel efficiency is made bandwidth-bound first. TP remains a GO for fit/capacity (weights+KV split across GPUs). Design doc + decision drop from Roper. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #933 +/- ##
==========================================
+ Coverage 77.74% 77.81% +0.07%
==========================================
Files 352 354 +2
Lines 145872 148153 +2281
Branches 145872 148153 +2281
==========================================
+ Hits 113407 115290 +1883
- Misses 27983 28370 +387
- Partials 4482 4493 +11
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
🔴 Benchmark Regression DetectedComparison of criterion micro-benchmarks: PR head vs merge-base, measured on the same runner in the same job (base first → PR second).
Visual flags: Host infoWhat this cannot catch
|
justinchuby
added a commit
that referenced
this pull request
Aug 14, 2026
…re-stable verify (B) first (#938) Design-only feasibility scoping (mirrors the TP feasibility doc #933) of the two remaining multi-week decode levers, after the three cheap ones were closed this week (#928 kernel +2.7% capped, #933 TP NO-GO for speed, #932/#935/spec-14b eager-M=K speculative KILL). **Recommendation: build Lever B (capture-stable padded M=K verify graph) first**, gated on a cheap Phase-0 capture-stability probe. B attacks the actual dispatch binding and — because a captured M=K replay reads weights once (weight-DRAM is per-token, not per-M) — amortizes both dispatch and weight-read over K tokens (floor ~1.0x, ceiling ~2-3x), reuses existing frozen-bucket capture machinery, and unlocks prompt-lookup + EAGLE-3/MTP from one build. Lever A (Marlin int4 relayout) is the unconditional ~1.3-1.6x Amdahl-capped fallback. Docs + decision drop only; no code. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TP feasibility scoping (Roper, design-only). Verdict: 🟥 NO-GO for tok/s as the next lever — decode is latency-bound (~15% of HBM roofline; byte-fold −75% bytes → +2.8%), so TP shards the non-binding axis and adds 104 all-reduces/token (net −3% to −7%). Precondition to flip: single-GPU decode must be made bandwidth-bound (>~55% peak) first. 🟢 GO for fit/capacity (split weights+KV → bigger models/longer context that don't fit one H200). Includes full cost model, Megatron 1-D sharding scheme (kv_heads=2 → clean only at N=2), NCCL×graph-capture assessment, and a Phase-0 microbench design. Docs-only.
Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com