tutorials
tutorials copied to clipboard
[BUG] - python code error in ddp_tutorial
Add Link
https://github.com/pytorch/tutorials/blob/main/intermediate_source/ddp_tutorial.rst#initialize-ddp-with-torchdistributedruntorchrun
Describe the bug
https://github.com/pytorch/tutorials/blob/main/intermediate_source/ddp_tutorial.rst#initialize-ddp-with-torchdistributedruntorchrun
os package is not imported
insert import os in the first line
Describe your environment
.
cc @wconstab @osalpekar @H-Huang @kwen2501