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

Can I use two GPUs for VLLM? #471

Open
RL4LLM opened this issue Mar 4, 2025 · 2 comments
Open

Can I use two GPUs for VLLM? #471

RL4LLM opened this issue Mar 4, 2025 · 2 comments

Comments

@RL4LLM
Copy link

RL4LLM commented Mar 4, 2025

Thank you for your work.

I understand that you are using 1 GPU for VLLM inference and the other 7 GPUs for training.

Can I use two GPUs for VLLM inference? I noticed that using 1 GPU results in an out-of-memory (OOM) error when I set the max_completion_length to a large value.

@samma1570
Copy link

same problem

@tastelikefeet
Copy link

tastelikefeet commented Mar 8, 2025

you can try SWIFT based on TRL and supports multi vllms and tensor-parallel

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

No branches or pull requests

3 participants