Skip to content

Skip hybridEP test on ROCm since deep_ep isn't installed for ROCm - #3576

Merged
wconstab merged 1 commit into
mainfrom
fix-rocm-hybridep-ci
Jun 8, 2026
Merged

wconstab merged 1 commit into
mainfrom
fix-rocm-hybridep-ci

Conversation

@wconstab

@wconstab wconstab commented Jun 8, 2026 •

Copy link
Copy Markdown
Contributor

fix CI errors on rocm when running deepseek_v3_fsdp+hybridep+compile
example: https://github.com/pytorch/torchtitan/actions/runs/27108561047/job/80002013308

ImportError: HybridEP requires deep_ep library. Install from: https://github.com/deepseek-ai/DeepEP, branch: hybrid-ep

Claude summary:
What happened:

@wconstab
wconstab requested review from fegin, tianyu-l and wwwjn as code owners June 8, 2026 17:15
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jun 8, 2026
@pytorch-bot

pytorch-bot Bot commented Jun 8, 2026

Copy link
Copy Markdown

Warning: Unknown label ciflow/rocm.
Currently recognized labels are

  • ciflow/8gpu
  • ciflow/h100.8
  • ciflow/rl

Please add the new label to .github/pytorch-probot.yml

@syed-ahmed syed-ahmed left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@wconstab
wconstab merged commit ea9a192 into main Jun 8, 2026
37 of 38 checks passed
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`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/rocm ciflow/8gpu CLA Signed This label is managed by the Meta Open Source bot. module: rocm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants