comfyanonymous / ComfyUI

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.
https://www.comfy.org/
GNU General Public License v3.0
56.22k stars 5.96k forks source link

Run on CPU mode,but CPU useage is verlow.Not sure it is a bug or what. #4264

Closed bxjxxyy closed 1 month ago

bxjxxyy commented 3 months ago

Your question

comfyui run on cpu mode(don't have gpu),but cpu useage is verlow,less than 10%. 3f72a914182f3f6902f3b178803998a About 1 year ago,I was tried on another computer with 8700K CPU,it was 100% CPU useage.

Logs

No response

Other

No response

bxjxxyy commented 3 months ago

I found my old version of ComfyUI,and it almost maximize CPU load on one CPU 1723183590470

comfyanonymous commented 3 months ago

That's a bug with pytorch 2.4. Use the package linked on here: https://github.com/comfyanonymous/ComfyUI/releases/tag/v0.0.4 it has pytorch 2.3.1 or downgrade to pytorch 2.3.1

ArdeniusAI commented 1 month ago

I use this Comfyui-cpu to run on cpu only web servers. Comfyui-cpu is a trimmed down fork here https://github.com/ArdeniusAI/ComfyUI-cpu