Skip to content

Commit

Permalink
fix peft init
Browse files Browse the repository at this point in the history
  • Loading branch information
iMountTai committed Sep 6, 2023
1 parent f7f1400 commit 73f44c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/training/peft/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
TaskType,
bloom_model_postprocess_past_key_value,
get_peft_model_state_dict,
prepare_model_for_int8_training,
# prepare_model_for_int8_training,
set_peft_model_state_dict,
shift_tokens_right,
)
2 changes: 1 addition & 1 deletion scripts/training/peft/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
TRANSFORMERS_MODELS_TO_PREFIX_TUNING_POSTPROCESS_MAPPING,
_set_trainable,
bloom_model_postprocess_past_key_value,
prepare_model_for_int8_training,
# prepare_model_for_int8_training,
shift_tokens_right,
transpose,
)
Expand Down

0 comments on commit 73f44c4

Please sign in to comment.