"vllm/vscode:/vscode.git/clone" did not exist on "bbf80ede4325ae8bed35dfb1c04be63e6b0ce372"
Unverified Commit 7f51e938 authored by Wei Zhao's avatar Wei Zhao Committed by GitHub
Browse files

[Bug] Fix DeepSeek V3 weight loading caused by incorrect prefix (#34876)


Signed-off-by: default avatarwzhao18 <wzhao18.sz@gmail.com>
parent 4611af16
...@@ -716,7 +716,7 @@ class DeepSeekV2FusedQkvAProj(MergedColumnParallelLinear): ...@@ -716,7 +716,7 @@ class DeepSeekV2FusedQkvAProj(MergedColumnParallelLinear):
def __init__( def __init__(
self, self,
input_size: int, input_size: int,
output_size: int, output_size: list[int],
quant_config: QuantizationConfig | None = None, quant_config: QuantizationConfig | None = None,
prefix: str = "", prefix: str = "",
): ):
...@@ -726,7 +726,7 @@ class DeepSeekV2FusedQkvAProj(MergedColumnParallelLinear): ...@@ -726,7 +726,7 @@ class DeepSeekV2FusedQkvAProj(MergedColumnParallelLinear):
bias=False, bias=False,
quant_config=quant_config, quant_config=quant_config,
disable_tp=True, disable_tp=True,
prefix=f"{prefix}.kv_a_proj_with_mqa", prefix=prefix,
) )
# Check if the DeepSeek V3 fused A GEMM kernel can be used. # Check if the DeepSeek V3 fused A GEMM kernel can be used.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment