rzhang63:

Thank you for your reply. I was running the example code in the tutorial but I got the following error:


The link provided above points to the DDP example, but demo_basic is one function from https://pytorch.org/tutorials/intermediate/ddp_tutorial.html 1. Are you mixing these two?