A collection of ComfyUI custom nodes to help streamline workflows and reduce total node count.
Github Repo: https://github.com/LucianoCirino/efficiency-nodes-comfyui
Currently Available Nodes:
Ksampler (Efficient)
A modded KSampler with the ability to preview/output images and run scripts.
Efficient Loader
A combination of common initialization nodes.
XY Plotter Nodes
A collection of nodes that allows users to specify parameters for the KSampler (Efficient) to plot on a grid.
Image Overlay
Node that allows for flexible image overlaying.
SimpleEval Nodes
A collection of nodes that allows users to write simple Python expressions for a variety of data types using the "simpleeval" library.
Description
# UPDATES/CHANGES:
1. Support for basic SDXL workflows via the new Eff. Loader SDXL and KSampler SDXL (Eff.) nodes.
2. Complete redesign of many nodes, from the XY Inputs, to the Stacker nodes.
3. Tons of new features, from enhanced seed control on all KSamplers to many new XY Plot input types.
4. New HiResFix Script node that allows for ez latent upscaling.
and SO MUCH MORE...
FAQ
Comments (34)
Does it still not support XL's numerous functional nodes ?
how to use hires script with ESRGAN models only methods are shown are defaults
There seems to be a bug where the Loader resets itself back to default size, yet the Sampler stays where you set it when reloading a workflow
thanks for the upload and it seems this really changes the game on efficiency, but I get an error saying 'Model_lora_keys_unet' not defined when i generate, the checkpoint loader seems to be fine when I dun select any loras to generate, but error pops up when I select a lora, let me know if u have any info that can help =)
Recent update to comfyui broke this, any way to fix it? I appreciate your response b/c I know you're super busy with other Repo's <3
check github repo. it's now maintained by another guy.
For guys found this recently, this git is now maintained by another guy:jags111/efficiency-nodes-comfyui: A collection of ComfyUI custom nodes.- Awesome smart way to work with nodes! (github.com).
Check details on github plz.
god bless you
How do I install it?
@fenix07 The guy also said he lost interest and isn't maintaining it anymore as well.
谢谢提供
Sadly it does not work as well as the old one did. Increasing the count of anything for lora's for example, it won't expand but only to three. The one who forked it also abandoned it, fails to reply to any issues, and the issues keep stacking up. They are MIA.
@Syneira Yep
As of late I get this error :
Traceback (most recent call last):
File "S:\StableDiffusion\ComfyUI\nodes.py", line 1872, in load_custom_node
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in callwith_frames_removed
File "S:\StableDiffusion\ComfyUI\custom_nodes\efficiency-nodes-comfyui\__init__.py", line 1, in <module>
from .efficiency_nodes import NODE_CLASS_MAPPINGS
File "S:\StableDiffusion\ComfyUI\custom_nodes\efficiency-nodes-comfyui\efficiency_nodes.py", line 46, in <module>
from .py import smZ_cfg_denoiser
File "S:\StableDiffusion\ComfyUI\custom_nodes\efficiency-nodes-comfyui\py\smZ_cfg_denoiser.py", line 7, in <module>
from comfy.samplers import KSampler, CompVisVDenoiser, KSamplerX0Inpaint
ImportError: cannot import name 'CompVisVDenoiser' from 'comfy.samplers' (S:\StableDiffusion\ComfyUI\comfy\samplers.py)
Comfy is updated to the latest version.
I even tried deleting the whole efficiency node dir and installing again, but no luck.
Appreciate if someone can give me an idea about where the problem could be.
Do you have to save a highres.py script on the Comfyui home folder?
Hello everyone, 大家好,
I've encountered an issue while working with ComfyUI, specifically when trying to execute the KSampler Adv. (Efficient) function. The error message I receive is:
我在使用 ComfyUI 时遇到了问题,特别是在尝试执行 KSampler Adv 时。 (高效)功能。我收到的错误消息是:
javascript
Error occurred when executing KSampler Adv. (Efficient):
执行 KSampler Adv 时出错。 (高效的):
module 'comfy.sample' has no attribute 'prepare_mask'
模块“comfy.sample”没有属性“prepare_mask”
This error occurs within my custom implementation based on the ComfyUI framework. Here are the relevant details of the error trace:
此错误发生在我基于 ComfyUI 框架的自定义实现中。以下是错误跟踪的相关详细信息:
arduino 阿尔杜伊诺
File "D:\comfy_ui\comfyui_blender\Blender_ComfyUI\ComfyUI\execution.py", line 151, in recursive_execute
文件“D:\comfy_ui\comfyui_blender\Blender_ComfyUI\ComfyUI\execution.py”,第 151 行,在 recursive_execute 中
output_data, output_ui = get_output_data(obj, input_data_all)
输出数据,输出UI = get_output_data(obj, input_data_all)
...
File "D:\comfy_ui\comfyui_blender\Blender_ComfyUI\ComfyUI\custom_nodes\ComfyUI-AnimateDiff-Evolved\animatediff\sampling.py", line 217, in inject_functions
文件“D:\comfy_ui\comfyui_blender\Blender_ComfyUI\ComfyUI\custom_nodes\ComfyUI-AnimateDiff-Evolved\animatediff\sampling.py”,第217行,在inject_functions中
self.orig_prepare_mask = comfy.sample.prepare_mask
It appears the prepare_mask attribute is missing from the comfy.sample module. I've checked my installation, and everything seems to be up to date.
comfy.sample 模块中似乎缺少prepare_mask 属性。我检查了我的安装,一切似乎都是最新的。
I'm wondering if anyone has faced a similar issue or could provide insight into how this issue might be resolved. Here are a few additional details that might be helpful:
我想知道是否有人遇到过类似的问题,或者可以提供有关如何解决此问题的见解。以下是一些可能有用的其他详细信息:
ComfyUI Version: (please specify your version)
ComfyUI版本:(请指定您的版本)
Environment: (e.g., Blender plugin, specific version)
环境:(例如,Blender 插件、特定版本)
Operating System: (e.g., Windows 10)
操作系统:(例如 Windows 10)
Any help or guidance would be greatly appreciated as I'm currently stuck on this issue. Thank you in advance for your time and assistance!
任何帮助或指导将不胜感激,因为我目前陷入这个问题。预先感谢您的时间和帮助!
maybe a dumb question... in the Ksampler efficient what is the Image output for?
I usually have two ksampler Efficient in my workflows I was using the IMAGE output to edit the image between the two so I can exclude one VAE DECODE but it seems to lose a lot of quality in the next Ksampler , is the IMAGE output only for preview(save) image?
Tyed but get this error message : Prompt outputs failed validation Efficient Loader: - Value 0 bigger than max of -1: clip_skip HighRes-Fix Script: - Value -1 smaller than min of 0: seed
Click on "use the same seed" then set it to any value > -1. After this you can uncheck it, if you want to use the same
1. Locate the "HighRes-Fix Script" node.
2. Right-click on it and choose the "Fix node (recreate)" option.
3. In the newly created instance of the node, find the "use_same_seed" parameter and set it to "false".
4. Finally, modify the seed value to 0.
@ZeusAtom thanks for your answer, I have try it !
Go to the github fork and make an issue there. Complaining about it here will get you limited results.
A question, I use the Lora Stack, and I only input advanced lora_count=10, why it display lora 49
Same problem here!
The repository is set for archive, I suggest searching for the active fork.
@ZUSIMO and which one is that? Jags is apparently also not updating.
@SmolestBrol Probably a good idea to find something else as an alternative. Jags111 is more recent than the original repo. but with over 177 issues reported... yeah - you might want to find some alternative. Good luck.
@SmolestBrol as of 10 hours ago, Jags111 is back and working slowly through the issues reported for their forked repo. I'm Applejack on there.
@ZUSIMO welcome back, hope can solve it, thanks!
@zczcg make sure if you haven't already, make an issue on Jags111's github
@ZUSIMO the last version 1.0.7 solve the lora problem,but leave a new problem that only can make 4 loras one node
I'm trying to use this for the first time ever and it's driving me insane, the image comes out blank every time and I've already seen youtube videos and read the git :/









