Skip to content

speculative: gfx1151 MTP ladder steps to 1 draft from n=2 (27B C4 +34%, C8 +28%) - #281

Merged
AzeezIsh merged 1 commit into
mainfrom
perf/hip-mtp-ladder
Oct 31, 2026
Merged

AzeezIsh merged 1 commit into
mainfrom
perf/hip-mtp-ladder

Conversation

@AzeezIsh

Copy link
Copy Markdown
Contributor

On atlas_hip, the default MTP K-vs-batch ladder is now 1:max, 8:1, 16:1, 32:1 (it was GB10's 1:max, 4:3, 8:3, 16:1, 32:1). ATLAS_MTP_K_LADDER / ATLAS_NO_MTP_K_LADDER still override; other targets are unchanged.

Why: on Strix Halo a 2+ draft verify at C≥4 is the slow arm. strix s153 (27B NVFP4, Gufo protocol, steady decode tok/s):

drafts C1 C4 C8
0 9.6 26.4 29.7
1 13.9 28.2 28.2
2 14.8 20.9 21.4
3 14.4 20.6 21.3

Measured (strix s154, NUM_DRAFTS=3, 2 interleaved rounds, this ladder vs the old default): C1 14.6/14.4 vs 15.3/14.4; C4 28.2/28.2 vs 21.5/20.6 (+34%); C8 28.1/28.1 vs 21.9/21.9 (+28%). Both measured on top of #278's MIN_N change. A DevLab concurrent-decode A/B (scripts/devlab/ab_decode_conc.sh, from #278) runs next.

Accuracy: this changes the draft count, not the verified tokens; greedy MTP verify keeps or rejects drafts against the target's own argmax. The C>1 numerics are the batched-decode class already gated in #278 (f122).

🤖 Generated with Claude Code

…7B C4/C8 decode +28..34%)

The default K-vs-batch ladder (1:max, 4:3, 8:3, 16:1, 32:1) keeps 3 drafts
through n=8. Those rungs were measured on GB10. On Strix Halo a verify of
2+ drafts at C>=4 is the slow arm. strix s153 (27B NVFP4, MIN_N 9), steady
decode at drafts 1 / 2 / 3:
- C1: 13.9 / 14.8 / 14.4 tok/s (depth still pays alone)
- C4: 28.2 / 20.9 / 20.6
- C8: 28.2 / 21.4 / 21.3

Under atlas_hip the default is now 1:max, 8:1, 16:1, 32:1. strix s154,
interleaved x2, NUM_DRAFTS=3, this vs the old default:
- C1: 14.6 / 14.4 vs 15.3 / 14.4
- C4: 28.2 / 28.2 vs 21.5 / 20.6 (+34%)
- C8: 28.1 / 28.1 vs 21.9 / 21.9 (+28%)

ATLAS_MTP_K_LADDER and ATLAS_NO_MTP_K_LADDER still override, and other
targets keep the GB10 ladder.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@AzeezIsh

Copy link
Copy Markdown
Contributor Author

Box A/B with the actual branch build (strix s157, 80855a9 vs main 7e62e27, NUM_DRAFTS=3, no ladder env, 2 interleaved rounds): C1 14.6/14.4 vs 14.6/14.2; C4 28.2/28.0 vs 21.1/21.1 (+33%); C8 23.9/24.0 vs 22.1/21.8 (+9%). C8 is lower than the env-ladder measurement (28.1, s154). An explicit ATLAS_MTP_K_LADDER also pins static rungs, so s158 tests ATLAS_MTP_STATIC_RUNG=1 on this build to see whether the default should pin too.

@AzeezIsh

Copy link
Copy Markdown
Contributor Author

s158: ATLAS_MTP_STATIC_RUNG=1 on this build changes nothing (C8 23.9/23.8 vs 24.2/24.2; C4 28.0/27.9 vs 28.6/28.1), so pinning is not the C8 gap to s154's env run. That is tracked separately. Merging on the measured box A/B (C4 +33%, C8 +9%, C1 unchanged), with the DevLab build (41195813268) and CI green.

@AzeezIsh
AzeezIsh merged commit 7e36c09 into main Oct 31, 2026
25 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant