Are you required to install ONNX if you want to us...
# ask-ai
p
Are you required to install ONNX if you want to use VAD Silero?
t
Thanks for reaching out, Scott. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Yes, ONNX is required to use VAD Silero. The implementation of Silero VAD is entirely built around ONNX Runtime: • The Python plugin requires
onnxruntime>=1.18
as a dependency, while the JavaScript plugin depends on
onnxruntime-node
. • A pre-trained ONNX model file (
silero_vad.onnx
) is included, which contains the actual VAD model. • The VAD class constructor uses an
onnxruntime.InferenceSession
parameter, and the
load()
method loads the ONNX model for inference. • All voice activity detection inference is performed using ONNX Runtime's inference session. Without ONNX Runtime, the Silero VAD plugin cannot function as it relies on executing the pre-trained ONNX model. Sources: examples/other/transcription/translator.py | REUSE.toml
p
what if i dont want to use onnx, what options do i have for VAD?
t
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!