Here are some more general DDP examples/tutorials:

  
      
      GitHub
  
  
    

pytorch/examples 2

A set of examples around pytorch in Vision, Text, Reinforcement Learning, etc. - pytorch/examples


  
  
    
    
  
  


https://pytorch.org/tutorials/intermediate/ddp_tutorial.html
There are also several example projects of varying complexity on GitHub that use DistributedDataParallel. They would be a great reference for pytorch code across a variety of domains.