-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
[Bug]: ModuleNotFoundError: No module named 'bitsandbytes' #5503
Comments
This is a feature, if you want to use bitsandbytes in VLLM, you must install bitsandbytes yourself firstly |
Okay, thanks for the clarification. Any preferred way of adding feature dependencies to the vLLM image during run? |
If i undestand correctly, perhaps you can try: docker exec -ti container_id /bin/bash After entering the container, run: pip install bitsandbytes>=0.42.0 BTY, If you build image using dockerfile ,you can add this dependency in dockerfile |
Please send a PR to include it in the Dockerfile so it can work out of the box. |
If I want to spawn a container with a given bitsandbytes model, the container will crash because of this missing dependency. +1 for having this right in the image. |
annoying, lol |
I had to write a dockerfile like this and it worked
|
Your current environment
Using Docker!
🐛 Describe the bug
Running v0.5.0 docker image with bitsandbytes quantization gives me the follwoing error:
The text was updated successfully, but these errors were encountered: