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

[core][distributed] allow custom allreduce when pipeline parallel size > 1 #6117

Merged
merged 2 commits into from
Jul 3, 2024

Conversation

youkaichao
Copy link
Member

when pipeline parallel size > 1, we can still use custom allreduce in the tensor parallel group.

Copy link
Collaborator

@andoorve andoorve left a comment

Choose a reason for hiding this comment

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

This looks good to me. Do we need a test?

@youkaichao
Copy link
Member Author

I think you already have it:

TP_SIZE=2 PP_SIZE=2 EAGER_MODE=1 CHUNKED_PREFILL=0 pytest -v -s distributed/test_pipeline_parallel.py

@andoorve
Copy link
Collaborator

andoorve commented Jul 3, 2024

I mean should we also test with and without ENABLE_ALL_REDUCE?

@youkaichao
Copy link
Member Author

I mean should we also test with and without ENABLE_ALL_REDUCE?

the current main does not test it. it is on by default, and might be turned off when hardware does not support it.

@andoorve
Copy link
Collaborator

andoorve commented Jul 3, 2024

Sure, it makes sense to me

@youkaichao
Copy link
Member Author

merge as failed tests are unrelated

@youkaichao youkaichao merged commit 3c6325f into vllm-project:main Jul 3, 2024
56 of 66 checks passed
@youkaichao youkaichao deleted the pp_ca branch July 3, 2024 21:41
robertgshaw2-redhat pushed a commit to neuralmagic/nm-vllm that referenced this pull request Jul 7, 2024
xjpang pushed a commit to xjpang/vllm that referenced this pull request Jul 8, 2024
xjpang pushed a commit to xjpang/vllm that referenced this pull request Jul 24, 2024
Alvant pushed a commit to compressa-ai/vllm that referenced this pull request Oct 26, 2024
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