Skip to content

Commit

Permalink
Hotfix for not saving correctly (axolotl-ai-cloud#762)
Browse files Browse the repository at this point in the history
  • Loading branch information
casper-hansen committed Oct 22, 2023
1 parent 5da7a36 commit 77caa94
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Empty file.
1 change: 1 addition & 0 deletions src/axolotl/monkeypatch/llama_attn_hijack_flash.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ def _post_training(self, model, name):
new_attn.q_proj.weight.data = q_proj
new_attn.k_proj.weight.data = k_proj
new_attn.v_proj.weight.data = v_proj
new_attn.o_proj.weight.data = self.o_proj.weight.data

set_module_name(model, name, new_attn)

Expand Down

0 comments on commit 77caa94

Please sign in to comment.