Repository navigation
[HIP] fix: gfx1250 LL ar - #6756
Conversation
Signed-off-by: ShaoChunLee <[email protected]>
🏷️ CI GuideRuns automatically on every PR:
Extended tests (opt-in via labels):
One backend per PR: PR title tags & labels: |
Signed-off-by: ShaoChunLee <[email protected]>
|
@junhaha666 Since @TennyWang1223 is the author, could you please take the primary review for this gfx1250 custom all-reduce change? The relevant multi-GPU path needs real-hardware correctness, synchronization, topology, hang, and performance validation. I will co-review it from the communication integration side. For reference, my preliminary pass found the epoch/bank synchronization fix directionally reasonable and did not identify a concrete code defect. The blocker is validation: the current green CI does not exercise the gfx1250 multi-GPU protocol being changed. Please cover TP2/4/8, alternating message sizes that change the grid shape (including 512, 32768, and nearby boundaries), eager and graph replay, long back-to-back runs, and rank skew/delayed-rank cases. Approval should wait for correctness plus no-hang results on real gfx1250 hardware. |
|
@aiter-bot review |
ROCm/aiter PR #6756 — [HIP] fix: gfx1250 LL arMakes the gfx1250 low-latency allreduce's graph-safe epoch one shared value across all blocks — every launch now fans its epoch out to all 512 per-block flag entries (and the 2^32 wrap keeps bank parity), so a packet's owning block can no longer reuse a stale epoch/bank when back-to-back messages have different sizes — and adds a mixed-size multi-GPU regression test for it. Review (advisory):
|
… rank skew Speculative decoding alternates small fused all-reduce + RMSNorm calls (the draft's norms) with larger ones (the target), plus plain all-reduces and the barrier-synchronized logits all-gather, all on one custom all-reduce instance while the ranks drift apart. This TP4 test runs that mix with a different GPU-side delay per rank every step and checks every result against an fp32 reference. It fails when gfx1250 runs the old-arch fused kernels (they corrupt the shared Signal and later collectives read stale rows) and on the LL block-epoch race fixed in #6756.
Motivation
fix gfx1250 LL allreduce error
Technical Details
change scratch buffer index
Test Plan
run ut with regression
Test Result
need test
Submission Checklist