Skip to content

[CPU] Faster reduce kernel for SHM allreduce - #4049

Merged
mrwyattii merged 1 commit into
deepspeedai:masterfrom
delock:gma/faster_allreduce
Jul 27, 2023
Merged

mrwyattii merged 1 commit into
deepspeedai:masterfrom
delock:gma/faster_allreduce

Conversation

@delock

@delock delock commented Jul 26, 2023

Copy link
Copy Markdown
Collaborator

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
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