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

Add Pivot AllToAll algorithm for Rome model #503

Merged
merged 8 commits into from
Feb 21, 2022

Conversation

yzygitzh
Copy link
Contributor

This commit adds a new Pivot AlltoAll algorithm for Rome model. The algorithm is bandwidth-optimal for ring-based topologies, and brings ~70% speedup compared with direct P2P based AllToAll on rome_model_56.

@yzygitzh yzygitzh changed the title Add Feature - Add Pivot AllToAll algorithm for Rome model Add Pivot AllToAll algorithm for Rome model Feb 18, 2022
src/enqueue.cc Outdated Show resolved Hide resolved
src/enqueue.cc Outdated Show resolved Hide resolved
@wenkaidu wenkaidu merged commit b569c0a into ROCm:develop Feb 21, 2022
pytorchmergebot pushed a commit to pytorch/pytorch that referenced this pull request Apr 22, 2022
facebook-github-bot pushed a commit to pytorch/pytorch that referenced this pull request Apr 26, 2022
Summary:
use ncclAllToAll for rocm version > 5.0; ROCm/rccl#503

detail on ncclAllToAll:
ROCm/rccl#503

jithunnair-amd  amathews-amd

Pull Request resolved: #75128
Approved by: https://github.com/wenkaidu, https://github.com/yzygitzh, https://github.com/seemethere

Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/97fbe6f0a4d136d34fae851ffee823cb5e73bf71

Reviewed By: seemethere, osalpekar

Differential Revision: D35874469

fbshipit-source-id: 653579837396cdc55bf3a7c2be0e893e16990c9a
pruthvistony pushed a commit to ROCm/pytorch that referenced this pull request Apr 28, 2022
pruthvistony pushed a commit to ROCm/pytorch that referenced this pull request Apr 28, 2022
pruthvistony pushed a commit to ROCm/pytorch that referenced this pull request Apr 28, 2022
jithunnair-amd pushed a commit to jithunnair-amd/pytorch that referenced this pull request Sep 20, 2022
jithunnair-amd pushed a commit to ROCm/pytorch that referenced this pull request Sep 28, 2022
@yzygitzh yzygitzh deleted the pivot-a2a branch November 29, 2023 03:35
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.

None yet

2 participants