Closed kelisiya closed 4 years ago
Maybe you should make sure --nproc_per_node=1. In addition, the devices can be set via CUDA_VISIBLE_DEVICES. CUDA_VISIBLE_DEVICES=0 python -m torch.distributed.launch --master_port 12347 --nproc_per_node=1 main.py
CUDA_VISIBLE_DEVICES=0 python -m torch.distributed.launch --master_port 12347 --nproc_per_node=1 main.py
See #7
Maybe you should make sure --nproc_per_node=1. In addition, the devices can be set via CUDA_VISIBLE_DEVICES.
CUDA_VISIBLE_DEVICES=0 python -m torch.distributed.launch --master_port 12347 --nproc_per_node=1 main.py