Repository navigation
Skip hybridEP test on ROCm since deep_ep isn't installed for ROCm - #3576
Merged
Merged
Conversation
|
Warning: Unknown label
Please add the new label to .github/pytorch-probot.yml |
tianyu-l
approved these changes
Jun 8, 2026
2 tasks
tianyu-l
pushed a commit
that referenced
this pull request
Jun 9, 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`.
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.
fix CI errors on rocm when running
deepseek_v3_fsdp+hybridep+compileexample: https://github.com/pytorch/torchtitan/actions/runs/27108561047/job/80002013308
Claude summary:
What happened:
(tests/integration_tests/h100.py:82-95) and installed deep_ep in CUDA CI. That worked fine — at
the time only the CUDA H100 job ran the h100 suite.
run_8xgpu_integration_tests.sh. But deep_ep/NVSHMEM is CUDA-only, so the script deliberately skips
installing it on ROCm (run_8xgpu_integration_tests.sh:71). The hybridep test still runs on ROCm →
ModuleNotFoundError: No module named 'deep_ep'.