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(fairseq): handle change of model file name #264

Merged
merged 2 commits into from
Jan 16, 2025
Merged

fix(fairseq): handle change of model file name #264

merged 2 commits into from
Jan 16, 2025

Conversation

eginhard
Copy link
Member

@eginhard eginhard commented Jan 16, 2025

Since 0.25.2 Coqui renames most model file names to model.pth to not have to add special cases for every name. But Fairseq models were already a special case and expected G_100000.pth. Now both G_100000.pth and model.pth are accepted. I also added two Fairseq models to the zoo tests to catch such issues earlier in the future.

Fixes #263

@eginhard eginhard merged commit 44c3491 into dev Jan 16, 2025
32 checks passed
@eginhard eginhard deleted the fix-fairseq branch January 16, 2025 09:00
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.

[Bug] Version 0.25.2 breaks the fairseq models
2 participants