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: Allow converting whisper models from local paths #1118

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

remixer-dec
Copy link
Contributor

For some reason current implementation logic in the conversion script only allows to use models from predefined list or from huggingface, but when an existing path to a model on a local drive is specified in --torch-name-or-path argument, it throws an error. This error is misleading since it is thrown when a local path actually exists.

Copy link
Member

@awni awni left a comment

Choose a reason for hiding this comment

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

Thanks for the fix!

@awni awni merged commit adaab81 into ml-explore:main Nov 25, 2024
3 of 4 checks passed
mokeddembillel pushed a commit to mokeddembillel/mlx-examples that referenced this pull request Dec 16, 2024
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