Hi we keep getting this “inference is slower than ...
# agents
c
Hi we keep getting this “inference is slower than realtime” while CPU usage is hardly peaking on our instances, we have 2 instances each having 4vCPU and 8GB Ram: 2025-08-20T132444.078435407Z stdout F {“message”: “inference is slower than realtime”, “level”: “WARNING”, “name”: “livekit.plugins.silero”, “room”: “call-xxxxx+xxxxx”, “user_id”: “your user_id”, “delay”: 0.25744414400029925, “pid”: 216, “job_id”: “xxxxxx”, “timestamp”: “2025-08-20T132444.076260+00:00”} What else might be causing this and where can we possibly tweak this?
r
What kind of system are you running on. Is this cloud hosted or physical hardware?
c
Hi @refined-appointment-81829 it’s cloud hosted, but these are dedicated vCPU’s, we just upgraded to new CPU’s by the cloud provider and it seems to be more stable. Does this matter? Cloud hosted vs. physical hardware? I do have another question though (a different scenario), if we don’t set “load_threshold” for WorkerOptions, and the Worker just keeps accepting connections, and the autoscale of our infrastructure takes longer than expected, we do see the ‘inference is slower than realtime’ appearing. Does this mean that the load_threshold is kind of a protection to not accept more incoming connections and to prevent this type of error happening? And my guess would be that in this case; the worker was accepting connections, while not enough CPU present and scale up took long, so inference got slower. Is that a correct assumption?
r
c
Thanks @refined-appointment-81829