ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

RTX 5090 Probleme using "ÉchantillonneurPersonnaliséAvancé"

Open blackmagic42 opened this issue 2 months ago • 3 comments

Custom Node Testing

Expected Behavior

Help me fix this bug

Actual Behavior

i was using this but it bug at the very end of the workflow

Steps to Reproduce

[Flux]_LoRA-Person-Replace.json try to use this workflow with a 5090

Debug Logs

# ComfyUI Error Report
## Error Details
- **Node ID:** 88
- **Node Type:** SamplerCustomAdvanced
- **Exception Type:** NotImplementedError
- **Exception Message:** No operator found for `memory_efficient_attention_forward` with inputs:
     query       : shape=(1, 4006, 24, 128) (torch.float16)
     key         : shape=(1, 4006, 24, 128) (torch.float16)
     value       : shape=(1, 4006, 24, 128) (torch.float16)
     attn_bias   : <class 'NoneType'>
     p           : 0.0
`[email protected]` is not supported because:
    requires device with capability <= (9, 0) but your GPU has capability (12, 0) (too new)
    requires device with capability == (8, 0) but your GPU has capability (12, 0) (too new)
`[email protected]` is not supported because:
    operator wasn't built - see `python -m xformers.info` for more info
`cutlassF-pt` is not supported because:
    requires device with capability <= (9, 0) but your GPU has capability (12, 0) (too new)

