Repository navigation
[GEMM][Qwen3.8] Tune TP2 MTP router with Opus and hipBLASLt - #13
Merged
Merged
Conversation
apinge
marked this pull request as draft
November 26, 2026 02:08
apinge
marked this pull request as ready for review
November 26, 2026 03:29
Collaborator
|
PR #13 test update - Qwen3.8 Flash TP2, 12K input, concurrency 1 on PTL MI308X This PR focus on TP2 MTP with MOE Router, ResultsThe reference columns use the Each change compares the local run with its corresponding reference mode. Latency metrics are in milliseconds. Accuracy changes are in percentage points.
Single FP8 hipblaslt gemm with concurrency 32, target verify M=32 * 4 (Qlen) = 128. Single targets verify path use 36 layers, each layer use run 1 gemm for MOE gate, average latency is 7.776us: It is consistent with tuning table:
|
sammysun0711
approved these changes
Dec 1, 2026
5 tasks
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.

With TP2 EAGLE/MTP
steps=3, topk=1, draft_tokens=4, target verify executes four token rows per graph request slot. Concurrency up to 32 reaches router M72–128, where the existing BF16 router configs stop at M64 and dispatch falls back to Torch.Add measured configs for the BF16 router projection (
N=512, K=2560, gfx942 / 80 CU): Opus 10305 at M72/M80 and hipBLASLt solution 90312 at M88/M96/M104/M112/M120/M128. Preserve the existing Opus choices through M64.Results
Paired HIP graph measurements on physical GPU2/GPU3, using the 48 actual checkpoint router weights and generated BF16 activations. Each GPU ran three BCCB/CBBC/BCCB rounds, six samples per backend, 100 replays per sample, and 48 GEMMs per graph. Values are the mean of the two GPU medians, in microseconds per complete
tgemm.mmcall.All accepted changes improve in every round on both GPUs. The other 12 verify buckets retain their baseline Opus dispatch. The five WKC variants and the hipBLASLt candidate were evaluated across all 20 verify shapes; all 240 candidate/GPU/shape numerical checks passed against FP32 reference with
rtol=0.02, atol=0.02and finite outputs.Coverage and validation
python3 -m unittest op_tests.tuning_tests.test_config_shape_collision -v: 14 tests passed.Measured on MI308X gfx942 / 80 CU, PyTorch
2.12.0+rocm7.14.0.git6bbd260, HIP7.14.60850,libhipblaslt.so.1.4. Solution 90312 is tied to this tested library; revalidate IDs when changing hipBLASLt. The upstream checkout was used as a solution-search tool, while final comparisons and configs use this fork.These are router operator measurements. Full serving TPOT has not been measured, and the 48-router graph omits the attention, expert and communication work between layers. BF16 outputs are tolerance-equivalent rather than guaranteed bit-identical.
Reproduce
The benchmark now requires explicit
--baseline-csvand--candidate-csvpaths. From the repository root, extract the baseline config from the tested base commit and combine it with the new router table: