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

How to use vllm with 2 GPUs? #502

Open
greatxue opened this issue Mar 12, 2025 · 0 comments
Open

How to use vllm with 2 GPUs? #502

greatxue opened this issue Mar 12, 2025 · 0 comments

Comments

@greatxue
Copy link

Just as GRPO OOM #475 stated, the vllm kv init is so large that 1 A100 80GB could not hold it, while I have 8*A100 in total.
However, only 1 GPU is allowed to assign to vllm, as vllm_device: auto or ib/python3.10/site-packages/trl/trainer/grpo_trainer.py.

How should I solve the issue? Would anybody know?

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

1 participant