Skip to content

fix(rccl): Fix DDA IPC hang - #13487

Merged
PJAvinash merged 15 commits into
developfrom
users/apotnuru/dda_ipc_hang_fix
Nov 5, 2026
Merged

PJAvinash merged 15 commits into
developfrom
users/apotnuru/dda_ipc_hang_fix

Conversation

@PJAvinash

@PJAvinash PJAvinash commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Motivation

Repeated creation and destruction of 8-rank, one-process-per-GPU communicators can hang during DDA IPC initialization.

The blocked ranks remain inside:
hipIpcOpenMemHandle -> hsa_amd_ipc_memory_attach -> IPCRecvHandle
This was reproduced when one collective test completed and a subsequent test created another MP-8 communicator.

Technical Details

DDA IPC teardown could free a rank's exported scratch or barrier allocation while peer ranks still retained imported IPC mappings to that allocation. commReclaim runs commFree serially per local rank with no synchronization between ranks, so one rank's free could precede a peer's mapping close.
The IPC handler also only closed mappings after a completely successful exchange. If hipIpcOpenMemHandle failed partway through an exchange, mappings opened before the failure were not closed.
This left the HIP/ROCr IPC lifecycle improperly ordered and could cause a later IPC import to hang.

Changes

  • Close all imported DDA scratch and barrier mappings before any rank frees its exported allocations:
    • Destroy and abort: in commDestroySync, which runs concurrently for every local rank, before its existing intranode barrier.
    • Revoke: in commReclaim's revoked-communicator stage, for every local rank, before the serial commCleanup loop. Revoke stays non-collective.
  • Before unmapping, wait on comm->doneEvent so DDA kernels still running on the user stream cannot touch an unmapped peer address. A failed wait logs a warning and cleanup continues.
  • No new synchronization between ranks: commFree / ncclDdaIpcCommFini stay non-collective, so destroying a communicator whose ranks share a process cannot deadlock.
  • ncclDdaIpcCommFini is best-effort, closes any remaining mappings itself (init-failure and other direct commFree paths), and always completes the remaining cleanup.
  • Make peer-mapping cleanup idempotent.
  • Close mappings created by partially completed IPC exchanges.
  • Add the DDA IPC lifecycle microtest binary (rccl-UnitTestsMicroDdaIpcLifecycle) to run_host_tests.sh.

Known limit: with one process per GPU, revoke has no cross-process synchronization by design, so the revoke ordering covers ranks within a process.

[internal-env][no-behavior-change]

Issue Tracking

JIRA ID : AICOMRCCL-3064

Test Plan

Added host-only DDA IPC lifecycle tests (rccl-UnitTestsMicroDdaIpcLifecycle) covering:

  • Eight-rank normal destroy: mappings closed before serial commFree, no allocation freed while still mapped.
  • Closing mappings waits on each rank's doneEvent before the first unmap, and a failed wait does not stop cleanup.
  • ncclDdaIpcCommFini without a prior close (init-failure path) stays local and releases every mapping and allocation.
  • Peer-close failure is best-effort and cleanup completes.
  • Partial hipIpcOpenMemHandle failure cleanup and idempotent close.
  • RCCL_DDA_ENABLE=0 still allocates DDA scratch (required by CE-scratch AllGather/AlltoAll).

Added init tests covering:

  • commDestroySync ordering (close mappings -> intranode barrier -> proxy stop), including aborted comms.
  • commReclaim closing all local ranks' mappings before serial cleanup, for normal and revoked communicators.

