Distributed Data Parallel in Interactive Shells

Hello,

I’m currently learning to train my model on multiple GPUs using Distributed Data Parallel (DDP). I just wanted to ensure I have to use python scripts and command line interface, and I cannot use interactive python shells. Is it true?

Thanks.