facebookresearch/DeeperCluster

how to solve this problem?when I run main.sh

Sunmingy opened this issue · 1 comments

Hi @Sunmingy,
If you're not launching main.sh to a SLURM cluster but locally then you should use torch.distributed.launch. For example replace

python main.py
by python -m torch.distributed.launch --nproc_per_node=$NGPU main.py with $NGPU being the number of gpus you have.