Skip to main content
Considering that GPUs other than A100 (such as those without InfiniBand or NVLink hardware support) have lower efficiency in multi-node parallel computing compared to single-node parallel computing, we no longer support enabling internal IP addresses for multi-node parallel computing.

Multi-Node Multi-GPU

Check Network Interface and IP

If the ifconfig command is not available, install it using apt-get update && apt-get install -y net-tools.
bash
The network interface names may vary across different instances, so it is best to check each instance individually. In the example above, the network interface is 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:
Execute on the master node:
bash
Execute on the worker node:
bash

Common Issues

If errors or blocks occur, first set the environment variable export 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
It is highly likely that the 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
Refer to the official documentation: Environment Variables — NCCL 2.25.1 documentation