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
84bee4bd
Unverified
Commit
84bee4bd
authored
Jan 23, 2025
by
Jee Jee Li
Committed by
GitHub
Jan 22, 2025
Browse files
[Misc] Improve the readability of BNB error messages (#12320)
Signed-off-by:
Jee Jee Li
<
pandaleefree@gmail.com
>
parent
fc66dee7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vllm/model_executor/model_loader/loader.py
vllm/model_executor/model_loader/loader.py
+2
-2
No files found.
vllm/model_executor/model_loader/loader.py
View file @
84bee4bd
...
...
@@ -1076,8 +1076,8 @@ class BitsAndBytesModelLoader(BaseModelLoader):
# weight tensor. So TP does not work with pre_quantized bnb models.
if
pre_quant
and
get_tensor_model_parallel_world_size
()
>
1
:
raise
ValueError
(
"Prequant BitsAndBytes models with
TP is not supported.
"
"Please try with
PP
."
)
"Prequant BitsAndBytes models with
tensor parallelism is not
"
"
supported.
Please try with
pipeline parallelism
."
)
load_8bit
=
False
if
pre_quant
:
...
...
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