Hello everyone, Can someone tell me how to fix thi...
# agents
h
Hello everyone, Can someone tell me how to fix this warning?
Copy code
{
  "message": "inference is slower than realtime",
  "level": "WARNING",
  "name": "livekit.plugins.silero",
  "delay": 0.7082996129967505,
  "pid": 22766,
  "job_id": "AJ_RYqrFY3GKzuE",
  "timestamp": "2025-11-13T12:05:38.894871+00:00"
}
Because of this, we are observing latency in the calls. And we also increased the resources to fix this, but we are still getting the same warning.
@refined-appointment-81829 Can you please help with this?
And here are the VAD config we are using
Copy code
vad: {
      activation_threshold: 0.7,
      force_cpu: true,
      max_buffered_speech: 30,
      min_silence_duration: 0.4,
      min_speech_duration: 0.2,
      prefix_padding_duration: 0.2,
      sample_rate: 16000
    }
l
Looks like the CPU is struggling - This is a self hosted agent on Kubernetes? https://github.com/livekit-examples/agent-deployment/blob/main/kubernetes/agent-manifest.yaml.
h
Yes, we are self hosting agent on Kubernetes. I will increase the resource and check.
But here what we observed in our monitoring CPU utilization was never over 55%. current config : (We are not making more than 10 concurrent calls)
Copy code
resources:
  limits:
    cpu: 2800m
    memory: 6000Mi
  requests:
    cpu: "2"
    memory: 4000Mi
l
Couple of other things to check: • Please make sure you are prewarming the VAD: https://docs.livekit.io/agents/build/turns/vad/#prewarm • Check you don't have any code that might be blocking the event loop which might be confused as VAD delay
h
Will check these points as well thanks for the response