File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\modules\impact\sample_error_enhancer.py", line 22, in informative_sample
raise e
File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\modules\impact\sample_error_enhancer.py", line 9, in informative_sample
return original_sample(*args, **kwargs) # This code helps interpret error messages that occur within exceptions but does not have any impact on other operations.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet\adv_control\sampling.py", line 116, in acn_sample
File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet\adv_control\utils.py", line 117, in uncond_multiplier_check_cn_sample
Hi there,
I'm getting an error when I run the latent modifier: Runtime Error: a tensor with 5 elements cannot be converted to scalar.
Any help would be greatly appreciated :)
Here's the full terminal readout: Requested to load BaseModel
Loading 1 new model
loaded completely 0.0 1639.406135559082 True
0%| | 0/40 [00:00<?, ?it/s]
!!! Exception during processing !!! a Tensor with 5 elements cannot be converted to Scalar
Traceback (most recent call last):
File "C:\ComfyUI_windows_portable\ComfyUI\execution.py", line 323, in execute
File "C:\ComfyUI_windows_portable\ComfyUI\execution.py", line 198, in get_output_data
File "C:\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list
File "C:\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs
File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\efficiency-nodes-comfyui\efficiency_nodes.py", line 2225, in sample_adv
File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\efficiency-nodes-comfyui\efficiency_nodes.py", line 732, in sample
File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\efficiency-nodes-comfyui\efficiency_nodes.py", line 554, in process_latent_image
File "C:\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1482, in sample
File "C:\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1415, in common_ksampler
File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\modules\impact\sample_error_enhancer.py", line 22, in informative_sample
File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\modules\impact\sample_error_enhancer.py", line 9, in informative_sample
File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet\adv_control\sampling.py", line 116, in acn_sample
File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet\adv_control\utils.py", line 117, in uncond_multiplier_check_cn_sample
File "C:\ComfyUI_windows_portable\ComfyUI\comfy\sample.py", line 43, in sample
File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_smZNodes\smZNodes.py", line 104, in KSampler_sample
File "C:\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 855, in sample
File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_smZNodes\smZNodes.py", line 122, in sample
File "C:\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 753, in sample
File "C:\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 740, in sample
File "C:\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 719, in inner_sample
File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_smZNodes\smZNodes.py", line 87, in KSAMPLER_sample
File "C:\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 624, in sample
File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\utils_contextlib.py", line 116, in decorate_context
File "C:\ComfyUI_windows_portable\ComfyUI\comfy\k_diffusion\sampling.py", line 724, in sample_dpmpp_2m_sde
File "C:\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 299, in call
File "C:\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 706, in call
File "C:\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 709, in predict_noise
File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_smZNodes\smZNodes.py", line 162, in sampling_function
File "C:\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 286, in sampling_function
File "C:\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 259, in cfg_function
File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Latent-Modifiers\sampler_mega_modifier.py", line 1015, in modify_latent
File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Latent-Modifiers\sampler_mega_modifier.py", line 833, in dyn_cfg_modifier
RuntimeError: a Tensor with 5 elements cannot be converted to Scalar
Prompt executed in 7.04 seconds