Annoyingly high idle CPU usage #358
-
Hey, Cargo.toml
main.rs
server.rs
model.rs
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Are you certain the CPU usage is coming from ONNX Runtime? I believe its worker threads do occasionally spin but usually for a very short time before putting the thread to sleep (iirc that's a bit faster for high throughput scenarios). I don't get any idle CPU usage when I modify the (btw, you should be using |
Beta Was this translation helpful? Give feedback.
Thanks for the pointer, yes it seems sth else caused the high idle usage.