Replies: 2 comments
-
DDP doesn't split the data (see here). Its up to the application using DDP to split the data. In the example you shared, it happens in line 70. After setting up |
Beta Was this translation helpful? Give feedback.
0 replies
-
DDP doesn't split the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I am a little bit confused on why the example here works. If I understand correctly, DDP will just split inputs to
forward
on the first dimension. And since thex
andedge_index
are both inputs, they will essentially be split in the same way, which is problematic because we only want the edge_index to be split.I actually have an even more complicated case where I am also using an encoder for the node embeddings, and it's on a set of relations (i.e. a knowledge graph). Have been thinking how to use DDP/deepspeed/others for a while and barely made any progress. Would also appreciate any pointers on this end!
Beta Was this translation helpful? Give feedback.
All reactions