Test Result

  • Host microtest binaries (every rccl-UnitTestsMicro* target): 80 run, 79 pass. The only failing test, EnqueueMicrotest.TopoGetAlgoInfo_ThreePivotBiRings_PicksTreeLlUpToTheCutoffThenRingSimple, also fails on develop (from test(rccl): cover enqueue.cc rearch, validation, topology and NVLS paths in microtests #14529). Develop's new rccl-UnitTestsMicroHostDispatch (test(rccl): add rccl-UnitTestsHostAll, one front door for the host tests #14121) does not compile with ROCm 7.2.1 (nlohmann/json.hpp conversion error); this PR does not touch it.
    • DDA IPC lifecycle: 7/7. Init microtests: 745/745. DDA IPC: 36/36.
  • MP-8 DDA-enabled AllReduce and Reduce, --gtest_repeat=5: 5/5 iterations passed (no hang or fault).
  • MP-8 with RCCL_DDA_ENABLE=0, AllGather and AlltoAll: passed; ddaScratch allocated on all ranks.
  • MP-2 AllReduce, --gtest_repeat=3: 3/3 passed.
  • The new revoke and doneEvent tests were each confirmed to fail with their fix removed.

Submission Checklist

@PJAvinash
PJAvinash requested review from a team October 14, 2026 18:28
@PJAvinash PJAvinash self-assigned this Oct 14, 2026
@github-actions

github-actions Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

No undocumented RCCL or NCCL environment-variable changes.

@therock-pr-bot

therock-pr-bot Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

✅ All Policy Checks Passed

Check Status Details
📝 PR Description ✅ Pass —
⛔ Forbidden Files ✅ Pass —
🧪 Unit Test ✅ Pass —
🚫 Draft PR 🔜 To Be Enabled —
🚩 Feature Flag 🔜 To Be Enabled —
📊 Code Coverage 🔜 To Be Enabled —

🎉 All policy checks passed!

📖 Need help? See the Policy FAQ for details on every check and how to fix failures.

🙋 Wish to Override Policy?

@therock-pr-bot

Copy link
Copy Markdown

🚫 Please fix the failed policies before requesting reviews.

The following policy checks failed:

  • ❌ PR Description

The Not ready to Review label has been added to this PR.
Once all policies pass, the label will be removed automatically.

@amd-argus

amd-argus Bot commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

@cppccppccppc @sunguobao PTAL

@amd-argus amd-argus Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ARGUS

Findings

1 more finding(s), not posted inline
  • projects/rccl/test/host/dda-ipc-lifecycle-test.cc:524 (Low) No test covers the abort/revoke path that is meant to skip the teardown barriers and still close mappings locally

Bottom line: Worth settling before approval: ncclDdaIpcCommFini now returns errors into NCCLCHECK at init.cc:584, so a failed barrier or close skips the rest of commFree.

Comment @argus review to re-run, or @argus re-review after pushing.

Co-authored-by: Cursor <cursoragent@cursor.com>

@amd-argus amd-argus Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ARGUS

Bottom line: Worth settling before approval: the new bootstrapBarrier in ncclDdaIpcCommFini runs from commFree, which commReclaim calls serially per process, so destroying an 8-rank comm with several GPUs per process deadlocks.

Comment @argus review to re-run, or @argus re-review after pushing.

Comment thread projects/rccl/test/host/CMakeLists.txt Resolved
Co-authored-by: Cursor <cursoragent@cursor.com>
@PJAvinash

Copy link
Copy Markdown
Contributor Author

@argus re-review

@amd-argus amd-argus Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ARGUS

Bottom line: Worth settling before approval: gating DDA IPC init on RCCL_DDA_ENABLE also leaves ddaScratch null, which silently turns off the CE-scratch AllGather/AlltoAll path on gfx942/gfx950 when DDA is disabled.

Comment @argus review to re-run, or @argus re-review after pushing.

@amd-argus amd-argus Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ARGUS

Bottom line: LGTM.

Comment @argus review to re-run, or @argus re-review after pushing.

@PJAvinash
PJAvinash requested review from nusislam and pvallem October 16, 2026 22:51

@amd-argus amd-argus Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ARGUS

Bottom line: LGTM.

Comment @argus review to re-run, or @argus re-review after pushing.

@github-actions

This comment was marked as off-topic.

@github-actions

This comment was marked as off-topic.

@github-actions

This comment was marked as off-topic.

@github-actions

This comment was marked as off-topic.

@github-actions

This comment was marked as off-topic.

@PJAvinash

Copy link
Copy Markdown
Contributor Author

@argus re-review

@amd-argus amd-argus Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ARGUS

Bottom line: Worth settling before approval: commDestroySync unmaps DDA peer IPC memory without waiting for DDA kernels still running on the user stream (init.cc:4436, same at 4637).

Comment @argus review to re-run, or @argus re-review after pushing.

Comment thread projects/rccl/src/init.cc Resolved
@PJAvinash

Copy link
Copy Markdown
Contributor Author

@argus re-review

@amd-argus amd-argus Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ARGUS

Bottom line: LGTM.

Comment @argus review to re-run, or @argus re-review after pushing.

@github-actions

Copy link
Copy Markdown
Contributor

pr-rocm-systems-13487-oci-rccl-pr-smoke

View this job on CoCo

Builds

Stack Component Version Commit Status Build time
pr-13487_rccl-perf_rocm-10.1-ga gcc-13.2 13.2.0 13.2.0 cached
pr-13487_rccl-perf_rocm-10.1-ga rocm-10.1-ga 10.1.0 10.1.0 cached
pr-13487_rccl-perf_rocm-10.1-ga openmpi-5.0.8 5.0.8 5.0.8 cached
pr-13487_rccl-perf_rocm-10.1-ga rccl-pr-13487 cc28ca3 cc28ca3 cached
pr-13487_rccl-perf_rocm-10.1-ga rccl-tests-develop-perf develop 6a16715 cached
pr-13487_rccl-perf_rocm-10.2-latest gcc-13.2 13.2.0 13.2.0 cached
pr-13487_rccl-perf_rocm-10.2-latest rocm-10.2-latest 10.2.0rc1 10.2.0rc1 cached
pr-13487_rccl-perf_rocm-10.2-latest openmpi-5.0.8 5.0.8 5.0.8 cached
pr-13487_rccl-perf_rocm-10.2-latest rccl-pr-13487 cc28ca3 cc28ca3 cached
pr-13487_rccl-perf_rocm-10.2-latest rccl-tests-develop-perf develop 6a16715 cached
pr-13487_rccl-smoke_rocm-10.1-ga gcc-13.2 13.2.0 13.2.0 cached
pr-13487_rccl-smoke_rocm-10.1-ga rocm-10.1-ga 10.1.0 10.1.0 cached
pr-13487_rccl-smoke_rocm-10.1-ga openmpi-5.0.8 5.0.8 5.0.8 cached
pr-13487_rccl-smoke_rocm-10.1-ga rccl-pr-13487-smoke cc28ca3 cc28ca3 cached
pr-13487_rccl-smoke_rocm-10.1-ga rccl_gtest-pr-13487 cc28ca3 cc28ca3 cached
rocm-10.1-ga_rccl-develop-perf gcc-13.2 13.2.0 13.2.0 cached
rocm-10.1-ga_rccl-develop-perf rocm-10.1-ga 10.1.0 10.1.0 cached
rocm-10.1-ga_rccl-develop-perf openmpi-5.0.8 5.0.8 5.0.8 cached
rocm-10.1-ga_rccl-develop-perf rccl-develop-b5a4b171e87b b5a4b17 b5a4b17 cached
rocm-10.1-ga_rccl-develop-perf rccl-tests-develop-perf develop 6a16715 cached

Failures

No failing tests in this run.

15 tests skipped.

@github-actions

Copy link
Copy Markdown
Contributor

pr-rocm-systems-13487-ruby64-rccl-pr-smoke

View this job on CoCo

Builds

Stack Component Version Commit Status Build time
pr-13487_rccl-perf_rocm-10.1-ga gcc-11.5 11.5.0 11.5.0 cached
pr-13487_rccl-perf_rocm-10.1-ga rocm-10.1-ga 10.1.0 10.1.0 cached
pr-13487_rccl-perf_rocm-10.1-ga openmpi-4.0.2 4.0.2rc3 4.0.2rc3 cached
pr-13487_rccl-perf_rocm-10.1-ga rccl-pr-13487 cc28ca3 cc28ca3 cached
pr-13487_rccl-perf_rocm-10.1-ga rcclt-develop-perf develop 4b70275 cached
pr-13487_rccl-perf_rocm-10.2-latest gcc-11.5 11.5.0 11.5.0 cached
pr-13487_rccl-perf_rocm-10.2-latest rocm-10.2-latest 10.2.0rc1 10.2.0rc1 cached
pr-13487_rccl-perf_rocm-10.2-latest openmpi-4.0.2 4.0.2rc3 4.0.2rc3 cached
pr-13487_rccl-perf_rocm-10.2-latest rccl-pr-13487 cc28ca3 cc28ca3 cached
pr-13487_rccl-perf_rocm-10.2-latest rcclt-develop-perf develop 4b70275 cached
pr-13487_rccl-smoke_rocm-10.1-ga gcc-11.5 11.5.0 11.5.0 cached
pr-13487_rccl-smoke_rocm-10.1-ga rocm-10.1-ga 10.1.0 10.1.0 cached
pr-13487_rccl-smoke_rocm-10.1-ga openmpi-4.0.2 4.0.2rc3 4.0.2rc3 cached
pr-13487_rccl-smoke_rocm-10.1-ga rccl-pr-13487-smoke cc28ca3 cc28ca3 cached
pr-13487_rccl-smoke_rocm-10.1-ga rccl_gtest-pr-13487 cc28ca3 cc28ca3 cached
rocm-10.1-ga_rccl-develop-perf gcc-11.5 11.5.0 11.5.0 cached
rocm-10.1-ga_rccl-develop-perf rocm-10.1-ga 10.1.0 10.1.0 cached
rocm-10.1-ga_rccl-develop-perf openmpi-4.0.2 4.0.2rc3 4.0.2rc3 cached
rocm-10.1-ga_rccl-develop-perf rccl-develop-b5a4b171e87b b5a4b17 b5a4b17 cached
rocm-10.1-ga_rccl-develop-perf rcclt-develop-perf develop 4b70275 cached

Failures

No failing tests in this run.

15 tests skipped.

…_ipc_hang_fix

# Conflicts:
#	projects/rccl/test/host/CMakeLists.txt
#	projects/rccl/test/host/fakes/bootstrap_stubs.cc

@amd-argus amd-argus Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ARGUS

Bottom line: LGTM.

Comment @argus review to re-run, or @argus re-review after pushing.

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

pr-rocm-systems-13487-oci-rccl-pr-smoke

View this job on CoCo

Builds

Stack Component Version Commit Status Build time
pr-13487_rccl-perf_rocm-10.1-ga gcc-13.2 13.2.0 13.2.0 cached
pr-13487_rccl-perf_rocm-10.1-ga rocm-10.1-ga 10.1.0 10.1.0 cached
pr-13487_rccl-perf_rocm-10.1-ga openmpi-5.0.8 5.0.8 5.0.8 cached
pr-13487_rccl-perf_rocm-10.1-ga rccl-pr-13487 1fa8da7 1fa8da7 cached
pr-13487_rccl-perf_rocm-10.1-ga rccl-tests-develop-perf develop 7601776 cached
pr-13487_rccl-perf_rocm-10.2-latest gcc-13.2 13.2.0 13.2.0 cached
pr-13487_rccl-perf_rocm-10.2-latest rocm-10.2-latest 10.2.0rc1 10.2.0rc1 cached
pr-13487_rccl-perf_rocm-10.2-latest openmpi-5.0.8 5.0.8 5.0.8 cached
pr-13487_rccl-perf_rocm-10.2-latest rccl-pr-13487 1fa8da7 1fa8da7 cached
pr-13487_rccl-perf_rocm-10.2-latest rccl-tests-develop-perf develop 7601776 cached
pr-13487_rccl-smoke_rocm-10.1-ga gcc-13.2 13.2.0 13.2.0 cached
pr-13487_rccl-smoke_rocm-10.1-ga rocm-10.1-ga 10.1.0 10.1.0 cached
pr-13487_rccl-smoke_rocm-10.1-ga openmpi-5.0.8 5.0.8 5.0.8 cached
pr-13487_rccl-smoke_rocm-10.1-ga rccl-pr-13487-smoke 1fa8da7 1fa8da7 cached
pr-13487_rccl-smoke_rocm-10.1-ga rccl_gtest-pr-13487 1fa8da7 1fa8da7 cached
rocm-10.1-ga_rccl-develop-perf gcc-13.2 13.2.0 13.2.0 cached
rocm-10.1-ga_rccl-develop-perf rocm-10.1-ga 10.1.0 10.1.0 cached
rocm-10.1-ga_rccl-develop-perf openmpi-5.0.8 5.0.8 5.0.8 cached
rocm-10.1-ga_rccl-develop-perf rccl-develop-f5cc5b40a2d7 f5cc5b4 f5cc5b4 cached
rocm-10.1-ga_rccl-develop-perf rccl-tests-develop-perf develop 7601776 cached

Failures

No failing tests in this run.

15 tests skipped.

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

pr-rocm-systems-13487-ruby64-rccl-pr-smoke

View this job on CoCo

Builds

Stack Component Version Commit Status Build time
pr-13487_rccl-perf_rocm-10.1-ga gcc-11.5 11.5.0 11.5.0 cached
pr-13487_rccl-perf_rocm-10.1-ga rocm-10.1-ga 10.1.0 10.1.0 cached
pr-13487_rccl-perf_rocm-10.1-ga openmpi-4.0.2 4.0.2rc3 4.0.2rc3 cached
pr-13487_rccl-perf_rocm-10.1-ga rccl-pr-13487 1fa8da7 1fa8da7 cached
pr-13487_rccl-perf_rocm-10.1-ga rcclt-develop-perf develop 7601776 cached
pr-13487_rccl-perf_rocm-10.2-latest gcc-11.5 11.5.0 11.5.0 cached
pr-13487_rccl-perf_rocm-10.2-latest rocm-10.2-latest 10.2.0rc1 10.2.0rc1 cached
pr-13487_rccl-perf_rocm-10.2-latest openmpi-4.0.2 4.0.2rc3 4.0.2rc3 cached
pr-13487_rccl-perf_rocm-10.2-latest rccl-pr-13487 1fa8da7 1fa8da7 cached
pr-13487_rccl-perf_rocm-10.2-latest rcclt-develop-perf develop 7601776 cached
pr-13487_rccl-smoke_rocm-10.1-ga gcc-11.5 11.5.0 11.5.0 cached
pr-13487_rccl-smoke_rocm-10.1-ga rocm-10.1-ga 10.1.0 10.1.0 cached
pr-13487_rccl-smoke_rocm-10.1-ga openmpi-4.0.2 4.0.2rc3 4.0.2rc3 cached
pr-13487_rccl-smoke_rocm-10.1-ga rccl-pr-13487-smoke 1fa8da7 1fa8da7 cached
pr-13487_rccl-smoke_rocm-10.1-ga rccl_gtest-pr-13487 1fa8da7 1fa8da7 cached
rocm-10.1-ga_rccl-develop-perf gcc-11.5 11.5.0 11.5.0 cached
rocm-10.1-ga_rccl-develop-perf rocm-10.1-ga 10.1.0 10.1.0 cached
rocm-10.1-ga_rccl-develop-perf openmpi-4.0.2 4.0.2rc3 4.0.2rc3 cached
rocm-10.1-ga_rccl-develop-perf rccl-develop-f5cc5b40a2d7 f5cc5b4 f5cc5b4 cached
rocm-10.1-ga_rccl-develop-perf rcclt-develop-perf develop 7601776 cached

Failures

No failing tests in this run.

15 tests skipped.

…_ipc_hang_fix

# Conflicts:
#	projects/rccl/test/host/run_host_tests.sh
@PJAvinash

Copy link
Copy Markdown
Contributor Author

@argus re-review

@amd-argus amd-argus Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ARGUS

Bottom line: Worth settling before approval: the doneEvent wait at ipc_init.cu:220 does not cover CE-scratch AllGather/AlltoAll copies into peer scratch, and two lifecycle tests still pass with the fixes they cover reverted.

Comment @argus review to re-run, or @argus re-review after pushing.

@PJAvinash

Copy link
Copy Markdown
Contributor Author

@argus re-review

@amd-argus amd-argus Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ARGUS

Bottom line: Worth settling before approval: a CE launch that fails after queuing peer copies skips the new doneEvent record (ce_coll.cc:3897), so teardown can unmap DDA scratch under them; two lifecycle tests also still pass with their fixes reverted.

Comment @argus review to re-run, or @argus re-review after pushing.

Comment thread projects/rccl/src/ce_coll.cc Resolved
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

pr-rocm-systems-13487-oci-rccl-pr-smoke

View this job on CoCo

Builds

Stack Component Version Commit Status Build time
pr-13487_rccl-perf_rocm-10.1-ga gcc-13.2 13.2.0 13.2.0 cached
pr-13487_rccl-perf_rocm-10.1-ga rocm-10.1-ga 10.1.0 10.1.0 cached
pr-13487_rccl-perf_rocm-10.1-ga openmpi-5.0.8 5.0.8 5.0.8 cached
pr-13487_rccl-perf_rocm-10.1-ga rccl-pr-13487 dbe0944 dbe0944 cached
pr-13487_rccl-perf_rocm-10.1-ga rccl-tests-develop-perf develop f5c8b3a cached
pr-13487_rccl-perf_rocm-10.2-latest gcc-13.2 13.2.0 13.2.0 cached
pr-13487_rccl-perf_rocm-10.2-latest rocm-10.2-latest 10.2.0rc1 10.2.0rc1 cached
pr-13487_rccl-perf_rocm-10.2-latest openmpi-5.0.8 5.0.8 5.0.8 cached
pr-13487_rccl-perf_rocm-10.2-latest rccl-pr-13487 dbe0944 dbe0944 cached
pr-13487_rccl-perf_rocm-10.2-latest rccl-tests-develop-perf develop f5c8b3a cached
pr-13487_rccl-smoke_rocm-10.1-ga gcc-13.2 13.2.0 13.2.0 cached
pr-13487_rccl-smoke_rocm-10.1-ga rocm-10.1-ga 10.1.0 10.1.0 cached
pr-13487_rccl-smoke_rocm-10.1-ga openmpi-5.0.8 5.0.8 5.0.8 cached
pr-13487_rccl-smoke_rocm-10.1-ga rccl-pr-13487-smoke dbe0944 dbe0944 cached
pr-13487_rccl-smoke_rocm-10.1-ga rccl_gtest-pr-13487 dbe0944 dbe0944 cached
rocm-10.1-ga_rccl-develop-perf gcc-13.2 13.2.0 13.2.0 cached
rocm-10.1-ga_rccl-develop-perf rocm-10.1-ga 10.1.0 10.1.0 cached
rocm-10.1-ga_rccl-develop-perf openmpi-5.0.8 5.0.8 5.0.8 cached
rocm-10.1-ga_rccl-develop-perf rccl-develop-ea3dab164afd ea3dab1 ea3dab1 cached
rocm-10.1-ga_rccl-develop-perf rccl-tests-develop-perf develop f5c8b3a cached

Failures

No failing tests in this run.

15 tests skipped.

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

pr-rocm-systems-13487-ruby64-rccl-pr-smoke

View this job on CoCo

Builds

Stack Component Version Commit Status Build time
pr-13487_rccl-perf_rocm-10.1-ga gcc-11.5 11.5.0 11.5.0 cached
pr-13487_rccl-perf_rocm-10.1-ga rocm-10.1-ga 10.1.0 10.1.0 cached
pr-13487_rccl-perf_rocm-10.1-ga openmpi-4.0.2 4.0.2rc3 4.0.2rc3 cached
pr-13487_rccl-perf_rocm-10.1-ga rccl-pr-13487 dbe0944 dbe0944 cached
pr-13487_rccl-perf_rocm-10.1-ga rcclt-develop-perf develop f5c8b3a cached
pr-13487_rccl-perf_rocm-10.2-latest gcc-11.5 11.5.0 11.5.0 cached
pr-13487_rccl-perf_rocm-10.2-latest rocm-10.2-latest 10.2.0rc1 10.2.0rc1 cached
pr-13487_rccl-perf_rocm-10.2-latest openmpi-4.0.2 4.0.2rc3 4.0.2rc3 cached
pr-13487_rccl-perf_rocm-10.2-latest rccl-pr-13487 dbe0944 dbe0944 cached
pr-13487_rccl-perf_rocm-10.2-latest rcclt-develop-perf develop f5c8b3a cached
pr-13487_rccl-smoke_rocm-10.1-ga gcc-11.5 11.5.0 11.5.0 cached
pr-13487_rccl-smoke_rocm-10.1-ga rocm-10.1-ga 10.1.0 10.1.0 cached
pr-13487_rccl-smoke_rocm-10.1-ga openmpi-4.0.2 4.0.2rc3 4.0.2rc3 cached
pr-13487_rccl-smoke_rocm-10.1-ga rccl-pr-13487-smoke dbe0944 dbe0944 cached
pr-13487_rccl-smoke_rocm-10.1-ga rccl_gtest-pr-13487 dbe0944 dbe0944 cached
rocm-10.1-ga_rccl-develop-perf gcc-11.5 11.5.0 11.5.0 cached
rocm-10.1-ga_rccl-develop-perf rocm-10.1-ga 10.1.0 10.1.0 cached
rocm-10.1-ga_rccl-develop-perf openmpi-4.0.2 4.0.2rc3 4.0.2rc3 cached
rocm-10.1-ga_rccl-develop-perf rccl-develop-ea3dab164afd ea3dab1 ea3dab1 cached
rocm-10.1-ga_rccl-develop-perf rcclt-develop-perf develop f5c8b3a cached

Failures

No failing tests in this run.

15 tests skipped.

@nusislam

nusislam commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

@PJAvinash - I assume you have verified there is not perf impact from this PR. I do not expect one since it is happening during finalize, but always good to check.

@PJAvinash

PJAvinash commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor Author

@PJAvinash - I assume you have verified there is not perf impact from this PR. I do not expect one since it is happening during finalize, but always good to check.

  • AllReduce and Reduce: DDA dispatch runs these on gfx942 and gfx950. The PR changes DDA IPC teardown.

  • AllGather and AlltoAll: these use CE-scratch, the default on gfx950, which copies into peer DDA scratch. The PR adds one doneEvent record to the end of each CE launch.

  • ReduceScatter and Broadcast: controls; the PR doesn't touch their launch paths.

  • Average bus bandwidth: within ±0.2% for all six collectives.

  • Large messages (≥ 1 MB): time within ±0.6% on average for every collective.

  • Peak bus bandwidth at 256 MB: unchanged.

  • AlltoAll and AllGather small messages: checked with 6 extra clean repetitions, since they take the copy-engine (CE) path that now records doneEvent after each launch. Per-size medians are within ±1.3% of develop.

@amd-argus amd-argus Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ARGUS

Bottom line: LGTM.

Comment @argus review to re-run, or @argus re-review after pushing.

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

pr-rocm-systems-13487-oci-rccl-pr-smoke

View this job on CoCo

Builds

Stack Component Version Commit Status Build time
pr-13487_rccl-perf_rocm-10.1-ga gcc-13.2 13.2.0 13.2.0 cached
pr-13487_rccl-perf_rocm-10.1-ga rocm-10.1-ga 10.1.0 10.1.0 cached
pr-13487_rccl-perf_rocm-10.1-ga openmpi-5.0.8 5.0.8 5.0.8 cached
pr-13487_rccl-perf_rocm-10.1-ga rccl-pr-13487 119c145 119c145 cached
pr-13487_rccl-perf_rocm-10.1-ga rccl-tests-develop-perf develop f34de77 cached
pr-13487_rccl-perf_rocm-10.2-latest gcc-13.2 13.2.0 13.2.0 cached
pr-13487_rccl-perf_rocm-10.2-latest rocm-10.2-latest 10.2.0rc1 10.2.0rc1 cached
pr-13487_rccl-perf_rocm-10.2-latest openmpi-5.0.8 5.0.8 5.0.8 cached
pr-13487_rccl-perf_rocm-10.2-latest rccl-pr-13487 119c145 119c145 cached
pr-13487_rccl-perf_rocm-10.2-latest rccl-tests-develop-perf develop f34de77 cached
pr-13487_rccl-smoke_rocm-10.1-ga gcc-13.2 13.2.0 13.2.0 cached
pr-13487_rccl-smoke_rocm-10.1-ga rocm-10.1-ga 10.1.0 10.1.0 cached
pr-13487_rccl-smoke_rocm-10.1-ga openmpi-5.0.8 5.0.8 5.0.8 cached
pr-13487_rccl-smoke_rocm-10.1-ga rccl-pr-13487-smoke 119c145 119c145 cached
pr-13487_rccl-smoke_rocm-10.1-ga rccl_gtest-pr-13487 119c145 119c145 cached
rocm-10.1-ga_rccl-develop-perf gcc-13.2 13.2.0 13.2.0 cached
rocm-10.1-ga_rccl-develop-perf rocm-10.1-ga 10.1.0 10.1.0 cached
rocm-10.1-ga_rccl-develop-perf openmpi-5.0.8 5.0.8 5.0.8 cached
rocm-10.1-ga_rccl-develop-perf rccl-develop-ea3dab164afd ea3dab1 ea3dab1 cached
rocm-10.1-ga_rccl-develop-perf rccl-tests-develop-perf develop f34de77 cached

Failures

No failing tests in this run.

15 tests skipped.

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

pr-rocm-systems-13487-ruby64-rccl-pr-smoke

View this job on CoCo

Builds

Stack Component Version Commit Status Build time
pr-13487_rccl-perf_rocm-10.1-ga gcc-11.5 11.5.0 11.5.0 cached
pr-13487_rccl-perf_rocm-10.1-ga rocm-10.1-ga 10.1.0 10.1.0 cached
pr-13487_rccl-perf_rocm-10.1-ga openmpi-4.0.2 4.0.2rc3 4.0.2rc3 cached
pr-13487_rccl-perf_rocm-10.1-ga rccl-pr-13487 119c145 119c145 cached
pr-13487_rccl-perf_rocm-10.1-ga rcclt-develop-perf develop f34de77 cached
pr-13487_rccl-perf_rocm-10.2-latest gcc-11.5 11.5.0 11.5.0 cached
pr-13487_rccl-perf_rocm-10.2-latest rocm-10.2-latest 10.2.0rc1 10.2.0rc1 cached
pr-13487_rccl-perf_rocm-10.2-latest openmpi-4.0.2 4.0.2rc3 4.0.2rc3 cached
pr-13487_rccl-perf_rocm-10.2-latest rccl-pr-13487 119c145 119c145 cached
pr-13487_rccl-perf_rocm-10.2-latest rcclt-develop-perf develop f34de77 cached
pr-13487_rccl-smoke_rocm-10.1-ga gcc-11.5 11.5.0 11.5.0 cached
pr-13487_rccl-smoke_rocm-10.1-ga rocm-10.1-ga 10.1.0 10.1.0 cached
pr-13487_rccl-smoke_rocm-10.1-ga openmpi-4.0.2 4.0.2rc3 4.0.2rc3 cached
pr-13487_rccl-smoke_rocm-10.1-ga rccl-pr-13487-smoke 119c145 119c145 cached
pr-13487_rccl-smoke_rocm-10.1-ga rccl_gtest-pr-13487 119c145 119c145 cached
rocm-10.1-ga_rccl-develop-perf gcc-11.5 11.5.0 11.5.0 cached
rocm-10.1-ga_rccl-develop-perf rocm-10.1-ga 10.1.0 10.1.0 cached
rocm-10.1-ga_rccl-develop-perf openmpi-4.0.2 4.0.2rc3 4.0.2rc3 cached
rocm-10.1-ga_rccl-develop-perf rccl-develop-ea3dab164afd ea3dab1 ea3dab1 cached
rocm-10.1-ga_rccl-develop-perf rcclt-develop-perf develop f34de77 cached

Failures

No failing tests in this run.

15 tests skipped.

@PJAvinash

Copy link
Copy Markdown
Contributor Author

Precheckin CI failure is unrelated.

@PJAvinash
PJAvinash merged commit d9600dd into develop Nov 5, 2026
63 of 66 checks passed
@PJAvinash
PJAvinash deleted the users/apotnuru/dda_ipc_hang_fix branch November 5, 2026 17:23
@systems-assistant

Copy link
Copy Markdown
Contributor

TheRock Submodule Bump Activity

Newest first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants