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):
def __init__(
self,
input_size: int,
output_size: int,
output_size: list[int],
quant_config: QuantizationConfig | None = None,
prefix: str = "",
):
......@@ -726,7 +726,7 @@ class DeepSeekV2FusedQkvAProj(MergedColumnParallelLinear):
bias=False,
quant_config=quant_config,
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.
......
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