DDP - Synchronization on DGX - Use CPUs or GPU-to-GPU interconnect #13345
Answered
by
akihironitta
KevinCrp
asked this question in
DDP / multi-GPU / multi-node
-
Hi, I'm training a model on several GPUs with the DDP strategy, I'm using an Nvidia DGX where GPUs are interconnected with NVLinks. I want to know when the gradients are synchronized, does the communication use the NVLinks or GPU-to-GPU or use the CPUs to communicate? |
Beta Was this translation helpful? Give feedback.
Answered by
akihironitta
Jun 21, 2022
Replies: 1 comment
-
This thread in PyTorch forum may be what you find useful: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
KevinCrp
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This thread in PyTorch forum may be what you find useful:
https://discuss.pytorch.org/t/simple-code-example-with-nvlink-support/125304