krita-ai-diffusion icon indicating copy to clipboard operation
krita-ai-diffusion copied to clipboard

qwen 2.1 edit

Open artemzlykin-sudo opened this issue 2 months ago • 3 comments

please addon qwen 2.1 edit native

artemzlykin-sudo avatar Sep 20 '26 17:09 artemzlykin-sudo

https://github.com/Acly/krita-ai-diffusion/pull/2613

fukc-gihtub avatar Sep 21 '26 04:09 fukc-gihtub

There is a pre-release if you want to test it right now: https://github.com/Acly/krita-ai-diffusion/releases/tag/v1.54.0-pre

Full release maybe late October

Acly avatar Oct 03 '26 11:10 Acly

There is a pre-release if you want to test it right now: https://github.com/Acly/krita-ai-diffusion/releases/tag/v1.54.0-pre

Full release maybe late October

thx, but this not work [ERROR] !!! Exception during processing !!! Given normalized_shape=[4096], expected input with shape [*4096], but got input of size[12, 512, 12288] [ERROR] Traceback (most recent call last): File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\execution.py", line 547, in execute output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\execution.py", line 352, in get_output_data return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\custom_nodes\comfyui-lora-manager\py\metadata_collector\metadata_hook.py", line 177, in async_map_node_over_list_with_metadata results = await original_map_node_over_list( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\execution.py", line 326, in async_map_node_over_list await process_inputs(input_dict, i) File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\execution.py", line 314, in process_inputs result = f(**inputs) ^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\comfy_api\internal_init.py", line 149, in wrapped_func return method(locked_class, **inputs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\comfy_api\latest_io.py", line 2053, in EXECUTE_NORMALIZED to_return = cls.execute(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\comfy_extras\nodes_custom_sampler.py", line 1055, in execute 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 "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\comfy\samplers.py", line 1335, in sample output = executor.execute(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed, latent_shapes=latent_shapes) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\comfy\patcher_extension.py", line 113, in execute return self.original(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\comfy\samplers.py", line 1262, in outer_sample output = self.inner_sample(noise, latent_image, device, sampler, sigmas, denoise_mask, callback, disable_pbar, seed, latent_shapes=latent_shapes) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\comfy\samplers.py", line 1237, in inner_sample samples = executor.execute(self, sigmas, extra_args, callback, noise, latent_image, denoise_mask, disable_pbar) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\comfy\patcher_extension.py", line 113, in execute return self.original(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\custom_nodes\ComfyUI-TiledDiffusion\utils.py", line 34, in KSAMPLER_sample return orig_fn(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\comfy\samplers.py", line 1005, in sample samples = self.sampler_function(model_k, noise, sigmas, extra_args=extra_args, callback=k_callback, disable=disable_pbar, **self.extra_options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\python_embeded\Lib\site-packages\torch\utils_contextlib.py", line 124, in decorate_context return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\comfy\k_diffusion\sampling.py", line 205, in sample_euler denoised = model(x, sigma_hat * s_in, **extra_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\comfy\samplers.py", line 640, in call out = self.inner_model(x, sigma, model_options=model_options, seed=seed) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\comfy\samplers.py", line 1208, in call return self.outer_predict_noise(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\comfy\samplers.py", line 1215, in outer_predict_noise ).execute(x, timestep, model_options, seed) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\comfy\patcher_extension.py", line 113, in execute return self.original(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\comfy\samplers.py", line 1218, 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 "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\comfy\samplers.py", line 620, in sampling_function out = calc_cond_batch(model, conds, x, timestep, model_options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\comfy\samplers.py", line 211, in calc_cond_batch return _calc_cond_batch_outer(model, conds, x_in, timestep, model_options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\comfy\samplers.py", line 219, in _calc_cond_batch_outer return executor.execute(model, conds, x_in, timestep, model_options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\comfy\patcher_extension.py", line 113, in execute return self.original(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\comfy\samplers.py", line 335, in calc_cond_batch output = model.apply_model(input_x, timestep, **c).chunk(batch_chunks) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\comfy\model_base.py", line 210, in apply_model return comfy.patcher_extension.WrapperExecutor.new_class_executor( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\comfy\patcher_extension.py", line 113, in execute return self.original(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\comfy\model_base.py", line 254, in _apply_model model_output = self.diffusion_model(xc, t, context=context, control=control, transformer_options=transformer_options, **extra_conds) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1779, in _wrapped_call_impl return self._call_impl(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1790, in _call_impl return forward_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\comfy\ldm\qwen_image21\model.py", line 331, in forward return comfy.patcher_extension.WrapperExecutor.new_class_executor( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\comfy\patcher_extension.py", line 113, in execute return self.original(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\comfy\ldm\qwen_image21\model.py", line 343, in _forward hidden_states, pe, segments = self.build_sequence(x, context, ref_latents, image_slots) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\comfy\ldm\qwen_image21\model.py", line 302, in build_sequence txt = self.txt_in(context) ^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1779, in _wrapped_call_impl return self._call_impl(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1790, in _call_impl return forward_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\comfy\ldm\qwen_image21\model.py", line 39, in forward return self.out_layer(F.gelu(self.in_layer(self.text_norm(x)), approximate="tanh")) ^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1779, in _wrapped_call_impl return self._call_impl(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1790, in _call_impl return forward_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\comfy\ldm\qwen_image21\model.py", line 28, in forward return comfy.rmsnorm.rms_norm(x.float(), w, self.eps).to(x.dtype) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\comfy\rmsnorm.py", line 11, in rms_norm return torch.nn.functional.rms_norm(x, weight.shape, weight=comfy.model_management.cast_to(weight, dtype=x.dtype, device=x.device), eps=eps) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\python_embeded\Lib\site-packages\torch\nn\functional.py", line 2954, in rms_norm return torch.rms_norm(input, normalized_shape, weight, eps) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: Given normalized_shape=[4096], expected input with shape [*4096], but got input of size[12, 512, 12288]

default install...((((

artemzlykin-sudo avatar Oct 04 '26 01:10 artemzlykin-sudo