GlaDOS icon indicating copy to clipboard operation
GlaDOS copied to clipboard

CPU usage during idle listening 50%

Open l33tkr3w opened this issue 9 months ago • 4 comments

I see that when GlaDOS is sitting idle and just "Listening..." my CPU usage is hovering at 50% usage on a 14900k. Is this expected? Im just tryiong to determine if this is expected or if im not using a Cuda library somewhere. This is with the recent windows installer.

l33tkr3w avatar May 12 '24 15:05 l33tkr3w

Seems like its inferencing the VAD on CPU, but that's still too much CPU...

dnhkng avatar May 12 '24 15:05 dnhkng

Im still troubleshooting. Seems like everything is running on cudda except for onnxruntime. When I check my device info with ```

import onnxruntime as rt rt.get_device() 'GPU'

l33tkr3w avatar May 12 '24 17:05 l33tkr3w

Make sure you have uninstalled onnxruntime before installing onnxruntime-gpu.

dnhkng avatar May 12 '24 18:05 dnhkng

Make sure you have uninstalled onnxruntime before installing onnxruntime-gpu.

while in venv I did pip uninstall onnxruntime pip uninstall onnxruntime-gpu pip cache purge pip install onnxruntime-gpu

Still sits at 45-50% usage. It sees the device as GPU but somehow sets the provider to CPU.

Cuda compilation tools, release 12.2, V12.2.128

l33tkr3w avatar May 12 '24 18:05 l33tkr3w

Seems this is CPU only.

https://github.com/snakers4/silero-vad/discussions/388

dnhkng avatar May 14 '24 07:05 dnhkng