Skip to content
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

Merged
merged 36 commits into from
Jan 30, 2025
Merged

Refactor HF checkpointer #1690

merged 36 commits into from
Jan 30, 2025

Conversation

milocress
Copy link
Contributor

@milocress milocress commented Dec 6, 2024

Refactors the HF checkpointer to be more general.

Manual tests:

  • refactor-hf-checkpointer-peft-4xfWFZ
  • refactor-hf-checkpointer-no-peft-nMFI4o

@milocress milocress requested a review from a team as a code owner December 6, 2024 18:17
@milocress milocress changed the title Harbor checkpointer [WIP] Harbor checkpointer Dec 6, 2024
@milocress milocress marked this pull request as draft December 6, 2024 18:27
@milocress milocress changed the title [WIP] Harbor checkpointer [WIP] Refactor HF checkpointer Dec 6, 2024
@milocress milocress marked this pull request as ready for review December 17, 2024 16:41
@milocress milocress changed the title [WIP] Refactor HF checkpointer Refactor HF checkpointer Dec 17, 2024
@milocress milocress requested a review from dakinggg January 29, 2025 19:06
Copy link
Collaborator

@dakinggg dakinggg left a 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.

@milocress milocress requested a review from a team as a code owner January 30, 2025 19:37
@milocress milocress enabled auto-merge (squash) January 30, 2025 19:44
@milocress milocress merged commit cc0df9f into main Jan 30, 2025
9 checks passed
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.

2 participants