Starting the agent shows warnings about CUDA and GPU in v1.2.11
Hey,
I recently tried upgrading the package from livekit-agents=1.2.4 to 1.2.11, and am seeing these additional messages that pop up. I've also verified this by cloning agent-starter-python and starting it without making any changes. Same messages popped up
when the agent runs
[W:onnxruntime:Default, device_discovery.cc:164 DiscoverDevicesForPlatform] GPU device discovery failed: device_discovery.cc:89 ReadFileContents Failed to open file: "/sys/class/drm/card0/device/vendor"
When a call is initiated
Failed to load CUDA modules. maybe the NVIDIA driver is not installed? Failed to initialize CUDA context. Failed to open VA display. Maybe the AMD video driver or libva-dev/libdrm-dev is not installed? Failed to open VAAPI display. Failed to load CUDA modules. maybe the NVIDIA driver is not installed? Failed to initialize CUDA context.
Wondering where are these messages popping up from and are they harmless?
Steps to reproduce:
git clone https://github.com/livekit-examples/agent-starter-python.git cd agent-starter-python uv sync uv run src/agent.py dev