Multi GPU training on g5.12xlarge #4412
|
Hi all, I can hack my way using pytorch\accelerate but I wonder why there's no straightforward way to do it with the SM SDK? Thanks |
Answered by
ruhanprasad
Apr 24, 2025
Replies: 1 comment
|
Hello, I would suggest trying the |
0 replies
Answer selected by
ruhanprasad
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, I would suggest trying the
torch_distributeddistribution in the estimator. This uses torchrun under the hood and should work on any multi-gpu instance type. And you can make sure to set the distributed backend to "nccl" in your training script. This will leverage DDP training without the instance type constraints of SMDDP