You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Dockerfile: Add a ROCm 10.3 image for MI455X - #910
Description
Add a linux/amd64 SuperBench image for AMD Instinct MI455X (gfx1250). It uses AMD’s pinned ROCm 10.3.0a20261201 nightly—not a stable release—with matching PyTorch 2.15 wheels on Ubuntu 24.04 and Python 3.12. The image adapts the networking and benchmark coverage from #867 without changing older images or the CI image matrix.
Major Revision
Install DOCA-OFED 3.4.0 userspace and Open MPI 5.0.10rc2. Build MPI-enabled RCCL tests from the nightly SDK’s source revision and check that they link to its RCCL and the intended MPI installation.
Build Transformer Engine 2.15, AITER 0.1.24.post1, and Megatron Core 0.19.2 against the pinned PyTorch stack. Disable CK and AOTriton fused attention because these revisions do not provide those backends for gfx1250.
Minor Revision
Forward Megatron’s existing --extra option without losing quoted arguments. Add a regression test for argument forwarding and invalid quoting, and document the image build and offline BF16 training setup.
Built the image locally and verified that all four files in this PR match the copies in the tested image. python3 -m pip check and CXX=/opt/rocm/bin/hipcc make cppbuild both passed inside it.
On a single gfx1250 GPU, smoke tests passed for both GEMM clients, TransferBench, RCCL all-reduce, AITER JIT, and BF16 Megatron training. Multi-node RDMA was not tested.
Build the stable ROCm 10.2 PyTorch stack with DOCA 3.4, Open MPI 5, and release-matched benchmarks. Forward Megatron extra options for the bundled training stack.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Pin the ROCm nightly SDK and PyTorch wheels together, and keep native benchmark clients and RCCL tests matched to the SDK.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The Docker guide’s YAML value loses required shell quoting, causing argument --extra: expected one argument and preventing the documented offline run from starting.
Use the self-hosted ROCm runner and keep PR builds unpushed. Preserve literal shell quotes in the offline Megatron example so the executor forwards --extra as a single value.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
The BF16 example omits precision: [bfloat16], so standalone runs use the float32/float16 defaults and never benchmark BF16.
No open issues 🎉
1 previously missed issue
In code that hasn't changed since last review
BF16 example omits the required precision setting
docs/developer-guides/using-docker.mdx:84
Please set precision: [bfloat16] in this BF16 example. Without it, a standalone configuration uses ModelBenchmark's default [float32, float16] (model_base.py:90–93), so the documented parameters never launch a BF16 run.
The reason will be displayed to describe this comment to others. Learn more.
Now that ee2a7a19 adds rocm10.3.0 (NUM_MAKE_JOBS=2) to build-image.yml, placing COPY . . ahead of the TransformerEngine / aiter / Megatron-LM source build (lines 227–255) means every PR in the repository will invalidate layer cache here and recompile those frameworks on the shared self-hosted ROCm runners.
Could we move the TransformerEngine / aiter / Megatron-LM build (along with /tmp/rocm-constraints.txt and CPLUS_INCLUDE_PATH) above COPY . . so unrelated PRs can reuse the cached framework layers?
This branch has not been deployed
No deployments
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.
Description
Add a
linux/amd64SuperBench image for AMD Instinct MI455X (gfx1250). It uses AMD’s pinned ROCm10.3.0a20261201nightly—not a stable release—with matching PyTorch 2.15 wheels on Ubuntu 24.04 and Python 3.12. The image adapts the networking and benchmark coverage from #867 without changing older images or the CI image matrix.Major Revision
hipBusBandwidthfor the existingmem-bwbenchmark; the alternative backend is tracked in Benchmarks - Add ROCm TransferBench mem-bw backend and fix PyTorch DDP store init #868.gfx1250.Minor Revision
--extraoption without losing quoted arguments. Add a regression test for argument forwarding and invalid quoting, and document the image build and offline BF16 training setup.python3 -m pip checkandCXX=/opt/rocm/bin/hipcc make cppbuildboth passed inside it.python3 -m unittest tests.test_rocm64_dockerfile tests.benchmarks.micro_benchmarks.test_rocm_gemm_flops_performance tests.benchmarks.micro_benchmarks.test_hipblaslt_function tests.benchmarks.model_benchmarks.test_megatron_gpt tests.runner.test_runner.RunnerTestCase.test_get_mode_command— 20 tests passed.gfx1250GPU, smoke tests passed for both GEMM clients, TransferBench, RCCL all-reduce, AITER JIT, and BF16 Megatron training. Multi-node RDMA was not tested.