perf: tune Nemotron MTP MoE decode on S5000 - #115
Draft
yeahdongcn wants to merge 13 commits into
Draft
yeahdongcn wants to merge 13 commits into
yeahdongcn wants to merge 13 commits into
Conversation
Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com>
yeahdongcn
force-pushed
the
codex/nemotron35-moe-tpot-20260918
branch
from
September 18, 2026 13:04
a288538 to
364b0ec
Compare
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.
Status
This draft carries the shape map that produced the historical Nemotron MTP
result, plus a Triton capability guard. A clean vLLM-MUSA integration gate is
still required before merge.
Changes
The PR packages the S5000 Nemotron non-gated MoE autotune map for
E=128,N=1856,device_name=MTT_S5000with measured runtime and graph buckets:The serving routes are
M≈115/120 -> 113andM=512 -> 512; values abovethe measured range use the generic heuristic. The packaged JSON SHA256 is
a0b192a4625e71cf46c52cca3bf5f042d9988da927524d7c9e4d10a0bbabc983.The descriptor capability check now requires the actual Triton language API
triton.language.make_tensor_descriptor. Triton 3.2 can expose the toolsmodule without exposing that constructor; it must use the fallback path. Triton
3.6 continues to enable the descriptor path when the API is present.
Validation
668bd68,f4e2ffb.10 passedon the MUSA image.508 passed, 19 skipped; the only reportedfailure was the project-version check from a source-only staging harness that
did not include project metadata.
produced exact-output results:
Those numbers came from the eight-key JSON injected into the installed runtime;
they are historical evidence, not yet a clean
torchada==0.1.88claim.A diagnostic clean-source run confirmed that the candidate JSON was loaded and
that runtime M=112/126 selected key 113. Its warm-cache result was about
9.46 ms/token on a different S5000 host. A fresh post1/Triton-3.2 compile path
also exposed the descriptor compatibility issue now fixed by
f4e2ffb. Neitherdiagnostic number is accepted as the final performance result.
The PR should remain Draft until the packaged wheel is run with current
vLLM-MUSA source on the same hardware under a clean, interleaved
baseline-vs-candidate gate, with output hashes, selected MoE buckets,
acceptance, and TPOT recorded.