Multi-Node Multi-GPU
Check Network Interface and IP
If theifconfig command is not available, install it using apt-get update && apt-get install -y net-tools.
bash
eth1 with an IP address of 10.0.0.34.
(There may be multiple network interfaces. Please select the independent IP address of the enabled instance and its corresponding network interface. The network interface name is usually eth1.)
Testing
Download the test script:bash
bash
Common Issues
If errors or blocks occur, first set the environment variableexport NCCL_DEBUG=INFO and then run the training command to observe the NCCL debug logs.
If you encounter log messages indicating a connection refusal, such as:
bash
NCCL_SOCKET_IFNAME environment variable is not taking effect. In this case, you can write the following content into the /etc/nccl.conf configuration file, and you will no longer need to add the environment variable separately:
bash