-
Based on the readme (https://github.com/ggml-org/whisper.cpp/blob/5527454cdb3e15d7e2b8a6e2afcb58cb61651fd2/examples/stream.wasm/README.md) says "Note: 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. So the worker file will not be geneated for versions later than 3.1.58." By main does this mean the single file generated bin\libstream.js |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, this should be the case. For example, I'm currently using Emscripten version: $ emcc --version
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 4.0.12 (6f625bd62ee64f4f8cd11476774741b961e4a2d5)
Copyright (C) 2025 the Emscripten authors (see AUTHORS.txt)
This is free and open source software under the MIT license.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. And in the build directory that is created for an Emscripten build of whisper.cpp: $ ls build-em/bin/
bench.wasm command.wasm libbench.js libcommand.js libmain.js libstream.js stream.wasm whisper.wasm
$ ls build-em/bin/stream.wasm/
helpers.js index.html stream.js |
Beta Was this translation helpful? Give feedback.
Yes, this should be the case. For example, I'm currently using Emscripten version:
And in the build directory that is created for an Emscripten build of whisper.cpp: