You don't need to block swap with core nodes. It does it all automatically. You may want to launch it with --reserve vram  though if it doesn't save enough for the os. Answer from mangoking1997 on reddit.com
🌐
Reddit
reddit.com › r/comfyui › ksampler 'nonetype' object has no attribute 'shape'
r/comfyui on Reddit: KSampler 'NoneType' object has no attribute 'shape'
February 27, 2025 -

hello people, I would like to ask what could cause this problem. everything be working and when I load a controlnet union sdxl it just doesn't work after I try to apply it, I tried many workflows online and all have the same issue. Any one would know what a possible solution for this?

I checked this in Change 'c_adm' to 'y' in ControlNet.get_control by Kosinkadink · Pull Request #1836 · comfyanonymous/ComfyUI but the whole y thing was not found.

thank you <3

🌐
GitHub
github.com › Comfy-Org › ComfyUI › issues › 1835
KSampler fails with "'NoneType' object has no attribute 'shape'" after update · Issue #1835 · Comfy-Org/ComfyUI
October 25, 2023 - I loaded the workflow I've been working on for days without a problem, and it suddenly fails at a KSampler node with the following error: Error occurred when executing KSampler: 'NoneType' object has no attribute 'shape' File "/workspace...
Author   mysticfall
🌐
Stable Diffusion Art
stable-diffusion-art.com › home › topics › tech support › error occurred when executing ksampler
Error occurred when executing KSampler - Stable Diffusion Art
February 8, 2024 - Error occurred when executing KSampler: 'NoneType' object has no attribute 'shape' File "/Users/myuser/ComfyUI/execution.py", line 152, in recursive_execute
🌐
GitHub
github.com › comfyanonymous › ComfyUI › issues › 4946
KSampler 'NoneType' object has no attribute 'shape' · Issue #4946 · Comfy-Org/ComfyUI
September 16, 2024 - # ComfyUI Error Report ## Error Details - **Node Type:** KSampler - **Exception Type:** AttributeError - **Exception Message:** 'NoneType' object has no attribute 'shape' ## Stack Trace File "D:\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 323, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable_nvidia\ComfyUI_wi
Author   Dant90
🌐
GitHub
github.com › comfyanonymous › ComfyUI › issues › 2735
Unable to run KSampler after Inpaint, AttributeError: 'NoneType' object has no attribute 'shape' · Issue #2735 · Comfy-Org/ComfyUI
February 6, 2024 - It seems that inpainting with KSampler causes something from the mask to get "left over" into the latent output from KSampler. Running another KSampler on the output then breaks with AttributeError: 'NoneType' object has no attribute 'shape'.
Author   belladoreai
🌐
Reddit
reddit.com › r/comfyui › error occurred when executing ksampler (efficient): 'nonetype' object has no attribute 'shape'
r/comfyui on Reddit: Error occurred when executing KSampler (Efficient): 'NoneType' object has no attribute 'shape'
August 8, 2024 -

I've tried to generate video from latest mdmz's tutorial, can u help me to fix this problem?
*This error occurs on this node on screen

Error occurred when executing KSampler (Efficient):

'NoneType' object has no attribute 'shape'

File "C:\Users\user\Downloads\ComfyUI_windows_portable\ComfyUI\execution.py", line 152, in recursive_execute

output_data, output_ui = get_output_data(obj, input_data_all)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\user\Downloads\ComfyUI_windows_portable\ComfyUI\execution.py", line 82, in get_output_data

return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\user\Downloads\ComfyUI_windows_portable\ComfyUI\execution.py", line 75, in map_node_over_list

results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\user\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\efficiency-nodes-comfyui\efficiency_nodes.py", line 732, in sample

