Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CFG Denoiser error #156

Open
slouffka opened this issue Apr 10, 2024 · 3 comments
Open

CFG Denoiser error #156

slouffka opened this issue Apr 10, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@slouffka
Copy link

slouffka commented Apr 10, 2024

Trying to use Noise Control Script with cfg_denoiser: true.

Error occurred when executing KSampler (Efficient):

module 'efficiency-nodes-comfyui.py.smZ_cfg_denoiser' has no attribute 'SDKSampler'

File "/home/username/work/neural/ComfyUI/execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "/home/username/work/neural/ComfyUI/execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "/home/username/work/neural/ComfyUI/execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "/home/username/work/neural/ComfyUI/custom_nodes/efficiency-nodes-comfyui/efficiency_nodes.py", line 713, in sample
samples, images, gifs, preview = process_latent_image(model, seed, steps, cfg, sampler_name, scheduler,
File "/home/username/work/neural/ComfyUI/custom_nodes/efficiency-nodes-comfyui/efficiency_nodes.py", line 483, in process_latent_image
comfy.samplers.KSampler = smZ_cfg_denoiser.SDKSampler

Updated to latest ComfyUI + custom nodes.

@jags111 jags111 self-assigned this Apr 11, 2024
@jags111 jags111 added the enhancement New feature or request label Apr 11, 2024
@TheBitmonkey
Copy link

Thanks for this I was stuck on this for a while. Gladly switching off CFG Denoise let me get past it.

@slouffka
Copy link
Author

You can also look at a relevant PR for a solution until it is fixed in main branch. pull/157

Thanks for this I was stuck on this for a while. Gladly switching off CFG Denoise let me get past it.

@jags111
Copy link
Owner

jags111 commented Apr 14, 2024

hey thanks and will resolve this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants