question: DDP with shared file system
context: Is it possible to use shared filesystem for DDP init_group in pytorch lighting? If so how what should I do to the Trainer?
  Thanks!
answer: I'm not quite sure about what you want to do, but if it's about customizing DDP, you can do the following:
  from pytorch_lightning.plugins import DDPPlugin
  
  class MyCustomDDP(DDPPlugin):
      ...
  
  trainer = Trainer(plugins=[MyCustomDDP()])