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

[Fix] Fix memory profiling when GPU is used by multiple processes #2863

Merged
merged 2 commits into from
Feb 14, 2024

Conversation

WoosukKwon
Copy link
Collaborator

Currently, the memory profiling logic assumes that the GPU memory is initially empty. However, this might not be always true since multiple processes can share a GPU. This PR fixes it by considering the other processes' GPU memory usage at the engine initialization time.

Original PR: #2249 by @hanzhi713

@WoosukKwon WoosukKwon merged commit 7e45107 into main Feb 14, 2024
17 of 19 checks passed
@WoosukKwon WoosukKwon deleted the fix-mem branch February 14, 2024 03:52
sh1ng added a commit to sh1ng/vllm that referenced this pull request Feb 28, 2024
Temirulan pushed a commit to Temirulan/vllm-whisper that referenced this pull request Sep 6, 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