Repository navigation
[CI/Build] Limit ROCm wheel builds to two parallel jobs - #4190
Merged
Merged
Conversation
Aionw
marked this pull request as ready for review
September 17, 2026 10:03
Aionw
requested review from
Ann-1024,
luketong777,
stmatengss and
ykwd
as code owners
September 17, 2026 10:03
Collaborator
|
Could you please confirm whether the intended target was .github/workflows/ci_rocm.yml rather than .github/workflows/release-rocm.yaml? The exit-137 failure mentioned in the description came from the build-wheel-rocm CI job, which currently uses ci_rocm.yml and still runs cmake --build . -j"$(nproc)". The current change only affects the release workflow, so it would not change the reported CI path. Would it make sense to apply the limit there as well, or clarify if the release workflow is the intended scope? |
ykwd
approved these changes
Sep 18, 2026
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.
Description
Set
MAX_JOBS=2for the ROCm wheel build step and pass it explicitly tocmake --build, replacing-j$(nproc). The environment variable alone does not limit a regular CMake/Ninja build. This bounds total native build parallelism to two jobs while preserving the existing Ninja pools and retry behavior.Motivated by the ROCm Python 3.10 CI failure, which ended with exit 137 and a runner shutdown signal. OOM is not confirmed; the equivalent Python 3.12 job succeeded with the same existing limits. This is a conservative resource cap, not a claim to fix a proven root cause.
Overlap: #3970 migrates release wheel packaging, including this workflow; this PR only caps the current native build step and does not migrate packaging.
Module
mooncake-transfer-engine)mooncake-store)mooncake-conductor)mooncake-reshard)mooncake-ep)mooncake-pg)mooncake-integration)mooncake-p2p-store)mooncake-wheel)mooncake-common)mooncake-rl)Type of Change
How Has This Been Tested?
Scoped hygiene/YAML checks passed. The ROCm build itself was not run locally; CI validation remains pending.
Test commands:
Test results:
Checklist
./scripts/code_format.shprek)AI Assistance Disclosure
OpenAI coding assistant in pi investigated the CI logs, prepared this change, and ran scoped checks. Opened as a draft pending human line-by-line review and end-to-end ownership.