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 simple CPU offloading support. #2081

Merged
merged 7 commits into from
Nov 23, 2024
Merged

Conversation

janimo
Copy link
Contributor

@janimo janimo commented Nov 18, 2024

Based on the vLLM implementation, applied to llama.py, gemma2.py and qwen2.py

Tested with unquantized Llama 3.1 8B, Gemma 2 9B and Qwen 2.5 7B on a 6GB RTX 4060.

@janimo
Copy link
Contributor Author

janimo commented Nov 18, 2024

This is the code it is based on vllm-project/vllm#6496

@merrymercy merrymercy enabled auto-merge (squash) November 23, 2024 06:00
@merrymercy merrymercy merged commit d98fa1e into sgl-project:main Nov 23, 2024
12 of 13 checks passed
@zhyncs
Copy link
Member

zhyncs commented Nov 23, 2024

@janimo @merrymercy Unit test 3 failed

@janimo
Copy link
Contributor Author

janimo commented Nov 23, 2024

@janimo @merrymercy Unit test 3 failed

@zhyncs it fails in a different test, before the one included in this PR, it seems to be an unrelated OOM present in other CI runs as well.

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