-
-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Your current environment
Model Input Dumps
No response
🐛 Describe the bug
After merging #9891 , I tried the in-flight quantization with minicpmv and encountered the following error:
[rank0]: File "/vllm/vllm/model_executor/model_loader/loader.py", line 1105, in _load_weights
[rank0]: model.load_weights(qweight_iterator)
[rank0]: File "/vllm/vllm/model_executor/models/minicpmv.py", line 634, in load_weights
[rank0]: param = params_dict[name]
[rank0]: KeyError: 'vpm.encoder.layers.0.mlp.fc1.weight'
Loading safetensors checkpoint shards: 0% Completed | 0/4 [00:00<?, ?it/s]
Reproduce code
MODEL_NAME = "openbmb/MiniCPM-V-2_6"
llm = LLM(
model=MODEL_NAME,
trust_remote_code=True,
tensor_parallel_size=1,
gpu_memory_utilization=0.7,
quantization="bitsandbytes",
load_format="bitsandbytes",
)
It seems mllama
has the same issue. cc @mgoin
Before submitting a new issue...
- Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.
mgoin
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working