"vscode:/vscode.git/clone" did not exist on "da4e7687b5d21d405bf229a74e055cc78cbcc06b"
Unverified Commit 15859f23 authored by Jee Jee Li's avatar Jee Jee Li Committed by GitHub
Browse files

[[Misc]Upgrade bitsandbytes to the latest version 0.45.0 (#11201)

parent 88693683
......@@ -218,7 +218,7 @@ FROM vllm-base AS vllm-openai
# install additional dependencies for openai api server
RUN --mount=type=cache,target=/root/.cache/pip \
pip install accelerate hf_transfer 'modelscope!=1.15.0' 'bitsandbytes>=0.44.0' timm==0.9.10
pip install accelerate hf_transfer 'modelscope!=1.15.0' 'bitsandbytes>=0.45.0' timm==0.9.10
ENV VLLM_USAGE_SOURCE production-docker-image
......
......@@ -11,7 +11,7 @@ Below are the steps to utilize BitsAndBytes with vLLM.
.. code-block:: console
$ pip install bitsandbytes>=0.44.0
$ pip install bitsandbytes>=0.45.0
vLLM reads the model's config file and supports both in-flight quantization and pre-quantized checkpoint.
......
......@@ -25,7 +25,7 @@ datamodel_code_generator # required for minicpm3 test
lm-eval[api]==0.4.4 # required for model evaluation test
# quantization
bitsandbytes>=0.44.0
bitsandbytes>=0.45.0
buildkite-test-collector==0.1.9
numpy < 2.0.0
......@@ -37,7 +37,7 @@ audioread==3.0.1
# via librosa
awscli==1.35.23
# via -r requirements-test.in
bitsandbytes==0.44.1
bitsandbytes>=0.45.0
# via -r requirements-test.in
black==24.10.0
# via datamodel-code-generator
......
......@@ -145,12 +145,12 @@ class BitsAndBytesLinearMethod(LinearMethodBase):
def __init__(self, quant_config: BitsAndBytesConfig):
try:
import bitsandbytes
if bitsandbytes.__version__ < "0.44.0":
if bitsandbytes.__version__ < "0.45.0":
raise ImportError("bitsandbytes version is wrong. Please "
"install bitsandbytes>=0.44.0.")
"install bitsandbytes>=0.45.0.")
except ImportError as err:
raise ImportError("Please install bitsandbytes>=0.44.0 via "
"`pip install bitsandbytes>=0.44.0` to use "
raise ImportError("Please install bitsandbytes>=0.45.0 via "
"`pip install bitsandbytes>=0.45.0` to use "
"bitsandbytes quantizer.") from err
self.quant_config = quant_config
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment