early-window-29567
11/21/2025, 8:42 PMCould not find file "model_q8.onnx". Make sure you have downloaded the model before running the agent. Use `python3 your_agent.py download-files` to download the model.
error initializing inference runner
Traceback (most recent call last):
File "/Users/brianmwangi/projects/backend/demo/livekit-core/backend/.venv/lib/python3.11/site-packages/livekit/agents/ipc/inference_proc_lazy_main.py", line 64, in initialize
runner.initialize()
File "/Users/brianmwangi/projects/backend/demo/livekit-core/backend/.venv/lib/python3.11/site-packages/livekit/plugins/turn_detector/base.py", line 117, in initialize
local_path_onnx = _download_from_hf_hub(
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/brianmwangi/projects/backend/demo/livekit-core/backend/.venv/lib/python3.11/site-packages/livekit/plugins/turn_detector/base.py", line 40, in _download_from_hf_hub
raise RuntimeError(
RuntimeError: livekit-plugintall-airline-16756
11/21/2025, 8:42 PMtall-airline-16756
11/21/2025, 8:43 PMpython3 your_agent.py download-files
• If your project uses the UV/uvicorn entrypoint:
uv run agent.py download-files
1. Confirm the turn detector plugin is installed:
uv add "livekit-agents[turn-detector]~=1.2"
Then re-run the download command.
1. Watch the download output for errors (network, permission, or 403/404). If you see any network errors, check that your machine can reach huggingface.co.
2. Verify the model file exists where the agent expects it. Search your project for `model_q8.onnx`:
find . -name "model_q8.onnx"
If it’s not found, the download did not complete or placed it in a different cache location.
1. If the file is present but the agent still errors, clear the agent cache (remove the plugin’s cache directory) and re-run the download command.
Please run steps 1–4 and share:
• The exact command you used to download,
• Any errors printed during download,
• Output of find . -name "model_q8.onnx".
I’ll use that info to recommend the next step.
Sources: LiveKit turn detector plugin | LiveKit docs