fix(silero): update bundled VAD checkpoint to v6.2 - #6816
Merged
Conversation
The plugin bundled the v6.1 checkpoint, while inference.VAD already ran v6.2 through livekit-local-inference. The two ship the model separately, so they had drifted onto different checkpoints. The v6.2 model is more accurate on short utterances, muted speech and lower quality phone calls. Its input and output signature is unchanged, so no plugin code changes and both 8kHz and 16kHz still work. Adds a test asserting the plugin and inference.VAD agree window by window, so the two copies cannot drift apart again. Fixes #6815
Member
|
There are some differences between the inference and the silero one:
so maybe we should not add the test now? |
chenghao-mou
approved these changes
Aug 12, 2026
chenghao-mou
left a comment
Member
There was a problem hiding this comment.
lgtm, one nit about the test
Contributor
Author
the test compares the raw model output directly, EMA lives in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The plugin bundled the v6.1 Silero checkpoint, while
inference.VADalready ran v6.2 throughlivekit-local-inference. Each ships the model separately, so the two drifted apart. v6.1 misses short utterances that v6.2 detects.Fix
The bundled ONNX file now holds the v6.2 model: https://github.com/snakers4/silero-vad/releases/tag/v6.2. The signature is unchanged, so no code changes. A new test asserts the plugin and
inference.VADagree, so they cannot drift again.VAD.load()still acceptsonnx_file_pathto stay on v6.1.Fixes #6815