why my model is getting timeout ? Multilingual or ...
# ask-ai
h
why my model is getting timeout ? Multilingual or english model when initialized what is the issue 4814,108 - INFO livekit.agents - killing process {"pid": 16982, "inference": true} 2025-09-19 014814,111 - ERROR livekit.agents - worker failed Traceback (most recent call last): File "/opt/homebrew/Cellar/python@3.12/3.12.10_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/tasks.py", line 520, in wait_for return await fut ^^^^^^^^^ File "/Users/deepeshagrawal/testing-whispey/venv/lib/python3.12/site-packages/livekit/agents/ipc/channel.py", line 47, in arecv_message return _read_message(await dplx.recv_bytes(), messages) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/deepeshagrawal/testing-whispey/venv/lib/python3.12/site-packages/livekit/agents/utils/aio/duplex_unix.py", line 35, in recv_bytes len_bytes = await self._reader.readexactly(4) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/python@3.12/3.12.10_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/streams.py", line 752, in readexactly await self._wait_for_data('readexactly') File "/opt/homebrew/Cellar/python@3.12/3.12.10_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/streams.py", line 545, in _wait_for_data await self._waiter asyncio.exceptions.CancelledError The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/deepeshagrawal/testing-whispey/venv/lib/python3.12/site-packages/livekit/agents/cli/_run.py", line 79, in _worker_run await worker.run() File "/Users/deepeshagrawal/testing-whispey/venv/lib/python3.12/site-packages/livekit/agents/worker.py", line 403, in run await self._inference_executor.initialize() File "/Users/deepeshagrawal/testing-whispey/venv/lib/python3.12/site-packages/livekit/agents/ipc/supervised_proc.py", line 169, in initialize init_res = await asyncio.wait_for( ^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/python@3.12/3.12.10_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/tasks.py", line 519, in wait_for async with timeouts.timeout(timeout): ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/python@3.12/3.12.10_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/timeouts.py", line 115, in aexit raise TimeoutError from exc_val TimeoutError
t
Thanks for reaching out, Deepesh. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Could you please share a bit more about your setup? It would be really helpful to know: • Are you working with a specific version of LiveKit or perhaps a custom implementation? • What kind of model are you initializing (like multilingual or English)? • Have there been any recent changes to your environment or configuration? • Is the system running this facing any resource limits, such as memory or CPU usage? Gathering these details will really help us get to the bottom of the issue together.