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

Fix HF checkpointer + mlflow bugs #1125

Merged
merged 16 commits into from
Apr 23, 2024
Merged

Conversation

dakinggg
Copy link
Collaborator

@dakinggg dakinggg commented Apr 19, 2024

Fixes an edge case where an mlflow model would not be registered if the hf save interval was exactly the same as the total duration in batches and the max duration was specified in epochs.

Manual tests for chat and not chat (and deployed and checked that input example still works), both test the edge case:

  • dur-edge-case-chat-4-mztOoR
  • dur-edge-case-pr-3-u5qIfu

Note, there is now a scary exception in the mlflow model saving logs, but it is harmless. The deployment and input example still works.

@dakinggg dakinggg marked this pull request as ready for review April 23, 2024 00:29
@dakinggg dakinggg requested a review from a team as a code owner April 23, 2024 00:29
@dakinggg dakinggg requested a review from irenedea April 23, 2024 00:29
setup.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@mvpatel2000 mvpatel2000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving to unblock

@dakinggg dakinggg merged commit c53622e into mosaicml:main Apr 23, 2024
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.

None yet

3 participants