hotfix qwen2-7b weight setting (#11991)

This commit is contained in:
binbin Deng 2024-09-02 18:11:08 +08:00 committed by GitHub
parent a40ea7038d
commit 2f3d1bd0ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -587,6 +587,7 @@ def run_decode(
(attn_layer.v_proj.weight, attn_layer.v_proj.scale),
(attn_layer.o_proj.weight, attn_layer.o_proj.scale),
(mlp_layer.gate_proj.weight, mlp_layer.gate_proj.scale),
(mlp_layer.up_proj.weight, mlp_layer.up_proj.scale),
(mlp_layer.down_proj_0.weight, mlp_layer.down_proj_0.scale),
(mlp_layer.down_proj_1.weight, mlp_layer.down_proj_1.scale)
]