mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-04 08:16:42 +08:00
[Model] Provide clearer error for missing KV cache quantization scales (#3007)
This commit is contained in:
@@ -113,6 +113,7 @@ class Qwen2Attention(nn.Layer):
|
||||
""" """
|
||||
self.qkv_proj.load_state_dict(state_dict)
|
||||
self.o_proj.load_state_dict(state_dict)
|
||||
self.attn.load_state_dict(state_dict)
|
||||
|
||||
def forward(
|
||||
self,
|
||||
|
Reference in New Issue
Block a user