Skip to content

[PJRT] Reduce the number of CPU transfers in rendezvous#4990

Merged
JackCaoG merged 5 commits into
masterfrom
wcromar/rendezvous-cpu-transfer
May 9, 2023
Merged

[PJRT] Reduce the number of CPU transfers in rendezvous#4990
JackCaoG merged 5 commits into
masterfrom
wcromar/rendezvous-cpu-transfer

Conversation

@will-cromar
Copy link
Copy Markdown
Collaborator

  • If the payloads are all empty, just return empty data immediately rather than transferring padding
  • For non-empty data, transfer the sizes to CPU once rather than once per replica

@will-cromar will-cromar requested review from JackCaoG and Liyang90 May 8, 2023 22:03
@gkroiz gkroiz mentioned this pull request May 8, 2023
Copy link
Copy Markdown
Collaborator

@JackCaoG JackCaoG left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@JackCaoG JackCaoG merged commit 40e6c59 into master May 9, 2023
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