iOS example app #97
Replies: 9 comments 10 replies
-
Just finished the initial implementation of the sample app and it is amazing! whisper-iphone-13-mini.mp4Edit: and I had forgotten to enable the Edit: And here is the latest version using the whisper-iphone-13-mini-2.mp4 |
Beta Was this translation helpful? Give feedback.
-
great! will it support stream mode ? @ggerganov |
Beta Was this translation helpful? Give feedback.
-
How do you enable the large project? it fails to allocate even if I manually enter the sizes |
Beta Was this translation helpful? Give feedback.
-
It looks like there is an entitlement to get up to 16gb on iPad Pro
https://9to5mac.com/2021/06/25/apps-can-request-access-to-more-ram-with-ios-15-entitlement-exceeding-normal-system-memory-limits/amp/
It looks like the parameters in iOS app are hardcoded not read from the bin
file, right?
On Thu, Dec 8, 2022 at 12:19 AM Georgi Gerganov ***@***.***> wrote:
I haven't tried, but I believe you won't be able to load the large model
because iOS apps have a memory limit of 2GB
—
Reply to this email directly, view it on GitHub
<#97 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAI2ZY44CORSMBPSP3JQHF3WMGDW7ANCNFSM6AAAAAARQRYMOE>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
Keith Siilats ***@***.*** www.bytelogics.com Fax: 646-352-4705
Phone: +1 (646) 881-4378
|
Beta Was this translation helpful? Give feedback.
-
Yeah I’m getting Malloc error and the model type is not 5 even though I
changed it to large. It looks like it doesn’t get the 20 layers from the
file.
On Thu, Dec 8, 2022 at 10:59 AM Georgi Gerganov ***@***.***> wrote:
The model size is not hardcoded. The only thing that is hardcoded in the
current example is the name of the model file:
https://github.com/ggerganov/whisper.cpp/blob/832b4f34c9a155352c9f4c121faf92dcf759f86d/examples/whisper.objc/whisper.objc/ViewController.m#L53
You just have to change it to ggml-large.bin and make sure that the model
is uploaded to the iPhone.
—
Reply to this email directly, view it on GitHub
<#97 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAI2ZYZMHBYGRE34HGBND6DWMIOWXANCNFSM6AAAAAARQRYMOE>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
Keith Siilats ***@***.*** www.bytelogics.com Fax: 646-352-4705
Phone: +1 (646) 881-4378
|
Beta Was this translation helpful? Give feedback.
-
Hi, I also ran it successfully on the Iphone 14 simulator but when I try on the actual phone I get this error, I added the large memory entitlement. The app “whisper.objc” on iPhone quit unexpectedly.
|
Beta Was this translation helpful? Give feedback.
-
Is it possible to process a transcription from a saved WAV file (vs. getting from the microphone) in your iOS implementation of Whisper? |
Beta Was this translation helpful? Give feedback.
-
Does real-time transcription have a limit? I'm only reaching 400 seconds max then it stops. Model = base |
Beta Was this translation helpful? Give feedback.
-
Implement a very basic iOS application using
whisper.cpp
The ggwave-objc project can be used as a good starting point. It already provides the audio capture functionality. We just need to pass the captured data to
whisper.cpp
.Beta Was this translation helpful? Give feedback.
All reactions