Repository navigation
Conversation
Signed-off-by: Barry Kang <[email protected]>
Signed-off-by: peihengh <[email protected]>
Signed-off-by: peihengh <[email protected]>
peihu-nv
requested review from
BowenFu,
arysef,
dpitman-nvda,
leslie-fang25,
moraxu,
niukuo,
pcastonguay,
schetlur-nv,
yingguo-trt and
zhaoyuanh-nvidia
and removed request for
a team
August 18, 2026 15:59
Collaborator
Author
|
/bot run |
Collaborator
|
PR_Github #67107 [ run ] triggered by Bot. Commit: |
Collaborator
|
PR_Github #67107 [ run ] completed with state |
yingguo-trt
reviewed
Aug 19, 2026
| - unittest/_torch/modules/fused_moe/test_deepgemm_fused_gather_finalize.py | ||
| - unittest/_torch/modules/fused_moe/test_deepgemm_fused_expand_quant.py | ||
| # ------------- MoE: test_moe_backend (by backend) --------------- | ||
| - unittest/_torch/modules/moe/test_megamoe_streaming_load.py |
Collaborator
There was a problem hiding this comment.
This registers the new file, but the six tests added to test_moe_backend.py won't be collected. That file is only ever listed by individual nodeid — l0_b200 lines 117 and 348-354, l0_b300 lines 41 and 80-83, l0_h100 line 438 — and none of them match the new functions:
- test_megamoe_cutedsl_accepts_uniform_minimax_m3_swiglu_bias
- test_megamoe_cutedsl_rejects_nonuniform_swiglu_bias
- test_megamoe_cutedsl_standard_swiglu_keeps_original_activation_path
- test_megamoe_cutedsl_tuning_mode_forces_top_maxt_bucket
- test_megamoe_cutedsl_tactic_autotune_defaults_off
- test_enumerate_megamoe_candidate_tactics_curated_space
(test_minimax_m3.py is fine — l0_b200_m3.yml:21 lists it as a whole file, so the new composition test is picked up.)
Signed-off-by: peihengh <[email protected]>
brb-nv
pushed a commit
to brb-nv/TensorRT-LLM
that referenced
this pull request
Aug 25, 2026
Signed-off-by: Barry Kang <[email protected]> Signed-off-by: peihengh <[email protected]> Co-authored-by: Barry Kang <[email protected]>
1 task done
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.
@coderabbitai summary
Description
Add MegaMoE CuTeDSL support for MiniMax-M3 on the
feat/m3_with_msabranch.This PR:
feature branch does not contain it;
swiglu_alpha,swiglu_beta, andswiglu_limitpropagation through thebackend, custom-op ABI, compile/cache identity, and CuTeDSL epilogue;
computing
routed_global + AllReduce(shared_local), avoiding a secondreduction of the already-global routed contribution; and
fused-communication backends.
The default MiniMax-M3 MoE backend is unchanged. MegaMoE remains an explicit
backend selection.
Test Coverage
rejection of non-uniform parameters, preservation of standard SwiGLU, and
external- versus fused-communication composition.
CUDA graph execution at M32 and M64 on four Blackwell GPUs.
tactic autotuning disabled; device-step P50 improved by 8.2-11.9% across
DEP8, DEP16, and DEP32.
Python files pass syntax compilation.
PR Checklist
Please review the following before submitting your PR:
PR description clearly explains what and why. If using CodeRabbit's summary, please make sure it makes sense.
PR Follows TRT-LLM CODING GUIDELINES to the best of your knowledge.
Test cases are provided for new code paths (see test instructions)
If PR introduces API changes, an appropriate PR label is added - either
api-compatibleorapi-breaking. Forapi-breaking, includeBREAKINGin the PR title.Any new dependencies have been scanned for license and vulnerabilities
CODEOWNERS updated if ownership changes
Documentation updated as needed
Update tava architecture diagram if there is a significant design change in PR.
The reviewers assigned automatically/manually are appropriate for the PR.
Please check this after reviewing the above items as appropriate for this PR.
GitHub Bot Help
To see a list of available CI bot commands, please comment
/bot help.