Repository navigation
[DO NOT MERGE] [Klaud Cold] experimental: profile MiniMax-M3 MI355X conc 4/8 — vllm#45639 (AITER AR + Gemma-RMS fusion) - #1771
Conversation
… applied Validate vllm-project/vllm#45639 ("[ROCm][M3] Enable AITER AR + Gemma-RMS fusion for MiniMax-M3") on real MI355X hardware before an image rebuild. - benchmarks/single_node/fixed_seq_len/patches/vllm-45639-aiter-ar-gemma-rms.diff: vendored copy of the PR diff (4 files, +100/-17, base m3_release). - benchmarks/single_node/fixed_seq_len/minimaxm3arf_fp8_mi355x.sh: applies that diff in-place to the shipped image's vllm with `patch -p1` (installs patch via apt if missing). Idempotent — proceeds if already applied (reverse-applies cleanly), applies if it applies cleanly, and HARD-FAILS (exit 1) if it neither applies nor is already applied (image drifted). Then serves with the fusion enabled: VLLM_ROCM_USE_AITER=1 + --compilation-config custom_ops=["-minimax_gemma_rms_norm"], pass_config.fuse_allreduce_rms=true. - amd-master.yaml minimaxm3arf-fp8-mi355x-vllm: distinct model-prefix (minimaxm3arf) routes to the new recipe; smoke test at conc 4 and 8, TP8. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…39 patch Profiling counterpart of the #45639 sweep PR: capture Perfetto torch traces for MiniMax-M3 MXFP8 on MI355X (TP8, conc 4 and 8) with vllm-project/vllm#45639 (AITER fused all-reduce + Gemma-RMSNorm) applied in-place. - Reuses the label-triggered profile.yml (add the 'profile-enabled' label; it reads .github/profile-target.env and emits one trace per (conc, tp)). - profile-target.env -> minimaxm3arf-fp8-mi355x-vllm, conc 4 8 (the #45639 recipe). - minimaxm3arf_fp8_mi355x.sh: adds the --profiler-config PROFILE gate so the recipe emits a torch trace under PROFILE=1, on top of applying the #45639 diff in-place (idempotent + hard-fail) and the AITER fusion serve flags. Built on the #45639 recipe/config/patch (#1770); both are DO NOT MERGE. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Thanks for the contribution! For vLLM & SGLang, please ensure that your recipes is similar to the official vLLM recipes and/or the SGLang cookbook If it is not, please create a PR first before we can merge your single node PR into the master branch. Let's ensure that the documentation is first class such that the entire ML community can benefit from your hard work! Thank you PR authors are responsible for ensuring that after merging, all GitHub Action jobs fully pass. A lot of the time, failures are just flakes and simply re-running the failed jobs will fix it. If re-running failed jobs is attempted, PR authors are responsible for ensuring it passes. See GitHub's docs on re-running failed jobs: https://docs.github.com/en/actions/how-tos/manage-workflow-runs/re-run-workflows-and-jobs#re-running-failed-jobs-in-a-workflow As a rule of thumb, generally, PR authors should request a review & get a PR approval from the respective companies' CODEOWNERS before requesting a review from core maintainers. If additional help is needed, PR authors can reach out to core maintainers over Slack. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 85aaced. Configure here.
| git rebase origin/master | ||
| if [ "$attempt" = 8 ]; then echo "push failed after ${attempt} attempts" >&2; exit 1; fi | ||
| sleep $(( (RANDOM % 6) + 2 )) | ||
| done |
There was a problem hiding this comment.
PR trace path uses wrong SHA
Medium Severity
Label-triggered runs check out pull_request.head.sha, but trace storage and relay URLs use GITHUB_SHA, which on pull_request events is the temporary merge commit, not the profiled branch HEAD. Artifacts and links are keyed to a different SHA than the code that was actually run.
Reviewed by Cursor Bugbot for commit 85aaced. Configure here.


What
Profiling counterpart of #1770: capture Perfetto torch traces for MiniMax-M3 MXFP8 on MI355X (TP8, conc 4 and 8) with vllm-project/vllm#45639 (AITER fused all-reduce + Gemma-RMSNorm) applied in-place.
How
profile.yml: add theprofile-enabledlabel and the workflow reads.github/profile-target.env, runs one profile job per(conc, tp), and emits a Perfetto trace (artifact + relay link) per job.profile-target.env→CONFIG_KEY=minimaxm3arf-fp8-mi355x-vllm,CONC=4 8(the #45639 recipe at TP8 → 2 jobs).minimaxm3arf_fp8_mi355x.sh(from [DO NOT MERGE] [Klaud Cold] experimental: MiniMax-M3 MI355X conc 4/8 — apply vllm#45639 (AITER AR + Gemma-RMS fusion) #1770) gains the--profiler-configPROFILE=1gate so it emits a torch trace, on top of:VLLM_ROCM_USE_AITER=1,--compilation-configcustom_ops-minimax_gemma_rms_norm+pass_config.fuse_allreduce_rms).Built on the #45639 recipe/config/patch from #1770 — both are DO NOT MERGE.
Validation
bash -n✓;profile.ymlparses ✓;test-config+(conc,tp)filter → 2 jobs (TP8, conc 4 + 8, mi355x,minimaxm3arf_1k1k) ✓.To run: add the
profile-enabledlabel.🤖 Generated with Claude Code
Note
Low Risk
Experimental, do-not-merge CI and benchmark plumbing only; no production serving path changes, though runtime vLLM patching could skew traces if the image drifts from the diff base.
Overview
Adds label-triggered profiling: putting
profile-enabledon a PR runsprofile.ymlagainst.github/profile-target.env(currentlyminimaxm3arf-fp8-mi355x-vllm, TP8, conc 4 and 8), checks out the PR head SHA, and fans out one matrix job per(conc, tp)instead of a single job.The workflow also sets
SCENARIO_SUBDIR=fixed_seq_len/, routes MoE debug from job outputs, and retries trace-storage pushes with rebase when parallel jobs race on the same repo.For the experiment it adds an experimental
minimaxm3arfbenchmark config, aminimaxm3arf_fp8_mi355x.shrecipe that applies vllm#45639 in-place (vendored diff, hard-fail on drift), serves with AITER AR+RMS fusion flags, and whenPROFILE=1passes--profiler-configso this image actually emits torch traces.perf-changelog.yamldocuments the new config key.Reviewed by Cursor Bugbot for commit 85aaced. Bugbot is set up for automated code reviews on this repo. Configure here.