Repository navigation
[Qwen3.8-Flash-Next] Tune FP8 TP2/TP4 Triton MoE on B200 - #55890
Merged
Isotr0py merged 2 commits intoSep 8, 2026
Merged
Conversation
Add the E=512, N=160, block_shape=[32,32] configuration for 14 token counts. Tune against the default configuration and validate kernel outputs and full-model TP4 throughput on B200. Co-authored-by: OpenAI Codex <noreply@openai.com> Signed-off-by: Canlin <canlinguosdu@gmail.com>
Add the E=512, N=320, block_shape=[64,64] configuration for 14 token counts. Validate kernel outputs and serial full-model TP2 benchmarks against the default configuration. Co-authored-by: OpenAI Codex <noreply@openai.com> Signed-off-by: Canlin <canlinguosdu@gmail.com>
gcanlin
marked this pull request as ready for review
September 8, 2026 13:01
gcanlin
requested review from
mgoin,
pavanimajety and
zyongye
as code owners
September 8, 2026 13:01
gau-nernst
approved these changes
Sep 8, 2026
Contributor
|
/ci run |
|
✅ Triggered Buildkite CI #87693 for commit |
Isotr0py
approved these changes
Sep 8, 2026
ItsRoy69
pushed a commit
to ItsRoy69/vllm
that referenced
this pull request
Sep 10, 2026
…t#55890) Signed-off-by: Canlin <canlinguosdu@gmail.com> Co-authored-by: OpenAI Codex <noreply@openai.com> Signed-off-by: Jyotirmoy Roy <jyotirmoyroy649@gmail.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.
Purpose
Add missing B200 Triton MoE configurations for Qwen3.8-Flash-Next-FP8 at TP2 (local intermediate 320, FP8 blocks 64×64) and TP4 (160, 32×32), with E=512 and top-k=10. Tune 14 token counts from 1 to 8192 for each shape. These shapes differ from #43506 and are independent of the FlashInfer loader change in #55867. TP1 keeps native 128×128 blocks and defaults to TRTLLM on B200, so it is outside this Triton tuning change.
Test Plan
Deploy
Benchmark
Online reproduction, in a second terminal with matching workload variables; the tables below are from offline fixed-batch measurements.
Recorded offline commands using the local fixed-batch harness:
Test Result
TP4
4×B200, TP4, synthetic inputs, fixed output lengths, 3 warmups + 5 measured batches, median output throughput. Decode CUDA Graphs enabled; prefix caching, detokenization, and torch.compile disabled. Default measurements were recorded earlier on the same GPUs and runtime; tuned measurements load this exact JSON through
VLLM_TUNED_CONFIG_FOLDER.TP2
2×B200, same fixed-batch measurement method, with context 10240 for all workloads. Default and tuned runs were measured serially on the same GPUs; logs confirm the exact TP2 JSON was loaded.
Measured on source
1217ddc5b00awith native image build8a728663c1c3, Torch 2.13.0+cu130, FlashInfer 0.6.18, and Triton 3.7.1. The measured checkout contains #55867, whose explicit FlashInfer path is inactive for these Triton runs. The Triton kernel and config selection code are unchanged at this PR's base13cf9e05c1ed. Validation includes synthetic kernel comparisons and smoke prompts, not a model-quality benchmark.AI-assisted implementation and testing with OpenAI Codex.