Repository navigation
Conversation
|
Hi @tranle-fw! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at [email protected]. Thanks! |
Superseded by #5663, which combines the FSDP communicator fix with this tested repro and evidence under
tranle-fw.Superseded by zpcore/torchtitan#1, which targets the branch behind pytorch/torchtitan#5645 and carries the same tested script and sanitized evidence.
--separate-groupgives AG its own communicator.Reproduction commands and measured setup
Exact tested source:
3803b11c, fault at line 56. Both runs used the same four B300 GPUs and PyTorch2.13.0a0+8145d630e8.nv26.06, CUDA 13.3, NCCL 2.30.5.Run each case in a separate process/container with an external deadline. Equivalent local invocations with the recorded communication settings:
The measured runs used a container deadline and a CUDA-readiness gate before process-group creation; neither changes the script's fault phase. No GPU delay is injected. Source SHA256:
fb0abc0ec4a74a099a8f89125bf71e270cd9092253191f4c7e62aea79f6e88be.Fresh run of the exact draft: sanitized forced-order logs
Four CUDA ranks; PyTorch 2.13.0a0, CUDA 13.3, NCCL 2.30.5;
NCCL_LAUNCH_ORDER_IMPLICIT=1in both runs. After matching AG→A2A warmup, rank 0 deliberately submits A2A→AG while peers submit AG→A2A. This is a host-order negative control, not GPU-only skew or a natural FSDP prefetch reproduction. Host/process identifiers, timestamps, paths and addresses are omitted; retained lines/payloads below are unchanged.Shared group: all ranks warm up and both asynchronous calls return on every rank, then collective sequence 3 times out.
Dedicated all-gather group: the same opposite host order completes.
PASSis printed after CUDA synchronization and exact checks of both outputs.The shared run recorded the 30-second watchdog, then required its external 150-second container deadline (exit 137). The dedicated run exited 0 in 16.090 seconds. Dedicated completion is an empirical result of this test, not a general guarantee for reversed cross-communicator order.