antae:

python -m torch.distributed.launch --nnode=2 --node_rank=1 --nproc_per_node=1 multi_gpu_pratice/getting_start.py --local_world_size=1


Thanks for your reply, but --master_addr is setted in code directly.
I initialize NCCL_SOCKET_IFNAME="^eno1,enp0s31f6", but it just use lo socket.