Skip to content

feat: upgrade Silero VAD from v4 to v6.2 - #1790

Draft
NairoDorian wants to merge 5 commits into
cjpais:mainfrom
NairoDorian:Handy_V2
Draft

feat: upgrade Silero VAD from v4 to v6.2#1790
NairoDorian wants to merge 5 commits into
cjpais:mainfrom
NairoDorian:Handy_V2

Conversation

@NairoDorian

@NairoDorian NairoDorian commented Jul 26, 2026

Copy link
Copy Markdown

Human Written Description

Upgraded the Silero VAD (Voice Activity Detection) model from v4 to v6.2. The old silero_vad_v4.onnx (1.8 MB) has been replaced with the latest non-quantized silero_vad_v6.2.onnx (2.3 MB) from https://huggingface.co/BricksDisplay/silero-vad-6.2. Silero VAD 6.2 provides improved speech detection accuracy while maintaining the same ONNX interface, so no code API changes were needed.

The vad-rs crate wraps Silero VAD via ONNX Runtime and uses identical tensor I/O names across all Silero VAD versions, making this a drop-in model upgrade.

Related Issues/Discussions

No related issues or discussions yet. This is a proactive upgrade.

Testing

Build and run verified with bun run tauri dev:

  • Model loads correctly from silero_vad_v6.2.onnx
  • VAD logs confirm the new model path is used at runtime
  • Transcription works end-to-end with the new model
  • No fallback to VAD-less mode: recorder requires VAD preload to be available

AI Assistance

  • No AI was used in this PR

…ndows x86_64

S2B2S main already uses this fork which fixes Vulkan shader issues.
Switching Windows x86_64 from Vulkan to CUDA since CUDA 13.3 is available.
Linux also switched to CUDA. macOS stays with Metal.

- Point transcribe-cpp and transcribe-cpp-sys to handy-computer/transcribe.cpp main
- Windows x86_64: cuda feature instead of vulkan
- Linux: cuda feature instead of vulkan
- Keep macOS with metal feature
- Replace silero_vad_v4.onnx with silero_vad_v6.2.onnx (2.3 MB non-quantized)
- Download from https://huggingface.co/BricksDisplay/silero-vad-6.2/resolve/main/onnx/model.onnx
- Update all code references in cli.rs, audio.rs, silero.rs
- Update docs in AGENTS.md, CONTRIBUTING.md, CRUSH.md
- Add comprehensive VAD loading verification logs
- Promote VAD preload failure from debug to warn level
…rubato 4.x, cpal 0.18, rodio upstream, React 19, TS 7, Vite 8, ESLint 10
…ypescript 0.0.12 compatibility; update env_filter 0.1.4→2.0.0, bump JS deps (lucide-react 1.x, react-i18next 17.x, zod 4.x, etc.)
@cjpais

cjpais commented Jul 27, 2026

Copy link
Copy Markdown
Owner

Looks like you updated other files as well unrelated to the changes. Was this intentional?

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.

2 participants