-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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]: Unable to run gemma-2-2b-it
#7060
Comments
Provided that the model architecture is the same as the 9B model, the 2B model should already be supported. Just try running vLLM with that model. |
Thank you for the response, I tried today and got the following error
vLLM version 0.5.3 |
same error for me using latest docker image |
Can you show the full log? |
i try to use
|
This means you don't have FlashInfer installed. |
thanks. I was able to run with setting environment variable in docker command as follows: volume_hf=$HF_HOME |
yes, maybe it's the reason, but i encountered this error, i install flashinfer pacakge by using
|
Make sure you're installing FlashInfer for the correct version of PyTorch/CUDA: https://github.com/flashinfer-ai/flashinfer?tab=readme-ov-file#installation |
Also, vLLM requires FlashInfer v0.0.8 (refer to the part about Gemma 2 in https://github.com/vllm-project/vllm/releases/tag/v0.5.1) |
Yes, you are right, works with v0.0.8 but not with v0.1.3, throws following error:
Using vLLM 0.5.3.post1 |
Here are the steps that helped me run fine-tuned gemma-2-2b-it with vLLM:
Based on the documentation, gemma runs on version 0.08. vLLM requires FlashInfer v0.0.8 (refer to the part about Gemma 2 in vLLM releases and Flashinfer documentation).
Hardware Should it be faster? |
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! |
This issue has been automatically closed due to inactivity. Please feel free to reopen if you feel it is still relevant. Thank you! |
After following this, for whom might still encounter some runtime error like here, it is likely #7070 suggests installing |
The model to consider.
https://huggingface.co/google/gemma-2-2b-it
The closest model vllm already supports.
https://huggingface.co/google/gemma-2-9b-it
What's your difficulty of supporting the model you want?
Faster inference
The text was updated successfully, but these errors were encountered: