-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Closed
Description
Can we implement parallel execution of independent nodes in ComfyUI to improve performance?
Description:
Allow nodes that do not depend on each other to run simultaneously. This can optimize resource usage and reduce processing time.
Examples:
Image Processing:
- Node A: Loads Image 1, preprocesses it, and sends it to ControlNet.
- Node B: Loads Image 2 and sends it to IPAdapter.
- Node C: Segments Image 3.
All these operations can run in parallel.
Benefits:
- Faster execution.
- Better use of CPU/GPU resources.
- More efficient handling of complex workflows.
If determining which nodes are independent is complex, this configuration could be set manually for each workflow.
Would it be possible to add this feature?
Metadata
Metadata
Assignees
Labels
No labels