## Stack Trace

 .........................
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\model_base.py", line 203, in _apply_model
    model_output = self.diffusion_model(xc, t, context=context, control=control, transformer_options=transformer_options, **extra_conds)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\python_standalone\Lib\site-packages\torch\nn\modules\module.py", line 1775, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\python_standalone\Lib\site-packages\torch\nn\modules\module.py", line 1786, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\ldm\flux\model.py", line 288, in forward
    return comfy.patcher_extension.WrapperExecutor.new_class_executor(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\patcher_extension.py", line 112, in execute
    return self.original(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\ldm\flux\model.py", line 338, 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 "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\ldm\flux\model.py", line 199, in forward_orig
    img, txt = block(img=img,
               ^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\python_standalone\Lib\site-packages\torch\nn\modules\module.py", line 1775, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\python_standalone\Lib\site-packages\torch\nn\modules\module.py", line 1786, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\ldm\flux\layers.py", line 241, in forward
    attn = attention(q, k, v,
           ^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\ldm\flux\math.py", line 13, in attention
    x = optimized_attention(q, k, v, heads, skip_reshape=True, mask=mask, transformer_options=transformer_options)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\ldm\modules\attention.py", line 130, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\ldm\modules\attention.py", line 458, in attention_xformers
    out = xformers.ops.memory_efficient_attention(q, k, v, attn_bias=mask)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\python_standalone\Lib\site-packages\xformers\ops\fmha\__init__.py", line 311, in memory_efficient_attention
    return _memory_efficient_attention(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\python_standalone\Lib\site-packages\xformers\ops\fmha\__init__.py", line 472, in _memory_efficient_attention
    return _memory_efficient_attention_forward(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\python_standalone\Lib\site-packages\xformers\ops\fmha\__init__.py", line 491, in _memory_efficient_attention_forward
    op = _dispatch_fw(inp, False)
         ^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\python_standalone\Lib\site-packages\xformers\ops\fmha\dispatch.py", line 142, in _dispatch_fw
    return _run_priority_list(
           ^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\python_standalone\Lib\site-packages\xformers\ops\fmha\dispatch.py", line 83, in _run_priority_list
    raise NotImplementedError(msg)
NotImplementedError: No operator found for `memory_efficient_attention_forward` with inputs:
     query       : shape=(1, 4006, 24, 128) (torch.float16)
     key         : shape=(1, 4006, 24, 128) (torch.float16)
     value       : shape=(1, 4006, 24, 128) (torch.float16)
     attn_bias   : <class 'NoneType'>
     p           : 0.0
`[email protected]` is not supported because:
    requires device with capability <= (9, 0) but your GPU has capability (12, 0) (too new)
    requires device with capability == (8, 0) but your GPU has capability (12, 0) (too new)
`[email protected]` is not supported because:
    operator wasn't built - see `python -m xformers.info` for more info
`cutlassF-pt` is not supported because:
    requires device with capability <= (9, 0) but your GPU has capability (12, 0) (too new)

2025-12-14T22:27:31.062386 - Prompt executed in 147.01 seconds
2025-12-14T22:36:43.134896 - got prompt
2025-12-14T22:36:43.141903 - Failed to validate prompt for output 104:
2025-12-14T22:36:43.142903 - * SamplerCustomAdvanced 88:
2025-12-14T22:36:43.142903 -   - Required input is missing: sigmas
2025-12-14T22:36:43.142903 - Output will be ignored
2025-12-14T22:36:43.155554 - Prompt executed in 0.02 seconds
2025-12-14T22:36:58.361227 - got prompt
2025-12-14T22:36:58.404167 - 
  0%|          | 0/15 [00:00<?, ?it/s]2025-12-14T22:36:58.404167 - 
2025-12-14T22:36:58.409165 - !!! Exception during processing !!! No operator found for `memory_efficient_attention_forward` with inputs:
     query       : shape=(1, 4006, 24, 128) (torch.float16)
     key         : shape=(1, 4006, 24, 128) (torch.float16)
     value       : shape=(1, 4006, 24, 128) (torch.float16)
     attn_bias   : <class 'NoneType'>
     p           : 0.0
`[email protected]` is not supported because:
    requires device with capability <= (9, 0) but your GPU has capability (12, 0) (too new)
    requires device with capability == (8, 0) but your GPU has capability (12, 0) (too new)
`[email protected]` is not supported because:
    operator wasn't built - see `python -m xformers.info` for more info
`cutlassF-pt` is not supported because:
    requires device with capability <= (9, 0) but your GPU has capability (12, 0) (too new)
2025-12-14T22:36:58.412166 - Traceback (most recent call last):
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\execution.py", line 510, 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, hidden_inputs=hidden_inputs)
                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\execution.py", line 324, 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, hidden_inputs=hidden_inputs)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\execution.py", line 298, in _async_map_node_over_list
    await process_inputs(input_dict, i)
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\execution.py", line 286, in process_inputs
    result = f(**inputs)
             ^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy_api\internal\__init__.py", line 149, in wrapped_func
    return method(locked_class, **inputs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy_api\latest\_io.py", line 1275, in EXECUTE_NORMALIZED
    to_return = cls.execute(*args, **kwargs)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy_extras\nodes_custom_sampler.py", line 911, 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 "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\samplers.py", line 1035, in sample
    output = executor.execute(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed, latent_shapes=latent_shapes)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\patcher_extension.py", line 112, in execute
    return self.original(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\samplers.py", line 997, in outer_sample
    output = self.inner_sample(noise, latent_image, device, sampler, sigmas, denoise_mask, callback, disable_pbar, seed, latent_shapes=latent_shapes)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\samplers.py", line 980, in inner_sample
    samples = executor.execute(self, sigmas, extra_args, callback, noise, latent_image, denoise_mask, disable_pbar)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\patcher_extension.py", line 112, in execute
    return self.original(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\custom_nodes\ComfyUI_smZNodes\smZNodes.py", line 114, in KSAMPLER_sample
    return orig_fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\samplers.py", line 752, 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\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\python_standalone\Lib\site-packages\torch\utils\_contextlib.py", line 120, in decorate_context
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\k_diffusion\sampling.py", line 199, in sample_euler
    denoised = model(x, sigma_hat * s_in, **extra_args)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\samplers.py", line 401, in __call__
    out = self.inner_model(x, sigma, model_options=model_options, seed=seed)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\samplers.py", line 953, in __call__
    return self.outer_predict_noise(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\samplers.py", line 960, in outer_predict_noise
    ).execute(x, timestep, model_options, seed)
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\patcher_extension.py", line 112, in execute
    return self.original(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\samplers.py", line 963, 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\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\custom_nodes\ComfyUI_smZNodes\smZNodes.py", line 189, in sampling_function
    out = orig_fn(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\samplers.py", line 381, in sampling_function
    out = calc_cond_batch(model, conds, x, timestep, model_options)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\samplers.py", line 206, in calc_cond_batch
    return _calc_cond_batch_outer(model, conds, x_in, timestep, model_options)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\samplers.py", line 214, in _calc_cond_batch_outer
    return executor.execute(model, conds, x_in, timestep, model_options)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\patcher_extension.py", line 112, in execute
    return self.original(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\samplers.py", line 326, in _calc_cond_batch
    output = model.apply_model(input_x, timestep_, **c).chunk(batch_chunks)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\model_base.py", line 161, in apply_model
    return comfy.patcher_extension.WrapperExecutor.new_class_executor(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\patcher_extension.py", line 112, in execute
    return self.original(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\model_base.py", line 203, in _apply_model
    model_output = self.diffusion_model(xc, t, context=context, control=control, transformer_options=transformer_options, **extra_conds)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\python_standalone\Lib\site-packages\torch\nn\modules\module.py", line 1775, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\python_standalone\Lib\site-packages\torch\nn\modules\module.py", line 1786, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\ldm\flux\model.py", line 288, in forward
    return comfy.patcher_extension.WrapperExecutor.new_class_executor(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\patcher_extension.py", line 112, in execute
    return self.original(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\ldm\flux\model.py", line 338, 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 "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\ldm\flux\model.py", line 199, in forward_orig
    img, txt = block(img=img,
               ^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\python_standalone\Lib\site-packages\torch\nn\modules\module.py", line 1775, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\python_standalone\Lib\site-packages\torch\nn\modules\module.py", line 1786, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\ldm\flux\layers.py", line 241, in forward
    attn = attention(q, k, v,
           ^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\ldm\flux\math.py", line 13, in attention
    x = optimized_attention(q, k, v, heads, skip_reshape=True, mask=mask, transformer_options=transformer_options)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\ldm\modules\attention.py", line 130, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\ldm\modules\attention.py", line 458, in attention_xformers
    out = xformers.ops.memory_efficient_attention(q, k, v, attn_bias=mask)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\python_standalone\Lib\site-packages\xformers\ops\fmha\__init__.py", line 311, in memory_efficient_attention
    return _memory_efficient_attention(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\python_standalone\Lib\site-packages\xformers\ops\fmha\__init__.py", line 472, in _memory_efficient_attention
    return _memory_efficient_attention_forward(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\python_standalone\Lib\site-packages\xformers\ops\fmha\__init__.py", line 491, in _memory_efficient_attention_forward
    op = _dispatch_fw(inp, False)
         ^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\python_standalone\Lib\site-packages\xformers\ops\fmha\dispatch.py", line 142, in _dispatch_fw
    return _run_priority_list(
           ^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\python_standalone\Lib\site-packages\xformers\ops\fmha\dispatch.py", line 83, in _run_priority_list
    raise NotImplementedError(msg)
NotImplementedError: No operator found for `memory_efficient_attention_forward` with inputs:
     query       : shape=(1, 4006, 24, 128) (torch.float16)
     key         : shape=(1, 4006, 24, 128) (torch.float16)
     value       : shape=(1, 4006, 24, 128) (torch.float16)
     attn_bias   : <class 'NoneType'>
     p           : 0.0
`[email protected]` is not supported because:
    requires device with capability <= (9, 0) but your GPU has capability (12, 0) (too new)
    requires device with capability == (8, 0) but your GPU has capability (12, 0) (too new)
`[email protected]` is not supported because:
    operator wasn't built - see `python -m xformers.info` for more info
`cutlassF-pt` is not supported because:
    requires device with capability <= (9, 0) but your GPU has capability (12, 0) (too new)

2025-12-14T22:36:58.418063 - Prompt executed in 0.05 seconds
2025-12-14T22:38:45.690221 - got prompt
2025-12-14T22:38:45.734495 - 
  0%|          | 0/15 [00:00<?, ?it/s]2025-12-14T22:38:45.734495 - 
2025-12-14T22:38:45.736503 - !!! Exception during processing !!! No operator found for `memory_efficient_attention_forward` with inputs:
     query       : shape=(1, 4006, 24, 128) (torch.float16)
     key         : shape=(1, 4006, 24, 128) (torch.float16)
     value       : shape=(1, 4006, 24, 128) (torch.float16)
     attn_bias   : <class 'NoneType'>
     p           : 0.0
`[email protected]` is not supported because:
    requires device with capability <= (9, 0) but your GPU has capability (12, 0) (too new)
    requires device with capability == (8, 0) but your GPU has capability (12, 0) (too new)
`[email protected]` is not supported because:
    operator wasn't built - see `python -m xformers.info` for more info
`cutlassF-pt` is not supported because:
    requires device with capability <= (9, 0) but your GPU has capability (12, 0) (too new)
2025-12-14T22:38:45.738495 - Traceback (most recent call last):
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\execution.py", line 510, 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, hidden_inputs=hidden_inputs)
                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\execution.py", line 324, 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, hidden_inputs=hidden_inputs)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\execution.py", line 298, in _async_map_node_over_list
    await process_inputs(input_dict, i)
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\execution.py", line 286, in process_inputs
    result = f(**inputs)
             ^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy_api\internal\__init__.py", line 149, in wrapped_func
    return method(locked_class, **inputs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy_api\latest\_io.py", line 1275, in EXECUTE_NORMALIZED
    to_return = cls.execute(*args, **kwargs)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy_extras\nodes_custom_sampler.py", line 911, 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 "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\samplers.py", line 1035, in sample
    output = executor.execute(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed, latent_shapes=latent_shapes)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\patcher_extension.py", line 112, in execute
    return self.original(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\samplers.py", line 997, in outer_sample
    output = self.inner_sample(noise, latent_image, device, sampler, sigmas, denoise_mask, callback, disable_pbar, seed, latent_shapes=latent_shapes)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\samplers.py", line 980, in inner_sample
    samples = executor.execute(self, sigmas, extra_args, callback, noise, latent_image, denoise_mask, disable_pbar)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\patcher_extension.py", line 112, in execute
    return self.original(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\custom_nodes\ComfyUI_smZNodes\smZNodes.py", line 114, in KSAMPLER_sample
    return orig_fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\samplers.py", line 752, 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\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\python_standalone\Lib\site-packages\torch\utils\_contextlib.py", line 120, in decorate_context
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\k_diffusion\sampling.py", line 199, in sample_euler
    denoised = model(x, sigma_hat * s_in, **extra_args)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\samplers.py", line 401, in __call__
    out = self.inner_model(x, sigma, model_options=model_options, seed=seed)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\samplers.py", line 953, in __call__
    return self.outer_predict_noise(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\samplers.py", line 960, in outer_predict_noise
    ).execute(x, timestep, model_options, seed)
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\patcher_extension.py", line 112, in execute
    return self.original(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\samplers.py", line 963, 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\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\custom_nodes\ComfyUI_smZNodes\smZNodes.py", line 189, in sampling_function
    out = orig_fn(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\samplers.py", line 381, in sampling_function
    out = calc_cond_batch(model, conds, x, timestep, model_options)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\samplers.py", line 206, in calc_cond_batch
    return _calc_cond_batch_outer(model, conds, x_in, timestep, model_options)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\samplers.py", line 214, in _calc_cond_batch_outer
    return executor.execute(model, conds, x_in, timestep, model_options)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\patcher_extension.py", line 112, in execute
    return self.original(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\samplers.py", line 326, in _calc_cond_batch
    output = model.apply_model(input_x, timestep_, **c).chunk(batch_chunks)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\model_base.py", line 161, in apply_model
    return comfy.patcher_extension.WrapperExecutor.new_class_executor(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\patcher_extension.py", line 112, in execute
    return self.original(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\model_base.py", line 203, in _apply_model
    model_output = self.diffusion_model(xc, t, context=context, control=control, transformer_options=transformer_options, **extra_conds)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\python_standalone\Lib\site-packages\torch\nn\modules\module.py", line 1775, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\python_standalone\Lib\site-packages\torch\nn\modules\module.py", line 1786, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\ldm\flux\model.py", line 288, in forward
    return comfy.patcher_extension.WrapperExecutor.new_class_executor(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\patcher_extension.py", line 112, in execute
    return self.original(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\ldm\flux\model.py", line 338, 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 "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\ldm\flux\model.py", line 199, in forward_orig
    img, txt = block(img=img,
               ^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\python_standalone\Lib\site-packages\torch\nn\modules\module.py", line 1775, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\python_standalone\Lib\site-packages\torch\nn\modules\module.py", line 1786, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\ldm\flux\layers.py", line 241, in forward
    attn = attention(q, k, v,
           ^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\ldm\flux\math.py", line 13, in attention
    x = optimized_attention(q, k, v, heads, skip_reshape=True, mask=mask, transformer_options=transformer_options)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\ldm\modules\attention.py", line 130, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\ComfyUI\comfy\ldm\modules\attention.py", line 458, in attention_xformers
    out = xformers.ops.memory_efficient_attention(q, k, v, attn_bias=mask)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\python_standalone\Lib\site-packages\xformers\ops\fmha\__init__.py", line 311, in memory_efficient_attention
    return _memory_efficient_attention(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\python_standalone\Lib\site-packages\xformers\ops\fmha\__init__.py", line 472, in _memory_efficient_attention
    return _memory_efficient_attention_forward(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\python_standalone\Lib\site-packages\xformers\ops\fmha\__init__.py", line 491, in _memory_efficient_attention_forward
    op = _dispatch_fw(inp, False)
         ^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\python_standalone\Lib\site-packages\xformers\ops\fmha\dispatch.py", line 142, in _dispatch_fw
    return _run_priority_list(
           ^^^^^^^^^^^^^^^^^^^
  File "C:\Users\david\Downloads\ComfyUI_Windows_portable_cu128\ComfyUI_Windows_portable\python_standalone\Lib\site-packages\xformers\ops\fmha\dispatch.py", line 83, in _run_priority_list
    raise NotImplementedError(msg)
NotImplementedError: No operator found for `memory_efficient_attention_forward` with inputs:
     query       : shape=(1, 4006, 24, 128) (torch.float16)
     key         : shape=(1, 4006, 24, 128) (torch.float16)
     value       : shape=(1, 4006, 24, 128) (torch.float16)
     attn_bias   : <class 'NoneType'>
     p           : 0.0
`[email protected]` is not supported because:
    requires device with capability <= (9, 0) but your GPU has capability (12, 0) (too new)
    requires device with capability == (8, 0) but your GPU has capability (12, 0) (too new)
`[email protected]` is not supported because:
    operator wasn't built - see `python -m xformers.info` for more info
`cutlassF-pt` is not supported because:
    requires device with capability <= (9, 0) but your GPU has capability (12, 0) (too new)

2025-12-14T22:38:45.741495 - Prompt executed in 0.04 seconds


## Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.

Workflow too large. Please manually upload the workflow from local file system.

Other

No response

blackmagic42 avatar Dec 14 '25 21:12 blackmagic42

i have tried this workflow and it works fine on my 5090, the only difference being i am using sageattention2 not xformers.

soopasteve89-oss avatar Dec 15 '25 01:12 soopasteve89-oss

how to use sageattention2 ?

blackmagic42 avatar Dec 15 '25 15:12 blackmagic42

Looking at your xformers errors I remember getting that if I use --force-fp32 when I start ComfyUI. Did you use that?

how to use sageattention2 ?

By installing Sageattention 2.2 (https://github.com/woct0rdho/SageAttention.git) and then using --use-sage-attention when you start ComfyUI. But it would not solve your xformers errors if you continue to use --force-fp32, if it is indeed what caused your issue in the first place.

jovan2009 avatar Dec 15 '25 16:12 jovan2009