# Tokyo A4 NCCL hangs: how to check GPUDirect RDMA

> On Tokyo A4 VMs, start with a single-node NCCL run. If it succeeds and an otherwise equivalent two-node run hangs, collect the NCCL transport and interface selection before changing machine, zone or driver.

A healthy GPU listing is only the first check when a distributed job stalls. In Tokyo, use the actual zone and accelerator family recorded on the Compute Engine VM, then isolate the failing path with a small reproduction.

## Confirm the nodes really are A4

[Google’s GPU locations table](https://docs.cloud.google.com/compute/docs/regions-zones/gpu-regions-zones) lists A4 in Tokyo’s `asia-northeast1-b` row. The same row also lists A3 Mega. That matters because [Google’s networking table](https://docs.cloud.google.com/compute/docs/gpus/gpu-network-bandwidth) describes A4’s GPUDirect RDMA separately from A3 Mega’s GPUDirect-TCPXO. Capture the full machine type for both endpoints. A successful experiment on an A3 Mega VM in the same zone gives you a useful control for the application, but it cannot validate the A4 RDMA configuration.

## Find the first boundary that fails

Use the same container, libraries and collective in a small single-VM run, then repeat with two A4 VMs and save per-rank logs. A working local collective narrows the issue; it leaves inter-VM reachability, interface selection and GPU-to-network paths open. [NVIDIA’s NCCL guide](https://docs.nvidia.com/deeplearning/nccl/user-guide/docs/troubleshooting.html) describes the troubleshooting checks for both network interfaces and GPU direct paths. Record the beginning of initialization on each rank, including the chosen interface and any rank that never prints its transport line.

## Keep enough evidence to reproduce

Document the job image digest, NCCL and driver versions, VM names, zone, selected interface and UTC timestamps before restarting. Label results by whether the test used one GPU, multiple local GPUs or multiple VMs. If the driver recorded an Xid during the test, preserve that line as separate evidence. If the first failure occurs only across hosts, ask the network and cluster operators to examine the recorded transport path before moving the job.

## Sources

- Compute Engine GPU locations: https://docs.cloud.google.com/compute/docs/regions-zones/gpu-regions-zones
- Networking and GPU machine types: https://docs.cloud.google.com/compute/docs/gpus/gpu-network-bandwidth
- NVIDIA NCCL troubleshooting: https://docs.nvidia.com/deeplearning/nccl/user-guide/docs/troubleshooting.html
