[TRAIN-2] DTensor async GRPO with dis-colocated generation hangs when tensor_parallel=2
Problem
Dis-colocated async GRPO on the DTensor backend hangs during training when tensor_parallel is set to 2. Setting tensor_parallel=1 unblocks training. This points to a synchronization issue that is specific to TP > 1.
Steps to reproduce
- Configure dis-colocated async GRPO with the DTensor backend and
tensor_parallel: 2. - Start training and observe a hang with no error output.
- Set
tensor_parallel: 1and confirm training proceeds normally.
Suggested fix
Audit synchronization barriers in the DTensor async rollout path for behavior that differs by tensor parallelism count.
@anwithk please also add the screenshot
I can't reproduce it:
https://wandb.ai/nvidia/nemorl-vdr-debug/runs/xat43z7t/logs qwen35-lora-dtensor-tp2-discoloc-async-2089993
Please provide repro guide like recipe/commit/container.