We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Prompt executed in 0.29 seconds got prompt !!! Exception during processing !!! a Tensor with 2 elements cannot be converted to Scalar Traceback (most recent call last): File "F:\AI Tools\ComfyUI-aki-v1.4\execution.py", line 327, 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:\AI Tools\ComfyUI-aki-v1.4\execution.py", line 202, in get_output_data return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "F:\AI Tools\ComfyUI-aki-v1.4\execution.py", line 174, in _map_node_over_list process_inputs(input_dict, i) File "F:\AI Tools\ComfyUI-aki-v1.4\execution.py", line 163, in process_inputs results.append(getattr(obj, func)(**inputs)) File "F:\AI Tools\ComfyUI-aki-v1.4\comfy_extras\nodes_custom_sampler.py", line 651, in sample samples = guider.sample(noise.generate_noise(latent), latent_image, sampler, sigmas, denoise_mask=noise_mask, callback=callback, disable_pbar=disable_pbar, seed=noise.seed) File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\samplers.py", line 984, in sample output = executor.execute(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed) File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\patcher_extension.py", line 111, in execute return self.wrappers[self.idx](self, *args, **kwargs) File "F:\AI Tools\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_PuLID_Flux_ll\pulidflux.py", line 392, in pulid_outer_sample_wrappers_with_override out = wrapper_executor(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed) File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\patcher_extension.py", line 103, in call return new_executor.execute(*args, **kwargs) File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\patcher_extension.py", line 110, in execute return self.original(*args, **kwargs) File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\samplers.py", line 952, in outer_sample output = self.inner_sample(noise, latent_image, device, sampler, sigmas, denoise_mask, callback, disable_pbar, seed) File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\samplers.py", line 935, in inner_sample samples = executor.execute(self, sigmas, extra_args, callback, noise, latent_image, denoise_mask, disable_pbar) File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\patcher_extension.py", line 110, in execute return self.original(*args, **kwargs) File "F:\AI Tools\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_smZNodes\smZNodes.py", line 108, in KSAMPLER_sample return orig_fn(*args, **kwargs) File "F:\AI Tools\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-TiledDiffusion\utils.py", line 34, in KSAMPLER_sample return orig_fn(*args, **kwargs) File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\samplers.py", line 714, in sample samples = self.sampler_function(model_k, noise, sigmas, extra_args=extra_args, callback=k_callback, disable=disable_pbar, **self.extra_options) File "F:\AI Tools\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Detail-Daemon\detail_daemon_node.py", line 297, in detail_daemon_sampler return dds_wrapped_sampler.sampler_function( File "F:\AI Tools\ComfyUI-aki-v1.4\python\lib\site-packages\torch\utils_contextlib.py", line 116, in decorate_context return func(*args, **kwargs) File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\k_diffusion\sampling.py", line 161, in sample_euler denoised = model(x, sigma_hat * s_in, **extra_args) File "F:\AI Tools\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Detail-Daemon\detail_daemon_node.py", line 289, in model_wrapper return model(x, adjusted_sigma, **extra_args) File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\samplers.py", line 379, in call out = self.inner_model(x, sigma, model_options=model_options, seed=seed) File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\samplers.py", line 915, in call return self.predict_noise(*args, **kwargs) File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\samplers.py", line 918, 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 "F:\AI Tools\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_smZNodes\smZNodes.py", line 183, in sampling_function out = orig_fn(*args, **kwargs) File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\samplers.py", line 359, in sampling_function out = calc_cond_batch(model, conds, x, timestep, model_options) File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\samplers.py", line 195, in calc_cond_batch return executor.execute(model, conds, x_in, timestep, model_options) File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\patcher_extension.py", line 110, in execute return self.original(*args, **kwargs) File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\samplers.py", line 308, in calc_cond_batch output = model.apply_model(input_x, timestep, **c).chunk(batch_chunks) File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\model_base.py", line 131, in apply_model return comfy.patcher_extension.WrapperExecutor.new_class_executor( File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\patcher_extension.py", line 111, in execute return self.wrappers[self.idx](self, *args, **kwargs) File "F:\AI Tools\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_PuLID_Flux_ll\pulidflux.py", line 417, in pulid_apply_model_wrappers out = wrapper_executor(x, t, c_concat, c_crossattn, control, transformer_options, **kwargs) File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\patcher_extension.py", line 103, in call return new_executor.execute(*args, **kwargs) File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\patcher_extension.py", line 110, in execute return self.original(*args, **kwargs) File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\model_base.py", line 160, in _apply_model model_output = self.diffusion_model(xc, t, context=context, control=control, transformer_options=transformer_options, **extra_conds).float() File "F:\AI Tools\ComfyUI-aki-v1.4\python\lib\site-packages\torch\nn\modules\module.py", line 1736, in _wrapped_call_impl return self._call_impl(*args, **kwargs) File "F:\AI Tools\ComfyUI-aki-v1.4\python\lib\site-packages\torch\nn\modules\module.py", line 1747, in _call_impl return forward_call(*args, **kwargs) File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\ldm\flux\model.py", line 204, in forward out = self.forward_orig(img, img_ids, context, txt_ids, timestep, y, guidance, control, transformer_options, attn_mask=kwargs.get("attention_mask", None)) File "F:\AI Tools\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_PuLID_Flux_ll\PulidFluxHook.py", line 189, in pulid_forward_orig out = blocks_replace[("double_block", i)]({"img": img, File "F:\AI Tools\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_PuLID_Flux_ll\PulidFluxHook.py", line 68, in call sigma = pulid_temp_attrs["timesteps"].detach().cpu().item() RuntimeError: a Tensor with 2 elements cannot be converted to Scalar
The text was updated successfully, but these errors were encountered:
Please update lastest version, try again @xlibfly
Sorry, something went wrong.
全是最新版的,所以报错了,貌似是comfyui内核又更新了啥东西,换回1月17号的comfyui版本又能运行了
Please update lastest version, try again @xlibfly 全是最新版的,所以报错了,貌似是comfyui内核又更新了啥东西,换回1月17号的comfyui版本又能运行了
在我评论后,你有更新吗,我看了你的错误提交了一次代码。最新的comfyui我还没试
No branches or pull requests
Prompt executed in 0.29 seconds
got prompt
!!! Exception during processing !!! a Tensor with 2 elements cannot be converted to Scalar
Traceback (most recent call last):
File "F:\AI Tools\ComfyUI-aki-v1.4\execution.py", line 327, 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:\AI Tools\ComfyUI-aki-v1.4\execution.py", line 202, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
File "F:\AI Tools\ComfyUI-aki-v1.4\execution.py", line 174, in _map_node_over_list
process_inputs(input_dict, i)
File "F:\AI Tools\ComfyUI-aki-v1.4\execution.py", line 163, in process_inputs
results.append(getattr(obj, func)(**inputs))
File "F:\AI Tools\ComfyUI-aki-v1.4\comfy_extras\nodes_custom_sampler.py", line 651, in sample
samples = guider.sample(noise.generate_noise(latent), latent_image, sampler, sigmas, denoise_mask=noise_mask, callback=callback, disable_pbar=disable_pbar, seed=noise.seed)
File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\samplers.py", line 984, in sample
output = executor.execute(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\patcher_extension.py", line 111, in execute
return self.wrappers[self.idx](self, *args, **kwargs)
File "F:\AI Tools\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_PuLID_Flux_ll\pulidflux.py", line 392, in pulid_outer_sample_wrappers_with_override
out = wrapper_executor(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\patcher_extension.py", line 103, in call
return new_executor.execute(*args, **kwargs)
File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\patcher_extension.py", line 110, in execute
return self.original(*args, **kwargs)
File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\samplers.py", line 952, in outer_sample
output = self.inner_sample(noise, latent_image, device, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\samplers.py", line 935, in inner_sample
samples = executor.execute(self, sigmas, extra_args, callback, noise, latent_image, denoise_mask, disable_pbar)
File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\patcher_extension.py", line 110, in execute
return self.original(*args, **kwargs)
File "F:\AI Tools\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_smZNodes\smZNodes.py", line 108, in KSAMPLER_sample
return orig_fn(*args, **kwargs)
File "F:\AI Tools\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-TiledDiffusion\utils.py", line 34, in KSAMPLER_sample
return orig_fn(*args, **kwargs)
File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\samplers.py", line 714, in sample
samples = self.sampler_function(model_k, noise, sigmas, extra_args=extra_args, callback=k_callback, disable=disable_pbar, **self.extra_options)
File "F:\AI Tools\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Detail-Daemon\detail_daemon_node.py", line 297, in detail_daemon_sampler
return dds_wrapped_sampler.sampler_function(
File "F:\AI Tools\ComfyUI-aki-v1.4\python\lib\site-packages\torch\utils_contextlib.py", line 116, in decorate_context
return func(*args, **kwargs)
File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\k_diffusion\sampling.py", line 161, in sample_euler
denoised = model(x, sigma_hat * s_in, **extra_args)
File "F:\AI Tools\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Detail-Daemon\detail_daemon_node.py", line 289, in model_wrapper
return model(x, adjusted_sigma, **extra_args)
File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\samplers.py", line 379, in call
out = self.inner_model(x, sigma, model_options=model_options, seed=seed)
File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\samplers.py", line 915, in call
return self.predict_noise(*args, **kwargs)
File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\samplers.py", line 918, 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 "F:\AI Tools\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_smZNodes\smZNodes.py", line 183, in sampling_function
out = orig_fn(*args, **kwargs)
File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\samplers.py", line 359, in sampling_function
out = calc_cond_batch(model, conds, x, timestep, model_options)
File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\samplers.py", line 195, in calc_cond_batch
return executor.execute(model, conds, x_in, timestep, model_options)
File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\patcher_extension.py", line 110, in execute
return self.original(*args, **kwargs)
File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\samplers.py", line 308, in calc_cond_batch
output = model.apply_model(input_x, timestep, **c).chunk(batch_chunks)
File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\model_base.py", line 131, in apply_model
return comfy.patcher_extension.WrapperExecutor.new_class_executor(
File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\patcher_extension.py", line 111, in execute
return self.wrappers[self.idx](self, *args, **kwargs)
File "F:\AI Tools\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_PuLID_Flux_ll\pulidflux.py", line 417, in pulid_apply_model_wrappers
out = wrapper_executor(x, t, c_concat, c_crossattn, control, transformer_options, **kwargs)
File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\patcher_extension.py", line 103, in call
return new_executor.execute(*args, **kwargs)
File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\patcher_extension.py", line 110, in execute
return self.original(*args, **kwargs)
File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\model_base.py", line 160, in _apply_model
model_output = self.diffusion_model(xc, t, context=context, control=control, transformer_options=transformer_options, **extra_conds).float()
File "F:\AI Tools\ComfyUI-aki-v1.4\python\lib\site-packages\torch\nn\modules\module.py", line 1736, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "F:\AI Tools\ComfyUI-aki-v1.4\python\lib\site-packages\torch\nn\modules\module.py", line 1747, in _call_impl
return forward_call(*args, **kwargs)
File "F:\AI Tools\ComfyUI-aki-v1.4\comfy\ldm\flux\model.py", line 204, in forward
out = self.forward_orig(img, img_ids, context, txt_ids, timestep, y, guidance, control, transformer_options, attn_mask=kwargs.get("attention_mask", None))
File "F:\AI Tools\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_PuLID_Flux_ll\PulidFluxHook.py", line 189, in pulid_forward_orig
out = blocks_replace[("double_block", i)]({"img": img,
File "F:\AI Tools\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_PuLID_Flux_ll\PulidFluxHook.py", line 68, in call
sigma = pulid_temp_attrs["timesteps"].detach().cpu().item()
RuntimeError: a Tensor with 2 elements cannot be converted to Scalar
The text was updated successfully, but these errors were encountered: