Partial Execution is a practical feature in ComfyUI’s node selection toolbox that allows you to selectively run specific parts of a workflow without executing all nodes in the entire workflow. This feature only activates when the selected node is an output node, and when activated, it displays as a green triangle icon.
Detailed Explanation of Partial Execution
Partial Execution, as the name suggests, executes only a specific branch of the workflow rather than running all nodes in the entire workflow.
In the comparison diagram above, the differences between partial execution and complete workflow execution are shown:
- Partial Execution (left): Only runs the workflow branch from the starting node to the specified output node
- Complete Execution (right): Executes all nodes in the workflow
This feature allows you to more flexibly test and debug specific parts of your workflow, avoiding the need to run the entire workflow every time, thus saving time and computational resources.
How to Use the Partial Execution Feature?
To use the partial execution feature, the following condition must be met: the currently selected node must be an output node, such as a save node or preview node. When the condition is met, the button in the toolbox will turn into a green triangle icon after selecting the node. Click this icon to run the corresponding partial workflow.
Frequently Asked Questions
Q: Why do all nodes run when using this feature?
A: The related defects of this feature were only fixed around version 1.24.3, so it’s recommended to update your ComfyUI to the latest version to ensure the frontend version meets the requirements. In frontend version 1.23.4, this feature’s defects persisted until they were fixed in version 1.24.3.