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

feat(ios): make option for enable/disable Core ML #145

Merged
merged 4 commits into from
Oct 12, 2023
Merged

Conversation

jhen0409
Copy link
Member

Make an useCoreMLIos option, it prefers to use Core ML model if exists. If set to false, even if the Core ML model exists, it will not be used.

Currently it just use a patch for whisper.cpp, maybe we can just use WHISPER_API *_no_state instead, but it seems not very useful because we can't assign whisper_state externally. I'll look for a better way after merged.

@jhen0409 jhen0409 merged commit 66e9a0c into main Oct 12, 2023
@jhen0409 jhen0409 deleted the ios-coreml-enable branch October 12, 2023 04:13
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