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

[CPU] Faster reduce kernel for SHM allreduce #4049

Merged
merged 1 commit into from
Jul 27, 2023

Conversation

delock
Copy link
Collaborator

@delock delock commented Jul 26, 2023

This PR make reduce kernel in SHM based allreduce faster by using #pragma omp parallel for.

On a server with 2 socket and SNC4 (total 8 ranks), the allreduce time can reduce from 15us to 12us for 10KB message size, and 100us to 60us for 100KB message size.

@mrwyattii mrwyattii added this pull request to the merge queue Jul 27, 2023
Merged via the queue into deepspeedai:master with commit 7f26bb6 Jul 27, 2023
polisettyvarma pushed a commit to polisettyvarma/DeepSpeed that referenced this pull request Aug 7, 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.

3 participants