Skip to content

Commit

Permalink
fix name
Browse files Browse the repository at this point in the history
  • Loading branch information
DTennant committed Apr 30, 2024
1 parent 3a091cd commit 8b40d23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/peft/utils/save_and_load.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ def set_peft_model_state_dict(
PeftType.OFT: "oft_",
PeftType.POLY: "poly_",
PeftType.BOFT: "boft_",
PeftType.LN_TUNING: "ln_tuning",
PeftType.LN_TUNING: "ln_tuning_",
PeftType.VERA: "vera_lambda_",
}[config.peft_type]
for k, v in state_dict.items():
Expand Down

0 comments on commit 8b40d23

Please sign in to comment.