samples, images, gifs, preview = process_latent_image(model, seed, steps, cfg, sampler_name, scheduler,

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\user\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\efficiency-nodes-comfyui\efficiency_nodes.py", line 550, in process_latent_image

samples = KSampler().sample(model, seed, steps, cfg, sampler_name, scheduler, positive, negative,

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\user\Downloads\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1382, in sample

return common_ksampler(model, seed, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, denoise=denoise)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\user\Downloads\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1352, in common_ksampler

samples = comfy.sample.sample(model, noise, steps, cfg, sampler_name, scheduler, positive, negative, latent_image,

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\user\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-AnimateDiff-Evolved\animatediff\sampling.py", line 549, in motion_sample

latents = orig_comfy_sample(model, noise, *args, **kwargs)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\user\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet\adv_control\sampling.py", line 116, in acn_sample

return orig_comfy_sample(model, *args, **kwargs)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\user\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet\adv_control\utils.py", line 116, in uncond_multiplier_check_cn_sample

return orig_comfy_sample(model, *args, **kwargs)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\user\Downloads\ComfyUI_windows_portable\ComfyUI\comfy\sample.py", line 43, in sample

samples = sampler.sample(noise, positive, negative, cfg=cfg, latent_image=latent_image, start_step=start_step, last_step=last_step, force_full_denoise=force_full_denoise, denoise_mask=noise_mask, sigmas=sigmas, callback=callback, disable_pbar=disable_pbar, seed=seed)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\user\Downloads\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 829, in sample

return sample(self.model, noise, positive, negative, cfg, self.device, sampler, sigmas, self.model_options, latent_image=latent_image, denoise_mask=denoise_mask, callback=callback, disable_pbar=disable_pbar, seed=seed)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\user\Downloads\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 729, in sample

return cfg_guider.sample(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\user\Downloads\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 716, in sample

output = self.inner_sample(noise, latent_image, device, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\user\Downloads\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 695, in inner_sample

samples = sampler.sample(self, sigmas, extra_args, callback, noise, latent_image, denoise_mask, disable_pbar)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\user\Downloads\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 600, in sample

samples = self.sampler_function(model_k, noise, sigmas, extra_args=extra_args, callback=k_callback, disable=disable_pbar, **self.extra_options)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\user\Downloads\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context

return func(*args, **kwargs)

^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\user\Downloads\ComfyUI_windows_portable\ComfyUI\comfy\k_diffusion\sampling.py", line 779, in sample_lcm

denoised = model(x, sigmas[i] * s_in, **extra_args)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\user\Downloads\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 299, in __call__

out = self.inner_model(x, sigma, model_options=model_options, seed=seed)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\user\Downloads\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 682, in __call__

return self.predict_noise(*args, **kwargs)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\user\Downloads\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 685, in predict_noise

return sampling_function(self.inner_model, x, timestep, self.conds.get("negative", None), self.conds.get("positive", None), self.cfg, model_options=model_options, seed=seed)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\user\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-AnimateDiff-Evolved\animatediff\sampling.py", line 658, in evolved_sampling_function

cond_pred, uncond_pred = sliding_calc_conds_batch(model, [cond, uncond_], x, timestep, model_options)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\user\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-AnimateDiff-Evolved\animatediff\sampling.py", line 925, in sliding_calc_conds_batch

sub_conds_out = calc_cond_uncond_batch_wrapper(model, sub_conds, sub_x, sub_timestep, model_options)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\user\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-AnimateDiff-Evolved\animatediff\sampling.py", line 1034, in calc_cond_uncond_batch_wrapper

return comfy.samplers.calc_cond_batch(model, conds, x_in, timestep, model_options)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\user\Downloads\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 202, in calc_cond_batch

c['control'] = control.get_control(input_x, timestep_, c, len(cond_or_uncond))

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\user\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet\adv_control\utils.py", line 758, in get_control_inject

return self.get_control_advanced(x_noisy, t, cond, batched_number)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\user\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet\adv_control\control.py", line 34, in get_control_advanced

return self.sliding_get_control(x_noisy, t, cond, batched_number)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\user\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet\adv_control\control.py", line 39, in sliding_get_control

control_prev = self.previous_controlnet.get_control(x_noisy, t, cond, batched_number)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\user\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet\adv_control\utils.py", line 758, in get_control_inject

return self.get_control_advanced(x_noisy, t, cond, batched_number)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\user\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet\adv_control\control.py", line 34, in get_control_advanced

return self.sliding_get_control(x_noisy, t, cond, batched_number)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\user\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet\adv_control\control.py", line 90, in sliding_get_control

control = self.control_model(x=x_noisy.to(dtype), hint=self.cond_hint, timesteps=timestep.float(), context=context.to(dtype), y=y)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\user\Downloads\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1532, in _wrapped_call_impl

return self._call_impl(*args, **kwargs)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\user\Downloads\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1541, in _call_impl

return forward_call(*args, **kwargs)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\user\Downloads\ComfyUI_windows_portable\ComfyUI\comfy\cldm\cldm.py", line 420, in forward

assert y.shape[0] == x.shape[0]

^^^^^^^

🌐
GitHub
github.com › LucianoCirino › efficiency-nodes-comfyui › issues › 225
Error Occurred During KSampler (Efficient) Execution 'NoneType' object has no attribute 'cpu · Issue #225 · LucianoCirino/efficiency-nodes-comfyui
October 27, 2023 - Error Occurred During KSampler (Efficient) Execution 'NoneType' object has no attribute 'cpu#225 · Copy link · suishiyu · opened · on Oct 27, 2023 · Issue body actions · Reactions are currently unavailable · No one assigned · No labels · No labels ·
Author   suishiyu
🌐
Reddit
reddit.com › r/stablediffusion › wan 2.2 ksampler block swapping?
r/StableDiffusion on Reddit: Wan 2.2 Ksampler Block Swapping?
September 4, 2025 -

Is it possible to do block swapping for the Ksampler? I tried doing it but it raises this error:
comfy.model_management.load_models_gpu([model] + models, memory_required=memory_required + inference_memory, minimum_memory_required=minimum_memory_required + inference_memory)

File "/home/user/ComfyUI/comfy/model_management.py", line 663, in load_models_gpu

loaded_model.model_load(lowvram_model_memory, force_patch_weights=force_patch_weights)

File "/home/user/ComfyUI/comfy/model_management.py", line 474, in model_load

self.model_use_more_vram(use_more_vram, force_patch_weights=force_patch_weights)

File "/home/user/ComfyUI/comfy/model_management.py", line 503, in model_use_more_vram

return self.model.partially_load(self.device, extra_memory, force_patch_weights=force_patch_weights)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/home/user/ComfyUI/comfy/model_patcher.py", line 865, in partially_load

raise e

File "/home/user/ComfyUI/comfy/model_patcher.py", line 862, in partially_load

self.load(device_to, lowvram_model_memory=current_used + extra_memory, force_patch_weights=force_patch_weights, full_load=full_load)

File "/home/user/ComfyUI/custom_nodes/ComfyUI-GGUF/nodes.py", line 82, in load

super().load(*args, force_patch_weights=True, **kwargs)

File "/home/user/ComfyUI/comfy/model_patcher.py", line 721, in load

callback(self, device_to, lowvram_model_memory, force_patch_weights, full_load)

File "/home/user/ComfyUI/custom_nodes/ComfyUI-wanBlockswap/nodes.py", line 43, in swap_blocks

unet.img_emb.to(model.offload_device, non_blocking=use_non_blocking)

^^^^^^^^^^^^^^^

AttributeError: 'NoneType' object has no attribute 'to'

It works fine without the WanVideoBlockSwap. I'm not sure why I'm not getting the autoswapping either, without the block.

Find elsewhere
🌐
GitHub
github.com › comfyanonymous › ComfyUI › issues › 5356
KSampler 'NoneType' object has no attribute 'shape' · Issue #5356 · Comfy-Org/ComfyUI
# ComfyUI Error Report ## Error Details - **Node Type:** KSampler - **Exception Type:** AttributeError - **Exception Message:** 'NoneType' object has no attribute 'shape' ## Stack Trace File "F:\Learning & Experiment\Stable Diffusion\ComfyUI_windows\ComfyUI\execution.py", line 323, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\Learning & Experiment\Stable Diffusion\Comfy
Author   ghost
🌐
GitHub
github.com › Comfy-Org › ComfyUI › issues › 10840
KSampler 'NoneType' object has no attribute 'shape' · Issue #10840 · Comfy-Org/ComfyUI
November 23, 2025 - When i try to use controlNet Openposs, show Error : KSampler 'NoneType' object has no attribute 'shape'. ( I can run if i try SDXL model )
Author   comfy-pr-bot
🌐
GitHub
github.com › Kosinkadink › ComfyUI-AnimateDiff-Evolved › issues › 433
Error occurred when executing KSampler (Efficient): 'NoneType' object has no attribute 'size' · Issue #433 · Kosinkadink/ComfyUI-AnimateDiff-Evolved
July 29, 2024 - When I run the workflow after updating ComfyUI-Advanced-ControlNet, the following error occurs. How can I solve it? Error occurred when executing KSampler (Efficient): 'NoneType' object has no attribute 'size' File "G:\ComfyUI\ComfyUI-ak...
Author   sundaxiong6
🌐
GitHub
github.com › comfyanonymous › ComfyUI › issues › 1837
Error occurred when executing KSampler: 'NoneType' object has no attribute 'shape' · Issue #1837 · comfyanonymous/ComfyUI
October 25, 2023 - Error occurred when executing KSampler: 'NoneType' object has no attribute 'shape'#1837 · Copy link · gingerkrueger · opened · on Oct 25, 2023 · Issue body actions · Hi, I have used the same set-up of ComfyUI SDxl with Controlnet on several computers, but for some reason, I get an error on my computer.
Author   gingerkrueger
🌐
GitHub
github.com › Comfy-Org › ComfyUI › issues › 5651
'NoneType' object has no attribute 'shape' · Issue #5651 · Comfy-Org/ComfyUI
November 17, 2024 - Expected Behavior 'NoneType' object has no attribute 'shape' Actual Behavior Steps to Reproduce zz workflow.json Debug Logs # ComfyUI Error Report ## Error Details - **Node Type:** KSampler - **Exception Type:** AttributeError - **Except...
Author   kensenp
🌐
GitHub
github.com › Comfy-Org › ComfyUI › issues › 4892
What is happening? I use comfyui and keep getting this error. KSampler 'NoneType' object has no attribute 'shape' · Issue #4892 · Comfy-Org/ComfyUI
September 11, 2024 - What is happening? I use comfyui and keep getting this error. KSampler 'NoneType' object has no attribute 'shape'#4892
Author   senpaiiss
🌐
GitHub
github.com › comfyanonymous › ComfyUI › issues › 3468
Layer Diffuse not working with controlnet · Issue #3468 · Comfy-Org/ComfyUI
May 13, 2024 - Error occurred when executing KSampler: 'NoneType' object has no attribute 'to' File "/home/fox/ComfyUI/execution.py", line 151, in recursive_execute output_data, output_u...
Published   May 13, 2024
Author   lmomimi
🌐
GitHub
github.com › Comfy-Org › ComfyUI › issues › 6590
NoneType' object has no attribute 'shape' problem · Issue #6590 · Comfy-Org/ComfyUI
January 24, 2025 - ... This message keep showing when using any controlent node no matter what i do i try all suggested solutions like reinstall control net reinstall comfy change python version trying different models try set union control net type install finally i set imge size to 64 but nothing help i am stuck here · # ComfyUI Error Report ## Error Details - **Node ID:** 11 - **Node Type:** KSampler - **Exception Type:** AttributeError - **Exception Message:** 'NoneType' object has no attribute 'shape' ## Stack Trace File "D:\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", li
Author   nadainterior
🌐
GitHub
github.com › cubiq › ComfyUI_IPAdapter_plus › issues › 830
KSampler 'NoneType' object has no attribute 'shape' - AGAIN! · Issue #830 · cubiq/ComfyUI_IPAdapter_plus
June 7, 2025 - KSampler 'NoneType' object has no attribute 'shape' - AGAIN!#830 · Copy link · duhglobe · opened · on Jun 7, 2025 · Issue body actions · Why.... again. Workflow: ipiv's morph · No one assigned · No labels · No labels · No projects · No milestone ·
Author   duhglobe
🌐
GitHub
github.com › Comfy-Org › ComfyUI › issues › 4333
KSampler not working (12 August 2024) · Issue #4333 · Comfy-Org/ComfyUI
August 12, 2024 - Error occurred when executing KSampler: 'NoneType' object has no attribute 'shape' File "D:\ai\ComfyUI_windows_portable\ComfyUI\execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ai\ComfyUI_windows_portable\ComfyUI\execution.py", line 82, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ai\ComfyUI_windows_portable\ComfyUI\execution.py", line 75, in
Author   Domtomes