Repository navigation
[None][fix] Fix piecewise cudagraph for MinimaxM3 MSA - #17216
Conversation
419c2f8 to
eb1d478
Compare
|
/bot run --disable-fail-fast |
|
PR_Github #63545 [ run ] triggered by Bot. Commit: |
| # instead of tuning tactics that would go unused. | ||
| use_mxfp8_flashinfer_graph_default = ( | ||
| self.cuda_graph_runner.enabled | ||
| self.cuda_graph_runner.enabled and not self._torch_compile_enabled |
There was a problem hiding this comment.
Thanks for fixing the compile path! One small question about explicit TRTLLM_MXFP8_GEMM_BACKEND=auto: under torch compile, apply() currently executes native TRT-LLM, while warmup still tunes FlashInfer. Could we align the two?
If native is the intended compiled policy, the minimal change before the tuning checks could be:
if self._torch_compile_enabled and quant_method.backend == "auto":
quant_method.disable_flashinfer_auto()If we want compiled auto to retain FlashInfer instead, we could pin auto to flashinfer there so both warmup and execution use FlashInfer. It would also be helpful to cover the chosen behavior in test_flashinfer_mxfp8_stays_native_under_torch_compile.
|
PR_Github #63545 [ run ] completed with state |
Signed-off-by: Balaram Buddharaju <[email protected]>
5eb6783 to
b4ccc1d
Compare
|
/bot run --disable-fail-fast |
|
PR_Github #64125 [ run ] triggered by Bot. Commit: |
|
PR_Github #64125 [ run ] completed with state |
Signed-off-by: Balaram Buddharaju <[email protected]>
Description
Piecewise cudagraph seems to be broken for MinimaxM3 with MSA backend. This fixes that.
Test Coverage
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.