Unexpected endless waiting
See original GitHub issuewhen I use 4 gpus to train a model, the training process always wait something suddenly. Do nothing, and take up the gpu resources. When I forcibly stop the process, It shows:
File "/opt/conda/lib/python3.6/runpy.py" , line 193, in _run_module_as_main
"__main__", mod_spec)
File "/opt/conda/lib/python3.6/runpy.py" , line 85, in _run_code
exec(code, run_globals)
File "/opt/conda/lib/python3.6/site-packages/torch/distributed/launch.py" , line 235, in <module>
main()
File "/opt/conda/lib/python3.6/site-packages/torch/distributed/launch.py" , line 228, in main
process.wait()
File "/opt/conda/lib/python3.6/subprocess.py" , line 1477, in wait
(pid, sts) = self._try_wait(0)
File "/opt/conda/lib/python3.6/subprocess.py", line 1424, in _try_wait
(pid, sts) = os.waitpid(self.pid, wait_flags)
Even after half a day, the process do nothing but wait. Can you explain this? How to continue the training process or aviod the endless waiting?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:8 (2 by maintainers)
Top Results From Across the Web
The Frustration Of Waiting - Mental Help Net
One of the factors that can make a wait feel endless is awareness of time. A minute can feel like a second or...
Read more >Node JS with async unexpected infinite loop - Stack Overflow
The problem is that you are calling the same HTTP server again and again, without returning a response. The HTTP server is listening...
Read more >When Waiting on God: How to Embrace the Delay Well
Waiting is inevitable and sometimes painful. Discover ten approaches today to embrace the delay while waiting on God.
Read more >wait until bundle finished, stopped at 99% [webpack 5] #14405
when I run start, the progress bar is stuck at 99%. and then my local web page opened but just keep loading. I...
Read more >Busy waiting - Wikipedia
In computer science and software engineering, busy-waiting, busy-looping or spinning is a technique in which a process repeatedly checks to see if a ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
fixed it, maybe some bugs with pytorch 1.4 and nccl, fixed it by add params “–nnodes=1 --node_rank=0” to train.sh
It works! Thank you very much!