]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
wasm : add note about worker.js file generation [no ci] (#3133)
authorDaniel Bevenius <redacted>
Fri, 9 May 2025 13:42:45 +0000 (15:42 +0200)
committerGitHub <redacted>
Fri, 9 May 2025 13:42:45 +0000 (15:42 +0200)
commit97916476537245463d47c25cf800dd2275c76fcd
tree96f04407a203e1b927931c283776559dd23685d3
parent288304ee64ac1029a284477e0299902fc9c594cd
wasm : add note about worker.js file generation [no ci] (#3133)

This commit updates the documentation for the WASM examples to include a
note about the generation of the `worker.js` file. As of Emscripten
3.1.58 (April 2024), separate worker.js files are no longer generated
and the worker is embedded in the main JS file.

The motivation for this change is to inform users about the new behavior
of Emscripten and why the `worker.js` file may not be present.

Refs: https://github.com/ggml-org/whisper.cpp/issues/3123
examples/bench.wasm/README.md
examples/command.wasm/README.md
examples/stream.wasm/README.md
examples/whisper.wasm/README.md