Skip to content

ruby : add Core ML support #3214

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

Merged
merged 17 commits into from
Jun 1, 2025
Merged

Conversation

KitaitiMakoto
Copy link
Collaborator

Currently, on Ruby bindings, model name (like "base") can be used to load model file instead of URI and is downloaded automatically:

whisper = Whisper::Context.new("base")
# Automatically downloads model file from https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-base.bin

But you need generate or download correspondent Core ML model files and move them to the directory the same to normal models manually.

This pull request adds auto-download feature for Core ML models.

Thank you.

@KitaitiMakoto KitaitiMakoto merged commit 0251445 into ggml-org:master Jun 1, 2025
50 of 51 checks passed
@KitaitiMakoto KitaitiMakoto deleted the ruby-coreml branch June 1, 2025 09:16
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