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

[Usage]: if I want to run a 34B model,like yi-34B-chat,how can I use multi GPU,I just have A100 40G #4147

Closed
hellostronger opened this issue Apr 17, 2024 · 8 comments
Labels
stale usage How to use vllm

Comments

@hellostronger
Copy link

Your current environment

The output of `python collect_env.py`

How would you like to use vllm

I want to run inference of a [specific model](put link here). I don't know how to integrate it with vllm.

@hellostronger hellostronger added the usage How to use vllm label Apr 17, 2024
@hellostronger
Copy link
Author

i have tried engine_use_ray = True in AsyncEngineArgs or CUDA_VISIBLE_DEVICES = 0,1 but it still does not work ,GPU0 OOM

@kir1to00
Copy link

use tensor-parallel-size

@hellostronger
Copy link
Author

hellostronger commented Apr 18, 2024

thk, the problem that GPU0 OOM is solved, but new problem comes ,it shows " ValueError: When using LoRA, vocab size must be 32000 >= vocab_size <= 33024 " ,anybody can load the yi-34B-chat with lora successfuly? hoping your suggestion

@kir1to00
Copy link

thk, the problem that GPU0 OOM is solved, but new problem comes ,it shows " ValueError: When using LoRA, vocab size must be 32000 >= vocab_size <= 33024 " ,anybody can load the yi-34B-chat with lora successfuly? hoping your suggestioncu

maybe use max-model-len?

@jeejeelee
Copy link
Collaborator

thk, the problem that GPU0 OOM is solved, but new problem comes ,it shows " ValueError: When using LoRA, vocab size must be 32000 >= vocab_size <= 33024 " ,anybody can load the yi-34B-chat with lora successfuly? hoping your suggestion

"ValueError: When using LoRA, vocab size must be 32000 >= vocab_size <= 33024" has already been resolved by #4015. You can build the source from the main branch or wait for the 0.4.1 release. After resolving this issue, Yi-34 can load LoRA successfully.

@riverind
Copy link

riverind commented Jun 26, 2024

use tensor-parallel-size

however,use tensor-parallel-size=2 is also oom,H800-80G*2

Copy link

This issue has been automatically marked as stale because it has not had any activity within 90 days. It will be automatically closed if no further activity occurs within 30 days. Leave a comment if you feel this issue should remain open. Thank you!

@github-actions github-actions bot added the stale label Oct 29, 2024
Copy link

This issue has been automatically closed due to inactivity. Please feel free to reopen if you feel it is still relevant. Thank you!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale usage How to use vllm
Projects
None yet
Development

No branches or pull requests

4 participants