Nodes Browser

ComfyDeploy: How ComfyUI-Dev-Utils works in ComfyUI?

What is ComfyUI-Dev-Utils?

Execution Time Analysis, Reroute Enhancement, Node collection for developers.

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for ComfyUI-Dev-Utils and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

ComfyUI-Dev-Utils

GitHub Tag

Installation

ComfyUI-Manager

Guide: ComfyUI-Manager How-to-use

Manual

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

Features

  1. Execution Time Analysis Tool

    <details open> <summary>Usage Example (Video)</summary>

    Execution Time Analysis Demo

    </details>
  2. 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.

    <img width="600" alt="2024-04-28 07 42 37" src="https://github.com/ty0x2333/ComfyUI-Dev-Utils/assets/7489176/08a4da36-8cf7-4ff9-8fc1-1e1f955cd317">

    LogConsole Feautes:

    • based on SSE, not Websocket. It will not affect the performance of ComfyUI's core and other functions.
    • Support text color. Differentiate error logs by color.
    • Lazy startup, only starts capturing logs when needed.
    • Supports completely disabling LogConsole.
    <br/> <details open> <summary>Usage Example (Video)</summary>

    LogConsole Demo

    </details>
  3. Reroute Enhancement

  4. UrlDownload Node

    Download file from remote url and get file path

  5. UploadAnything Node

    Upload any file and get file path

Reference

License

ComfyUI-Dev-Utils is available under the MIT license. See the LICENSE file for more info.