-
Notifications
You must be signed in to change notification settings - Fork 541
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor HF checkpointer #1690
Refactor HF checkpointer #1690
Conversation
…undry into milo/harbor-checkpointer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks right, but the test runs you linked I think don't use it? They appear to be an image with foundry main installed, without specifying a commit/branch to install over that. In particular, the peft checkpoint in the linked run doesn't have a "final_model_checkpoint" in the artifacts, as the non peft run does. I'd expect them to have the same file structure after this pr.
Refactors the HF checkpointer to be more general.
Manual tests:
refactor-hf-checkpointer-peft-4xfWFZ
refactor-hf-checkpointer-no-peft-nMFI4o