bes-dev / stable_diffusion.openvino

Apache License 2.0
1.54k stars 206 forks source link

Only using half CPU #102

Closed Seegee closed 1 year ago

Seegee commented 1 year ago

For some reason, this caps out at 50% CPU usage for me. Does anyone know what I can change so it uses my full CPU?

brmarkus commented 1 year ago

Can you provide more details about your environment, please? Which HW, which OS, which version of OpenVINO are you using? Are you within a VM, a Docker container?

What do you mean with "half of the CPU"? Do you count HyperThreading in? Or considering only physical CPU-cores?

Seegee commented 1 year ago

I'm running on ArchLinux. Ryzen 5900X, 128GB DDR4, NVMe SSD. Honestly have no clue what version of OpenVINO, I just followed instructions from this repo.

When I say half of my CPU used, it seems to use exactly half of the cores. 12 cores are maxed to 100%, and the other 12 cores are idling. Overall CPU usage is at 50% only.

What's also weird is that even when I run 2 instances of the model at once, it still only uses about half my CPU.

Drake53 commented 1 year ago

https://github.com/bes-dev/stable_diffusion.openvino/issues/10