Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
8e6c7e87
Unverified
Commit
8e6c7e87
authored
Aug 06, 2025
by
Jee Jee Li
Committed by
GitHub
Aug 05, 2025
Browse files
[Bugfix] Fix MoE BNB version (#22260)
Signed-off-by:
Jee Jee Li
<
pandaleefree@gmail.com
>
parent
6a515304
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
vllm/model_executor/layers/quantization/bitsandbytes.py
vllm/model_executor/layers/quantization/bitsandbytes.py
+4
-4
No files found.
vllm/model_executor/layers/quantization/bitsandbytes.py
View file @
8e6c7e87
...
@@ -412,12 +412,12 @@ class BitsAndBytesMoEMethod(FusedMoEMethodBase):
...
@@ -412,12 +412,12 @@ class BitsAndBytesMoEMethod(FusedMoEMethodBase):
def
__init__
(
self
,
quant_config
:
BitsAndBytesConfig
):
def
__init__
(
self
,
quant_config
:
BitsAndBytesConfig
):
try
:
try
:
import
bitsandbytes
import
bitsandbytes
if
bitsandbytes
.
__version__
<
"0.4
5.3
"
:
if
bitsandbytes
.
__version__
<
"0.4
6.1
"
:
raise
ImportError
(
"bitsandbytes version is wrong. Please "
raise
ImportError
(
"bitsandbytes version is wrong. Please "
"install bitsandbytes>=0.4
5.3
."
)
"install bitsandbytes>=0.4
6.1
."
)
except
ImportError
as
err
:
except
ImportError
as
err
:
raise
ImportError
(
"Please install bitsandbytes>=0.4
5.3
via "
raise
ImportError
(
"Please install bitsandbytes>=0.4
6.1
via "
"`pip install bitsandbytes>=0.4
5.3
` to use "
"`pip install bitsandbytes>=0.4
6.1
` to use "
"bitsandbytes quantizer."
)
from
err
"bitsandbytes quantizer."
)
from
err
self
.
topk_indices_dtype
=
None
self
.
topk_indices_dtype
=
None
self
.
quant_config
=
quant_config
self
.
quant_config
=
quant_config
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment