Repository navigation
ci: skip fsdp_symm_mem integration test on ROCm - #3597
Merged
Merged
Conversation
PyTorch's FSDP2 symmetric-memory path selects the NCCL symm-mem allocator, which routes through RCCL on ROCm -- an unsupported path (ROCm symm-mem uses HIP runtime APIs directly). The test fails at rendezvous with "NCCL host communicator for group 0 not found". Skip on the ROCm leg of the 8 GPU H100 integration tests until the backend selection is fixed upstream in PyTorch.
rishisinhanj
requested review from
fegin,
tianyu-l,
wconstab and
wwwjn
as code owners
June 9, 2026 21:06
|
Unknown label
|
|
|
tianyu-l
approved these changes
Jun 9, 2026
Contributor
|
lint error |
fegin
approved these changes
Jun 9, 2026
Contributor
Author
The lint error is not related to any of our changes in the file (it is a 1 line addition) so I think this should be safe to merge. the error with stride shard is in utils so not connected in any way (could be because of the nightly change) |
wwwjn
pushed a commit
that referenced
this pull request
Jun 10, 2026
## Summary Skip the `fsdp_symm_mem` flavor on the ROCm leg of the **8 GPU Integration Test on H100** workflow. The CUDA/H100 leg continues to run it unchanged. ## Why PyTorch's FSDP2 symmetric-memory path (`set_symm_mem_for_comm()` → `_SymmetricMemory.rendezvous`) selects the **NCCL symm-mem allocator**, which routes through RCCL on ROCm. I opened up a similar PR initially, but closed it because we have symmetric mem enabled through AMD, so we hoped to keep it enabled through #3485 . However, the test still fails at rendezvous: ``` NCCL host communicator for group 0 not found at nccl_devcomm_manager.hpp:106 ``` torchtitan's code is correct here; the fix belongs upstream in PyTorch (correct allocator selection on ROCm). Disabling the ROCm leg now keeps the workflow green pending that upstream fix. ## How Adds `skip_rocm_test=True` to the `fsdp_symm_mem` `OverrideDefinitions` in `tests/integration_tests/h100.py`. `run_tests.py` honors this when invoked with `--gpu_arch_type rocm`, which the `build-test-rocm` leg passes via `run_8xgpu_integration_tests.sh`. This is the same mechanism #3576 used to skip the hybridep flavor on ROCm. ## Test plan - [ ] CUDA/H100 leg still runs `fsdp_symm_mem` (unchanged). - [ ] ROCm `build-test-rocm` leg skips `fsdp_symm_mem`.
saforem2
pushed a commit
to saforem2/torchtitan
that referenced
this pull request
Jun 10, 2026
## Summary Skip the `fsdp_symm_mem` flavor on the ROCm leg of the **8 GPU Integration Test on H100** workflow. The CUDA/H100 leg continues to run it unchanged. ## Why PyTorch's FSDP2 symmetric-memory path (`set_symm_mem_for_comm()` → `_SymmetricMemory.rendezvous`) selects the **NCCL symm-mem allocator**, which routes through RCCL on ROCm. I opened up a similar PR initially, but closed it because we have symmetric mem enabled through AMD, so we hoped to keep it enabled through pytorch#3485 . However, the test still fails at rendezvous: ``` NCCL host communicator for group 0 not found at nccl_devcomm_manager.hpp:106 ``` torchtitan's code is correct here; the fix belongs upstream in PyTorch (correct allocator selection on ROCm). Disabling the ROCm leg now keeps the workflow green pending that upstream fix. ## How Adds `skip_rocm_test=True` to the `fsdp_symm_mem` `OverrideDefinitions` in `tests/integration_tests/h100.py`. `run_tests.py` honors this when invoked with `--gpu_arch_type rocm`, which the `build-test-rocm` leg passes via `run_8xgpu_integration_tests.sh`. This is the same mechanism pytorch#3576 used to skip the hybridep flavor on ROCm. ## Test plan - [ ] CUDA/H100 leg still runs `fsdp_symm_mem` (unchanged). - [ ] ROCm `build-test-rocm` leg skips `fsdp_symm_mem`.
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.
Summary
Skip the
fsdp_symm_memflavor on the ROCm leg of the 8 GPU Integration Test on H100 workflow. The CUDA/H100 leg continues to run it unchanged.Why
PyTorch's FSDP2 symmetric-memory path (
set_symm_mem_for_comm()→_SymmetricMemory.rendezvous) selects the NCCL symm-mem allocator, which routes through RCCL on ROCm. I opened up a similar PR initially, but closed it because we have symmetric mem enabled through AMD, so we hoped to keep it enabled through #3485 . However, the test still fails at rendezvous:torchtitan's code is correct here; the fix belongs upstream in PyTorch (correct allocator selection on ROCm). Disabling the ROCm leg now keeps the workflow green pending that upstream fix.
How
Adds
skip_rocm_test=Trueto thefsdp_symm_memOverrideDefinitionsintests/integration_tests/h100.py.run_tests.pyhonors this when invoked with--gpu_arch_type rocm, which thebuild-test-rocmleg passes viarun_8xgpu_integration_tests.sh. This is the same mechanism #3576 used to skip the hybridep flavor on ROCm.Test plan
fsdp_symm_mem(unchanged).build-test-rocmleg skipsfsdp_symm_mem.