有人用过多GPU跑网络吗?torch.distributed.run命令,如下:
python -m torch.distributed.run --standalone --nnodes=1 --nproc_per_node 8 xxx.py
这里我使用了8块gpu,但是每次这么用都会出现如下warning,然后程序就暂停了没跑起来:
WARNING:__main__:*****************************************
Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
*****************************************
不知道是什么问题