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

s4p44: all-reduce implementation #6

Open
alanwaketan opened this issue Jul 16, 2024 · 0 comments
Open

s4p44: all-reduce implementation #6

alanwaketan opened this issue Jul 16, 2024 · 0 comments

Comments

@alanwaketan
Copy link

In the slides, you mentioned that all-reduces are decomposed into reduce-scatter and all-gather. So basically, it costs double of those ops. However, in XLA on TPU, the reduce-scatter is often implemented with all-reduce and dynamic-slice which suggests the opposite way where all-reduce is much faster than reduce-scatter. Can you explain the differences?

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

No branches or pull requests

1 participant