Latest ComfyUI Commit looks like it's Stopped using Samplers.Py
lord-lethris opened this issue · 5 comments
Getting an Error loading efficiency-nodes-comfyui
ImportError: cannot import name 'CompVisVDenoiser' from 'comfy.samplers' (D:\apps\SD-WebUI\ComfyUI\comfy\samplers.py)
Cannot import D:\apps\SD-WebUI\ComfyUI\custom_nodes\efficiency-nodes-comfyui module for custom nodes: cannot import name 'CompVisVDenoiser' from 'comfy.samplers' (D:\apps\SD-WebUI\ComfyUI\comfy\samplers.py)
I "think" (fishing about for an answer) that ComfyUI no longer uses K_Sampler and Samplers.Py - Or at least the location where efficiency-nodes-comfyui looks for it?
I don't know if anyone can fix this - I think efficiency-nodes-comfyui is one of the most useful nodes in the scene...!
same error:
Traceback (most recent call last):
File "F:\ComfyUI\ComfyUI\nodes.py", line 1735, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "F:\ComfyUI\ComfyUI\custom_nodes\efficiency-nodes-comfyui_init.py", line 1, in
from .efficiency_nodes import NODE_CLASS_MAPPINGS
File "F:\ComfyUI\ComfyUI\custom_nodes\efficiency-nodes-comfyui\efficiency_nodes.py", line 46, in
from .py import smZ_cfg_denoiser
File "F:\ComfyUI\ComfyUI\custom_nodes\efficiency-nodes-comfyui\py\smZ_cfg_denoiser.py", line 7, in
from comfy.samplers import KSampler, CompVisVDenoiser, KSamplerX0Inpaint
ImportError: cannot import name 'CompVisVDenoiser' from 'comfy.samplers' (F:\ComfyUI\ComfyUI\comfy\samplers.py)
Cannot import F:\ComfyUI\ComfyUI\custom_nodes\efficiency-nodes-comfyui module for custom nodes: cannot import name 'CompVisVDenoiser' from 'comfy.samplers' (F:\ComfyUI\ComfyUI\comfy\samplers.py)
The author isn't maintaining this repo anymore, so someone will either have to submit a PR or make a fork.
It maybe being addressed here ->
I posted a fix in the other thread.
okay looking into this and will update. Move same to my fork which takes care of the issues as of now.