[Webkit-unassigned] [Bug 260709] [GTK][WPE] Add Whisper.cpp as a submodule
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Aug 25 15:14:12 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=260709
--- Comment #12 from ChangSeok Oh <changseok at webkit.org> ---
(In reply to Michael Catanzaro from comment #9)
> (In reply to ChangSeok Oh from comment #7)
> > I attempted to bundle whisper.cpp into the SDK. In that case, we need to
> > enclose GB-sized model files as well. I have no strong preference on how we
> > bring whisper.cpp into webkit, but adding it as a submodule would be cheaper
> > in terms of maintenance burden (e.g., SDK size).
>
> I don't understand. If these model files are required, then they have to be
> shipped no matter what, right? With the WebKit SDK, the model files would be
> part of the application. With the GNOME SDK, WebKit itself is part of the
> SDK, so it becomes part of the SDK.
I might mislead you. Clearly speaking, the WebKit SDK does not necessarily need to contain model files. They are runtime requirements of whisper.cpp. My initial intention was to ship code for speech recognition (including two whisper.cpp source files) as a webkitgtk tarball and let users download model files on their needs. If the user is GNOME SDK, the GNOME distributor puts the model files into their SDK and indicates the location of the model file with a given environment variable. Having whisper.cpp as a system package would be the best. But we don't have the package. This is a temporary approach until we have it.
>
> The WebKit SDK is only used by WebKit developers. Users will be using the
> GNOME SDK. So it winds up in the SDK in the end, yes?
What about shipping part of the model files in the WebKit SDK, then? For instance, the size of ggml-base.en.bin is 141MB. A smaller one is 75MB.
https://github.com/ggerganov/whisper.cpp#memory-usage
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230825/be2f826d/attachment.htm>
More information about the webkit-unassigned
mailing list