[Model] Provide clearer error for missing KV cache quantization scales (#3007)

This commit is contained in:
littledgg
2025-07-24 20:15:00 +08:00
committed by GitHub
parent c40df1802e
commit f37d00e856
3 changed files with 3 additions and 0 deletions

View File

@@ -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,