rgthree-comfy

Aug 12, 2021 | Data Science

Making ComfyUI more comfortable!

The Nodes

A collection of nodes and improvements created while messing around with ComfyUI. I made them for myself to make my workflow cleaner, easier, and faster. You’re welcome to try them out. But remember, I made them for my own use cases 🙂

Get Started

Install

  1. Install the great ComfyUi.
  2. Clone this repo into custom_modules:
    cd ComfyUI/custom_nodes
    git clone https://github.com/rgthree/rgthree-comfy.git
  3. Start up ComfyUI.

Settings

You can configure certain aspects of rgthree-comfy. For instance, perhaps a future ComfyUI change breaks rgthree-comfy, or you already have another extension that does something similar and you want to turn it off for rgthree-comfy.

You can access rgthree-settings by right-clicking on the empty part of the graph and selecting rgthree-comfy Settings or by clicking the rgthree-comfy settings in the ComfyUI settings dialog.

Note: Settings are stored in an rgthree_config.json in the rgthree-comfy directory. There are other advanced settings that can only be configured there. You can copy default settings from rgthree_config.json.default before rgthree_config.json before modifying.

Improvements & Features

rgthree-comfy adds several improvements, features, and optimizations to ComfyUI that are not directly tied to nodes.

Progress Bar

A minimal progress bar that runs along the top of the app window that shows the queue size, the current progress of a prompt execution, and the progress of multi-step nodes as well. You can remove or enable it from the rgthree-comfy settings, as well as configure the height size.

ComfyUI Recursive Optimization

An optimization to ComfyUI’s recursive execution. It helps reduce the number of cycles run during complex workflows.

Link Fixer

If your workflows sometimes have missing connections, or even errors on load, you can check for and fix any bad links by visiting this link when ComfyUI is running. You can also enable a link fixer check in the rgthree-comfy settings to receive alerts when loading a workflow with bad linking data.

Troubleshooting

  • If you experience any issues during installation, ensure that you’ve followed the installation steps correctly.
  • For errors related to missing links in workflows, utilize the Link Fixer as described above.
  • If you need to adjust settings due to conflicts with other extensions, right-click on the graph area and select the relevant settings as mentioned.
  • If you suspect that changes in ComfyUI are breaking rgthree-comfy, remember to check your settings and possibly revert to a stable configuration by copying defaults from rgthree_config.json.default.

For more insights, updates, or to collaborate on AI development projects, stay connected with fxis.ai.

Understanding the Code with an Analogy

Imagine you are a chef, working in a bustling kitchen filled with various dishes and ingredients. Each task, like chopping vegetables or boiling pasta, can be seen as a node in our recipe workflow. The rgthree-comfy setup helps you streamline your cooking by providing more efficient ways to organize these tasks.

  • The Seed Node is like your special spice that you can either use fresh or leave out for a random flavor in your dish.
  • The Reroute Node assists in directing ingredients to various pots, just as you would choose to cook one part of the meal before another.
  • Just as you might use bookmarks in a recipe book for quick navigation, the Bookmark Node allows you to access important cooking steps instantly.
  • In your kitchen, context switches help you switch from one dish to another based on the most essential task at hand, preventing over-preparation.

At fxis.ai, we believe that such advancements are crucial for the future of AI, as they enable more comprehensive and effective solutions.
Our team is continually exploring new methodologies to push the envelope in artificial intelligence, ensuring that our clients benefit from the latest technological innovations.

Stay Informed with the Newest F(x) Insights and Blogs

Tech News and Blog Highlights, Straight to Your Inbox