im getting the warning: WARNING livekit.plugins.si...
# ask-ai
m
im getting the warning: WARNING livekit.plugins.silero - inference is slower than realtime This warning indicates that the time taken to process an audio frame (inference duration) exceeds the actual duration of the audio being processed. This could lead to delays in real-time processing. what is causing this, is this the LLM being slow?
t
Thanks for reaching out, Jack. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
That warning
WARNING livekit.plugins.silero - inference is slower than realtime
pops up when the Silero Voice Activity Detection (VAD) model takes longer than real-time to process audio, which can cause some delays. Just to clarify, this isn’t about the LLM itself, but more about how the VAD is performing on your hardware. Here are a few friendly tips to help you out: • Use Compute-Optimized Infrastructure: For a smoother experience in production, try using compute-optimized instances like AWS c6i or c7i instead of burstable ones like AWS t3, since those can sometimes struggle under heavy load. • Optimize VAD Configuration: You might want to tweak settings like forcing CPU usage or lowering the sample rate to 8kHz to lighten the computational load. • Monitor Resource Usage: Keep an eye on your system’s load to make sure there’s enough CPU power available. If you want a hand walking through any of these steps, just give me a shout—I’m here to help! Sources: livekit-plugins/livekit-plugins-silero/livekit/plugins/silero/onnx_model.py | LiveKit turn detector plugin | LiveKit Docs | plugins/silero/CHANGELOG.md