Skip to content

Commit

Permalink
default adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
dakinggg committed Jan 5, 2024
1 parent bcd45cc commit 5f4ebd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llmfoundry/callbacks/hf_checkpointer.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def _save_checkpoint(self, state: State, logger: Logger):
base_model = original_model.get_base_model()
new_base_model_instance = type(base_model)(copied_config)

new_model_instance = type(original_model)(new_base_model_instance, original_model.peft_config)
new_model_instance = type(original_model)(new_base_model_instance, original_model.peft_config['default'])
else:
new_model_instance = type(original_model)(copied_config)

Expand Down

0 comments on commit 5f4ebd9

Please sign in to comment.