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

whisper.objc : enable Core ML in example & fix segmentation fault #910

Merged
merged 9 commits into from May 14, 2023

Conversation

jhen0409
Copy link
Sponsor Contributor

@jhen0409 jhen0409 commented May 10, 2023

I got some build issues from mybigday/whisper.rn#41, I think this can be reproduced directly here. I also updated the example.

This PR is mainly turned on ARC for whisper-encoder.mm (as another files already did). It also fix segmentation fault issue. (It can be reproduced by stream example)

@jhen0409
Copy link
Sponsor Contributor Author

It also seems to fix #904.

@ggerganov please review this. Thanks!

@jhen0409 jhen0409 changed the title whisper.objc : enable Core ML in example whisper.objc : enable Core ML in example & fix segmentation fault May 12, 2023
@ggerganov ggerganov merged commit 5300117 into ggerganov:master May 14, 2023
3 of 17 checks passed
@jhen0409 jhen0409 deleted the example-coreml branch May 14, 2023 06:51
jacobwu-b pushed a commit to jacobwu-b/Transcriptify-by-whisper.cpp that referenced this pull request Oct 24, 2023
…erganov#910)

* coreml : update endcoder header import path

* coreml : force objc_arc in whisper-encoder.mm

* whisper.objc : create coreml/ group link

* whisper.objc : add coreml model link

* whisper.objc : update readme

* coreml : use -fobjc-arc for coreml/whisper-encoder.mm

* ci: create dummy .mlmodelc for pass ios build

* whisper.objc : update readme

---------

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
jacobwu-b pushed a commit to jacobwu-b/Transcriptify-by-whisper.cpp that referenced this pull request Oct 24, 2023
…erganov#910)

* coreml : update endcoder header import path

* coreml : force objc_arc in whisper-encoder.mm

* whisper.objc : create coreml/ group link

* whisper.objc : add coreml model link

* whisper.objc : update readme

* coreml : use -fobjc-arc for coreml/whisper-encoder.mm

* ci: create dummy .mlmodelc for pass ios build

* whisper.objc : update readme

---------

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
landtanin pushed a commit to landtanin/whisper.cpp that referenced this pull request Dec 16, 2023
…erganov#910)

* coreml : update endcoder header import path

* coreml : force objc_arc in whisper-encoder.mm

* whisper.objc : create coreml/ group link

* whisper.objc : add coreml model link

* whisper.objc : update readme

* coreml : use -fobjc-arc for coreml/whisper-encoder.mm

* ci: create dummy .mlmodelc for pass ios build

* whisper.objc : update readme

---------

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
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.

None yet

2 participants