Comfy-Org / Comfy-Org/ComfyUI

CPU load balancing.

Open
#5,067 0 comments 0 reactions 0 assignees View on GitHub
Potential Bug
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

### Expected Behavior

I was not sure if I should report this as a bug or a feature request, but one thread is consuming 100% CPU load while the other threads barely do anything:
![20240926_130304_285501220c](https://github.com/user-attachments/assets/814d1cb4-7222-4951-aefa-6b33f7f6e606)

This is during generation when the GPU also is on 100% but whatever task the CPU is calculating it should be divided through multiple threads.

### Actual Behavior

One CPU core at 100% while the others do nothing. Tested with Flux and Pony, with and without --lowvram option.. ALL test runs show this behaviour.

### Steps to Reproduce

Calculate any image.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.