Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change transfers to do pulls on multi transfer #19931

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

rsuderman
Copy link
Contributor

Scatter-gather reduction operations are preferable due to non-parallel data transfers. To adjust for this we should only push tensors when they are mono-transfers. When distributing to multiple devices it is preferable to have the device fetch as the case of 1...8 -> 1 -> 1...8 we would prefer each device to handle its own data transfers.

@rsuderman rsuderman requested a review from benvanik as a code owner February 6, 2025 19:35
Transfers are serialized per-device. This makes cases of
0->1,2,3 to be serially move to device. In these cases it is better to
transfer on consumer to enable parallel transfer between devices.
Signed-off-by: Rob Suderman <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants