Repository navigation
Commit d7442af
Fix MegaMoE combine readiness on CUDA graph replay
CUDA graph replay can reuse the kernel grid ID. Clear local peer-ready flags
before the existing pull barrier so a later replay cannot consume the previous
invocation's combine data when inputs change. Preserve the workspace layout and
existing barriers.
Validated on 8 B300 ranks with input staging, unequal/empty source ranks, and
successive CUDA graph replays with updated inputs (3 tests passed per rank).
Co-authored-by: Codex <[email protected]>
Signed-off-by: foreverrookie <[email protected]>1 parent 78b6900 commit d7442af
2 files changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
391 | | - | |
| 391 | + | |
| 392 | + | |
392 | 393 | | |
393 | | - | |
| 394 | + | |
| 395 | + | |
394 | 396 | | |
| 397 | + | |
395 | 398 | | |
396 | 399 | | |
397 | 400 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| |||
0 commit comments