Parakeet v Whisper h2h #26

Merged
iamdoubz merged 21 commits from test_parakeet into main 2026-07-16 10:23:17 -05:00
Showing only changes of commit d89b99db6c - Show all commits
+10
View File
@@ -0,0 +1,10 @@
# Fix: whisper.cpp (whisper-rs-sys) is configured by the cmake crate, which
# hardcodes opt_level(0) and overwrites CMake's default MSVC Release flags
# (/O2 /Ob2 /DNDEBUG) with unoptimized ones — ggml's CPU kernels were compiled
# at /Od with asserts on, making CPU-only transcription ~40x slower than real
# time (bench finding W1, docs/benchmarks/2026-07-parakeet-vs-whisper.md).
# cc-rs appends these env flags after its own, so they win for every native
# dep. MSVC-only flags are fine: WhispAssist is a Windows-native app.
[env]
CFLAGS = "/O2 /DNDEBUG"
CXXFLAGS = "/O2 /DNDEBUG"