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

Add fc to HF export #1209

Merged
merged 11 commits into from
May 16, 2024
Merged

Add fc to HF export #1209

merged 11 commits into from
May 16, 2024

Conversation

dakinggg
Copy link
Collaborator

@dakinggg dakinggg commented May 15, 2024

The HF export was missing the fc.py file and the associated register, so would result in an error when trying to load the HF exported model. This PR both fixes the issue, and adds a unit test that would've caught it, which requires clearing the registry for the unit test to simulate a fresh environment.

The move of MultiTokenEOSCriteria is just because Composer dev has removed that class, and it is now in foundry.

Copy link
Contributor

@snarayan21 snarayan21 left a comment

Choose a reason for hiding this comment

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

lgtm, thanks for the description too

@dakinggg dakinggg merged commit dc3212e into mosaicml:main May 16, 2024
9 checks passed
@dakinggg dakinggg deleted the add-fc-to-hf branch June 22, 2024 20:47
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

4 participants