Skip to content

Remove dependency on CuPy #2152

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

Merged
merged 5 commits into from
Dec 17, 2023
Merged

Remove dependency on CuPy #2152

merged 5 commits into from
Dec 17, 2023

Conversation

WoosukKwon
Copy link
Collaborator

Should be merged after #2151

It turns out that TORCH_NCCL_AVOID_RECORD_STREAMS=1 enables using torch.distributed.all_reduce with CUDA Graphs. Therefore, we can remove the dependency on CuPy.

@WoosukKwon WoosukKwon changed the title Remove CuPy dependency in CUDA graph Remove dependency on CuPy Dec 17, 2023
Copy link
Collaborator

@Yard1 Yard1 left a comment

Choose a reason for hiding this comment

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

Very cool!

Copy link
Member

@zhuohan123 zhuohan123 left a comment

Choose a reason for hiding this comment

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

This is awesome!!!

@WoosukKwon WoosukKwon merged commit c3372e8 into main Dec 17, 2023
@WoosukKwon WoosukKwon deleted the remove-cupy branch December 17, 2023 09:49
xjpang pushed a commit to xjpang/vllm that referenced this pull request Dec 18, 2023
hongxiayang pushed a commit to hongxiayang/vllm that referenced this pull request Feb 13, 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.

3 participants