Skip to content

fix bug: no adapter ckpt#401

Open
CharlesLiu7 wants to merge 3 commits into
tloen:mainfrom
CharlesLiu7:fix_ckpt_is_null_due_to_peft_version_change
Open

fix bug: no adapter ckpt#401
CharlesLiu7 wants to merge 3 commits into
tloen:mainfrom
CharlesLiu7:fix_ckpt_is_null_due_to_peft_version_change

Conversation

@CharlesLiu7

Copy link
Copy Markdown

peft change get_peft_model_state_dict from get_peft_model_state_dict(model, state_dict=None) to get_peft_model_state_dict(model, state_dict=None, adapter_name="default"), so the ckpt at the end of the training is not saved.

Change-Id: I1b21191e54c911b0463c47798d51c046d5857230

liuhuiqi.7 added 3 commits April 27, 2023 17:13
Change-Id: I1b21191e54c911b0463c47798d51c046d5857230
Change-Id: I7490b9d4c6980258caa54615f2a56fa60c8a1928
Change-Id: Id1600f1fc27f2c0e3e6acdb20113f7982c3bfa0e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant