Giter Site home page Giter Site logo

ltdrdata / efficiency-nodes-comfyui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jags111/efficiency-nodes-comfyui

1.0 1.0 0.0 317.36 MB

A collection of ComfyUI custom nodes.- Awesome smart way to work with nodes!

Home Page: https://civitai.com/models/32342

License: GNU General Public License v3.0

JavaScript 24.90% Python 74.68% CSS 0.42%

efficiency-nodes-comfyui's Introduction

✨🍬Planning to help this branch stay alive and any issues will try to solve or fix .. But will be slow as I run many github repos .

Efficiency Nodes for ComfyUI Version 2.0+

A collection of ComfyUI custom nodes to help streamline workflows and reduce total node count.

Releases

Please check out our WIKI for any use cases and new developments including workflow and settings.
Efficiency Nodes Wiki

Nodes:

Efficient Loader & Eff. Loader SDXL
  • Nodes that can load & cache Checkpoint, VAE, & LoRA type models. (cache settings found in config file 'node_settings.json')
  • Able to apply LoRA & Control Net stacks via their lora_stack and cnet_stack inputs.
  • Come with positive and negative prompt text boxes. You can also set the way you want the prompt to be encoded via the token_normalization and weight_interpretation widgets.
  • These node's also feature a variety of custom menu options as shown below.

    note: "🔍 View model info..." requires ComfyUI-Custom-Scripts to be installed to function.

  • These loaders are used by the XY Plot node for many of its plot type dependencies.

KSampler (Efficient), KSampler Adv. (Efficient), KSampler SDXL (Eff.)
  • Modded KSamplers with the ability to live preview generations and/or vae decode images.
  • Feature a special seed box that allows for a clearer management of seeds. (-1 seed to apply the selected seed behavior)
  • Can execute a variety of scripts, such as the XY Plot script. To activate the script, simply connect the input connection.

           

Script Nodes
  • A group of node's that are used in conjuction with the Efficient KSamplers to execute a variety of 'pre-wired' set of actions.

  • Script nodes can be chained if their input/outputs allow it. Multiple instances of the same Script Node in a chain does nothing.

    XY Plot
    • Node that allows users to specify parameters for the Efficiency KSamplers to plot on a grid.

    HighRes-Fix
    • Node that the gives user the ability to upscale KSampler results through variety of different methods.
    • Comes out of the box with popular Neural Network Latent Upscalers such as Ttl's ComfyUi_NNLatentUpscale and City96's SD-Latent-Upscaler.
    • Supports ControlNet guided latent upscaling. (You must have Fannovel's comfyui_controlnet_aux installed to unlock this feature)

    Noise Control
    • This node gives the user the ability to manipulate noise sources in a variety of ways, such as the sampling's RNG source.
    • The CFG Denoiser noise hijack was developed by smZ, it allows you to get closer recreating Automatic1111 results.
    • Note: The CFG Denoiser does not work with a variety of conditioning types such as ControlNet & GLIGEN

    • This node also allows you to add noise Seed Variations to your generations.
    • For trying to replicate Automatic1111 images, this node will help you achieve it. Encode your prompt using "length+mean" token_normalization with "A1111" weight_interpretation, set the Noise Control Script node's rng_source to "gpu", and turn the cfg_denoiser to true.

    Tiled Upscaler
    • The Tiled Upscaler script attempts to encompas BlenderNeko's ComfyUI_TiledKSampler workflow into 1 node.
    • Script supports Tiled ControlNet help via the options.
    • Strongly recommend the preview_method be "vae_decoded_only" when running the script.

    AnimateDiff
    • To unlock the AnimateDiff script it is required you have installed Kosinkadink's ComfyUI-AnimateDiff-Evolved.
    • The latent batch_size when running this script becomes your frame count.

Image Overlay
  • Node that allows for flexible image overlaying. Works also with image batches.

SimpleEval Nodes
  • A collection of nodes that allows users to write simple Python expressions for a variety of data types using the simpleeval library.
  • To activate you must have installed the simpleeval library in your Python workspace.
  • pip install simpleeval

       

Workflow Examples:

Kindly load all PNG files in same name in the (workflow driectory) to comfyUI to get all this workflows. The PNG files have the json embedded into them and are easy to drag and drop !

  1. HiRes-Fixing

  2. SDXL Refining & Noise Control Script

  3. XY Plot: LoRA model_strength vs clip_strength

  4. Stacking Scripts: XY Plot + Noise Control + HiRes-Fix

  5. Stacking Scripts: AnimateDiff + HiRes-Fix (with ControlNet)

Dependencies

The python library simpleeval is required to be installed if you wish to use the Simpleeval Nodes.

pip install simpleeval

Also can be installed with a simple pip command
'pip install simpleeval'

A single file library for easily adding evaluatable expressions into python projects. Say you want to allow a user to set an alarm volume, which could depend on the time of day, alarm level, how many previous alarms had gone off, and if there is music playing at the time.

check Notes for more information.

Install:

To install, drop the "efficiency-nodes-comfyui" folder into the "...\ComfyUI\ComfyUI\custom_nodes" directory and restart UI.

Todo

[ ] Add guidance to notebook

Comfy Resources

Efficiency Linked Repos

Guides:

If you create a cool image with our nodes, please show your result and message us on twitter at @jags111 or @NeuralismAI .

You can join the NEURALISM AI DISCORD or JAGS AI DISCORD Share your work created with this model. Exchange experiences and parameters. And see more interesting custom workflows.

Support us in Patreon for more future models and new versions of AI notebooks.

My buymeacoffee.com pages and links are here and if you feel you are happy with my work just buy me a coffee !

coffee for JAGS AI

Thank you for being awesome!

efficiency-nodes-comfyui's People

Contributors

dnl13 avatar drjkl avatar edgargracia avatar jags111 avatar jaredtherriault avatar jteijema avatar ltdrdata avatar lucianocirino avatar mijago avatar pgadoury avatar philhk avatar shiny1708 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.