There is the following issue on this page: https://docs.pytorch.org/tutorials/beginner/ddp_series_multigpu.html
At the end of the page, it says "Here's what the code looks like: " but it does not actually show the full code. The full code would be helpful to have, since otherwise it is somewhat unclear what code needs to be run before the call to mp.spawn(), and what can be run after.
cc @wconstab @osalpekar @H-Huang @kwen2501
There is the following issue on this page: https://docs.pytorch.org/tutorials/beginner/ddp_series_multigpu.html
At the end of the page, it says "Here's what the code looks like: " but it does not actually show the full code. The full code would be helpful to have, since otherwise it is somewhat unclear what code needs to be run before the call to mp.spawn(), and what can be run after.
cc @wconstab @osalpekar @H-Huang @kwen2501