mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-03-29 07:53:37 +08:00
[Misc] Improve the readability of BNB error messages (#12320)
Signed-off-by: Jee Jee Li <pandaleefree@gmail.com>
This commit is contained in:
parent
fc66dee76d
commit
84bee4bd5c
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user