mirror of
https://github.com/deepseek-ai/DeepSeek-R1.git
synced 2026-11-05 00:47:42 +00:00
[GH-ISSUE #487] AttributeError: Layer 'ColumnParallelLinear(in_features=512, output_features=2048, bias=False, tp_size=16, gather_output=False)' has neither weight nor qweight #389
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepSeek-R1#389
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Kha-Zix-1 on GitHub (Feb 23, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-R1/issues/487
I want to get a W8A16 deepseekR1-671B. The step is:
I make a little change to the script, here is my script
and here is part of the
model.safetensors.index.jsonof the quantized model:When I use vllm to load the model, the error is:
@Kha-Zix-1 commented on GitHub (Feb 23, 2025):
I have fixed this bug already! Let's turn to https://github.com/vllm-project/vllm/blob/v0.7.3/vllm/attention/backends/mla/utils.py
because in
model.safetensors.index.json, the attention weight name isTherefore the vllm can't know what the
weight_packedis. I change it toand the bug is fixed!
@Kha-Zix-1 commented on GitHub (Feb 23, 2025):
Here is how I execute the serve:
First I get 2 * 8A100 GPUs, and use Ray to set multi-node execution:
Then set the global vllm parameter
Then execute the vllm serve on the main node: