Execution Time Analysis, Reroute Enhancement, Node collection for developers.
Guide: ComfyUI-Manager How-to-use
In your ComfyUI directory:
$ cd custom_nodes
$ git clone https://github.com/ty0x2333/ComfyUI-Dev-Utils.git
$ cd ComfyUI-Dev-Utils
$ pip install -r requirements.txt
Finally, restart ComfyUI
Execution Time Analysis Tool
When running, a Badge will be added to the upper left corner of the Node to display the execution time of the node.
<details open> <summary>Preview</summary> <img src="https://github.com/ty0x2333/ComfyUI-Dev-Utils/wiki/images/execution-time-badge.png" style="height: 150px"> </details>Add Execution Time
Node to display the execution time of each node in a table. At the same time, the current
execution time and the last execution time, as well as their differences, will be displayed.
Add a "Clear Execution Cache" button to the sidebar menu. Click it to clear the current cache(unload models and free memory).
<details open> <summary>Preview</summary> <img src="https://github.com/ty0x2333/ComfyUI-Dev-Utils/wiki/images/clear-execution-cache-button.png" style="height:200px"> </details>Log Console
Provide a Console panel to display Python logs (not Javascript console.log).
LogConsole
automatically captures the output of print
, logging
, stdout
and stderr
. Then send it to the web page via SSE.
LogConsole
Feautes:
Reroute Enhancement
Add "Reroute" option to node slot menu.
<details open> <summary>Preview</summary> <table class="center"> <tr style="line-height: 0"> <td width=50% style="border: none; text-align: center">Before</td> <td width=50% style="border: none; text-align: center">After</td> </tr> <tr> <td width=50% style="border: none"><img src="https://github.com/ty0x2333/ComfyUI-Dev-Utils/wiki/images/before-reroute.gif" style="width:100%"></td> <td width=50% style="border: none"><img src="https://github.com/ty0x2333/ComfyUI-Dev-Utils/wiki/images/after-reroute.gif" style="width:100%"></td> </tr> </table> </details>Optimized for deleting Reroute Node.
<details open> <summary>Preview</summary> <table class="center"> <tr style="line-height: 0"> <td width=50% style="border: none; text-align: center">Before</td> <td width=50% style="border: none; text-align: center">After</td> </tr> <tr> <td width=50% style="border: none"><img src="https://github.com/ty0x2333/ComfyUI-Dev-Utils/wiki/images/before-delete-reroute-node.gif" style="width:100%"></td> <td width=50% style="border: none"><img src="https://github.com/ty0x2333/ComfyUI-Dev-Utils/wiki/images/after-delete-reroute-node.gif" style="width:100%"></td> </tr> </table> </details>UrlDownload
Node
Download file from remote url and get file path
UploadAnything
Node
Upload any file and get file path
ComfyUI-Dev-Utils is available under the MIT license. See the LICENSE file for more info.