mirror of
https://github.com/jags111/efficiency-nodes-comfyui.git
synced 2026-03-21 21:22:13 -03:00
9634646b40c5b997e36f32ee20eed92d35cb8192
- Added a timeout of 7 seconds to the package installation process using subprocess.check_call. If any package installation exceeds this duration, it's terminated, and a timeout message is displayed. - Improved error handling during package installation. If a package fails to install, the specific reason is now displayed to the user. Split the error message into two lines for better readability: one line indicates the failure, and the next line provides the specific error message. - Instead of relying solely on pip freeze to determine installed packages, added a function to check if a package is installed by attempting to import it. This provides a more direct and reliable way to verify if a package is available for use. - Removed the use of subprocess.getoutput which was causing hangs for some users and replaced it with subprocess.run. Streamlined the logic to determine whether to use the embedded Python executable or the system's Python for installations.
Efficiency Nodes for ComfyUI
A collection of ComfyUI custom nodes to help streamline workflows and reduce total node count.
Direct Download Link
Efficient Loader
- A combination of common initialization nodes.
- Able to load LoRA and Control Net stacks via its 'lora_stack' and 'cnet_stack' inputs.
- Can cache multiple Checkpoint, VAE, and LoRA models. (cache settings found in config file 'node_settings.json')
- Used by the XY Plot node for many of its plot type dependencies.
Ksampler & Ksampler Adv. (Efficient)
- Modded KSamplers with the ability to live preview generations and/or vae decode images.
- Used for running the XY Plot script. ('sampler_state' = "Script")
- Can be set to re-output their last outputs by force. ('sampler_state' = "Hold")
XY Plot
- Node that allows users to specify parameters for the Efficient KSampler's to plot on a grid.
SimpleEval Nodes
- A collection of nodes that allows users to write simple Python expressions for a variety of data types using the "simpleeval" library.
Examples:
- HiResFix using the Efficient Loader, Ksampler (Efficient), and HiResFix Script nodes
- SDXL Refining using the Eff. SDXL Loader, and Ksampler SDXL (Eff.)
- 2D Plotting using the XY Plot & Ksampler (Efficient) nodes
- Photobashing using the Image Overlay node
Dependencies
Dependencies are automatically installed during ComfyUI boot up.
Install:
To install, drop the "efficiency-nodes-comfyui" folder into the "...\ComfyUI\ComfyUI\custom_nodes" directory and restart UI.
Languages
Python
76.1%
JavaScript
23.5%
CSS
0.4%

.png)
.png)




