"vscode:/vscode.git/clone" did not exist on "c91b64f749d3deeabf1b035db50553088e1e5c2c"
Commit 04d33670 authored by zhuwenwen's avatar zhuwenwen
Browse files

remove unused code

parent 510401e2
...@@ -577,9 +577,6 @@ class LlamaForCausalLM(nn.Module, SupportsLoRA): ...@@ -577,9 +577,6 @@ class LlamaForCausalLM(nn.Module, SupportsLoRA):
"lm_head.weight" "lm_head.weight"
] ]
if self.use_lm_nn:
lay_key_words.append("lm_head.weight")
combined_words = "|".join(lay_key_words) combined_words = "|".join(lay_key_words)
lay_qkv_words = ["self_attn.qkv_proj.weight"] lay_qkv_words = ["self_attn.qkv_proj.weight"]
......
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