]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
tests : update VAD tests to use Silero V6.2.0 (#3534)
authorDaniel Bevenius <redacted>
Sat, 6 Dec 2025 09:58:58 +0000 (10:58 +0100)
committerGitHub <redacted>
Sat, 6 Dec 2025 09:58:58 +0000 (10:58 +0100)
commitd566358a1d339b471dc113303d008441f2abcc39
tree33ed11764f37b04a2818390d1c2a4835946a9a53
parent19ceec8eac980403b714d603e5ca31653cd42a3f
tests : update VAD tests to use Silero V6.2.0 (#3534)

* tests : update VAD tests to use Silero V6.2.0

This commit updates the VAD tests to use the Silero V6.2.0 instead of
V5.1.2. I'm was not sure if we needed to keep testing for both versions,
but opted to just update to the latest version for simplicity.

* wasm : use C++17 for emscripten builds

This commit updates the CMakeLists.txt file to explicitly set the C++
standard to C++17 when building with Emscripten.

The motivation for this change is that building with Emscripten
will currently fail locally and on CI with the following error:
```console
[ 75%] Building CXX object examples/CMakeFiles/common.dir/common-ggml.cpp.o
In file included from /home/danbev/work/ai/whisper.cpp/examples/stream.wasm/emscripten.cpp:5:
/home/danbev/work/utils/emsdk/upstream/emscripten/cache/sysroot/include/emscripten/bind.h:11:2: error:
      "embind requires -std=c++17 or newer"
   11 | #error "embind requires -std=c++17 or newer"
      |  ^
In file included from /home/danbev/work/ai/whisper.cpp/examples/whisper.wasm/emscripten.cpp:4:
/home/danbev/work/utils/emsdk/upstream/emscripten/cache/sysroot/include/emscripten/bind.h:11:2: error:
      "embind requires -std=c++17 or newer"
   11 | #error "embind requires -std=c++17 or newer"
      |  ^
```
CMakeLists.txt
models/for-tests-silero-v5.1.2-ggml.bin [deleted file]
models/for-tests-silero-v6.2.0-ggml.bin [new file with mode: 0644]
tests/CMakeLists.txt
tests/test-vad-full.cpp
tests/test-vad.cpp