feat(hipblaslt): fused all-to-all follow-ups from the #15352 review #16409
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 325 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.346
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #16409"
general
weight: 0.35
yzhang93
Motivation
Follow-ups from the review of ROCm/rocm-libraries#15352: the fused all-to-all internals were still named for the epilogue although they serve the prologue too, and every fused launch allocated two vectors for tables bounded by the maximum world. The TensileLite client also had no protection against automatic NUMA balancing, whose scans make KFD stop the client's queues on every GPU during fused timing runs.
JIRA ID : ROCM-27524
Technical Details
RocblasltFusedEpilogueInfotoRocblasltFusionInfo,rocblaslt_resolve_fused_epiloguetorocblaslt_resolve_fusion,(rocblaslt_)validate_fused_epilogue_dispatchto(rocblaslt_)validate_fusion_dispatch, and the fusion descriptor'sstagestoepilogue_stages, after the publichipblasLtFusionnames (no behavior change).ContractionInputs::fusedA2APeersbecomes aFusedA2APeerTable, astd::arrayofFUSED_A2A_MAX_RANKSpeer groups, andtensile_host's buffer table astd::arrayofHIPBLASLT_DEVICE_COMM_MAX_WORLDentries, so a fused launch no longer allocates.appendFusedSegmentno longer checks that it was given one peer group per rank;worldSizealone decides. That check also stopped a fused algo used with a matmul descriptor that has no fusion attached; such a launch now runs with null peer pointers. A caller-held algo that does not match the problem it is launched with is undefined behavior, as for dtype or shape.FusedA2AProblem.SegmentNeedsOnePeerGroupPerRank, which tested only that check, is removed.tensilelite-clientgets--numa-bind, on by default with--fused-a2a: before any HIP call or thread is created, the client sets its memory policy toMPOL_LOCAL, which keeps the default placement and takes the process out of automatic NUMA balancing. If the kernel refuses (EPERM under docker's default seccomp), the client warns and keeps the default policy.Test Plan
No new tests; the existing fused suites cover the refactors.
--numa-bindwas compared with--numa-bind 0on a node with automatic NUMA balancing on.Test Result
On MI355X, the TensileLite gtests, the
fused_a2a/a2a_gemm_loopcomm configs at world 2, 4 and 8, the single-GPU fused suite andmulti_gpu*at world 2 to 8 pass. With--numa-bindon, the client takes no NUMA-balancing faults and KFD no longer evicts its queues while it runs; in a container withoutSYS_NICEit prints the warning and the run passes.Submission Checklist