Skip to content

fix: switch silero VAD to sherpa-rs-sys#1

Merged
logabell merged 3 commits intomainfrom
fix/sherpa-silero-vad
Feb 9, 2026
Merged

fix: switch silero VAD to sherpa-rs-sys#1
logabell merged 3 commits intomainfrom
fix/sherpa-silero-vad

Conversation

@logabell
Copy link
Copy Markdown
Owner

@logabell logabell commented Feb 9, 2026

Why

Linux release builds were failing at link time with duplicate google::protobuf::* symbols because:

  • sentencepiece-sys (via CT2 Whisper) vendors protobuf-lite objects
  • ort-sys (via ort in the old Silero VAD impl) links a static libonnxruntime.a that also contains protobuf-lite

What

  • Replaced the ort-based Silero VAD with sherpa-onnx's VAD C-API via sherpa-rs-sys
  • Removed the ort dependency entirely so ONNX Runtime's static archive is no longer linked into the app

How To Test

  • CI: CI (Linux Matrix) should build the tarball and pass installer smoke + UI E2E
  • Local: cd app/src-tauri && cargo build --release

@logabell logabell merged commit 6644969 into main Feb 9, 2026
9 checks passed
@logabell logabell deleted the fix/sherpa-silero-vad branch February 9, 2026 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant