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

Limit Huggingface model download size #754

Merged
merged 15 commits into from
May 26, 2024
Merged

Conversation

raivisdejus
Copy link
Collaborator

Often models on the Huggingface hub under the same model name are in multiple formats, so people can download them for different engines. Each supported format will hold a copy of the model in its format. For larger models this can easily add up to multiple GBs.

This PR will specify files to download for use with Transformers whisper, so only the necessary files are downloaded and not the whole model on the hub.

This PR also includes fix for macOS build from #751

@raivisdejus raivisdejus merged commit 52c0e52 into main May 26, 2024
12 checks passed
@raivisdejus raivisdejus deleted the limit-hf-download-size branch May 26, 2024 06:38
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.

1 participant