-
Notifications
You must be signed in to change notification settings - Fork 293
[AMD] fix: add --exclusive to MI355X multi-node sbatch for accurate benchmarks #932
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 The first changelog entry has two documentation inaccuracies:
pr-link: TBDshould behttps://github.com/SemiAnalysisAI/InferenceX/pull/932, and the entry description ("multi-node sbatch") incorrectly lists 7 single-node configs (dsr1-fp4-mi355x-atom,dsr1-fp4-mi355x-atom-mtp,dsr1-fp4-mi355x-sglang,dsr1-fp8-mi355x-sglang,gptoss-fp4-mi355x-atom,gptoss-fp4-mi355x-vllm,minimaxm2.5-fp8-mi355x-vllm) that route throughsalloc, notsbatch. Theconfig-keyslist should contain only the 4-disaggvariants affected by thesubmit.shchange; the single-node configs are already covered by the PR #929 entry at the bottom of the file.Extended reasoning...
Issue 1 —
pr-link: TBDplaceholderThe first changelog entry sets
pr-link: TBD(line 16) instead of the actual PR URL. The project convention visible throughout the file is either a full URL (https://github.com/SemiAnalysisAI/InferenceX/pull/NNN) or the in-progress placeholderhttps://github.com/SemiAnalysisAI/InferenceX/pull/XXX. The bare stringTBDis the only such occurrence in the entire file. Since this PR is #932, the correct value ishttps://github.com/SemiAnalysisAI/InferenceX/pull/932.One verifier noted that the Pydantic model defines
pr_linkas a plainstrwith no URL validation, soTBDdoes pass schema validation. This is accurate — the bug is not tooling-breaking. However, it is a clear inconsistency with every other entry and a straightforward oversight to fix.Issue 2 — Single-node configs listed under multi-node sbatch description
The only code change in
submit.shadds--exclusiveto thesbatchcall in the multi-node disaggregated path. Yet the changelog entry lists 11 config keys, 7 of which are single-node configs that never invokesubmit.sh:dsr1-fp4-mi355x-atom,dsr1-fp4-mi355x-atom-mtp— usesallocinlaunch_mi355x-amds.sh(theelsebranch, confirmed in the diff)dsr1-fp4-mi355x-sglang,dsr1-fp8-mi355x-sglang— likewisesallocin theelsebranchgptoss-fp4-mi355x-atom,gptoss-fp4-mi355x-vllm,minimaxm2.5-fp8-mi355x-vllm— also single-nodesallocpathOnly the 4
-disaggconfigs (dsr1-fp4-mi355x-sglang-disagg,dsr1-fp4-mi355x-sglang-disagg-mtp,dsr1-fp8-mi355x-sglang-disagg,dsr1-fp8-mi355x-sglang-disagg-mtp) actually route throughIS_MULTINODE=trueinto thesbatchpath insubmit.sh.Step-by-step proof:
launch_mi355x-amds.sh, the top-levelif [[ "$IS_MULTINODE" == "true" ]]branch callsbash "benchmarks/multi_node/${SCRIPT_NAME}", which invokessubmit.shcontaining the new--exclusiveflag.elsebranch which callssalloc --partition=$PARTITION --gres=gpu:$TP --exclusive ...— thissalloc --exclusiveflag was already added by PR [AMD] Fix slurm command for AMD devices #929.perf-changelog.yamluses"*mi355x*"and"*mi325x*"wildcards, which already match all single-node MI355X configs including every one incorrectly listed in the first entry.Impact and fix:
Both issues are documentation-only — the actual
--exclusiveflag insubmit.shis correctly placed and functional. The fix is: (1) updatepr-link: TBDtohttps://github.com/SemiAnalysisAI/InferenceX/pull/932, and (2) remove the 7 single-node config keys from the first entry, leaving only the 4-disaggconfigs.