Closed wyanb closed 2 years ago
Hi, what is the version of pytorch you used ?
It is 1.8
Well, we suggest to use pytorch 1.5. But I think what you put here it is only a Warning, it should not affect the running. Could you put more message?
/home/ubuntu/anaconda3/envs/bisenet/lib/python3.6/site-packages/torch/distributed/launch.py:186: FutureWarning: The module torch.distributed.launch is deprecated
and will be removed in future. Use torchrun.
Note that --use_env is set by default in torchrun.
If your script expects --local_rank
argument to be set, please
change it to read from os.environ['LOCAL_RANK']
instead. See
https://pytorch.org/docs/stable/distributed.html#launch-utility for
further instructions
FutureWarning,
Traceback (most recent call last):
File "/home/ubuntu/anaconda3/envs/bisenet/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/home/ubuntu/anaconda3/envs/bisenet/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/ubuntu/anaconda3/envs/bisenet/lib/python3.6/site-packages/torch/distributed/launch.py", line 193, in
The servers are 3080 and 3090, and no one was using them at that time. I don't know why they still failed to run.
In your response: The servers are 3080 and 3090, and no one was using them at that time. I don't know why they still failed to run.
Can I understand that you used 2 GPUs and gave 2 different ports for these 2 GPUs?
If it is true, you should give 2 GPUs the same port.
Thank you for your answer. Does that mean I need to reassemble the hardware?
I think I know how to fix this. Thank you
home/ubuntu/anaconda3/envs/bisenet/lib/python3.6/site-packages/torch/distributed/launch.py:186: FutureWarning: The module torch.distributed.launch is deprecated and will be removed in future. Use torchrun. Note that --use_env is set by default in torchrun. If your script expects
--local_rank
argument to be set, please change it to read fromos.environ['LOCAL_RANK']
instead. See https://pytorch.org/docs/stable/distributed.html#launch-utility for further instructions FutureWarning,It was able to run through before, but it suddenly encountered this problem today. Please kindly take a look,thank you