Ideogram4 workflows error with "NotImplementedError: The operator 'aten::_int_mm' is not currently implemented for the MPS device."
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 158
Description
### Custom Node Testing
- [x] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)
### Expected Behavior
Using the official Ideogram4 text to image workflows should work on modern Apple devices (e.g. M5 Max in my case).
### Actual Behavior
The workflows crash with the below error
### Steps to Reproduce
- Use the official ideaogram4 text to image workflow (the int8 one for example).
- Let Comfy download the missing models.
- Run the workflow.
### Debug Logs
```powershell
Node threw an error during execution.
# ComfyUI Error Report
## Error Details
- **Node ID:** 98:12
- **Node Type:** SamplerCustomAdvanced
- **Exception Type:** NotImplementedError
- **Exception Message:** NotImplementedError: The operator 'aten::_int_mm' is not currently implemented for the MPS device. If you want this op to be considered for addition please comment on https://github.com/pytorch/pytorch/issues/141287 and mention use-case, that resulted in missing op as well as commit hash 7269437d655783a26cba32aa88195b741ff496aa. As a temporary fix, you can set the environment variable `PYTORCH_ENABLE_MPS_FALLBACK=1` to use the CPU as a fallback for this op. WARNING: this will be slower than running natively on MPS.
## Stack Trace
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/execution.py", line 545, 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 "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/execution.py", line 344, 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 "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/execution.py", line 318, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/execution.py", line 306, in process_inputs
result = f(**inputs)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy_api/internal/__init__.py", line 149, in wrapped_func
return method(locked_class, **inputs)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy_api/latest/_io.py", line 1935, in EXECUTE_NORMALIZED
to_return = cls.execute(*args, **kwargs)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy_extras/nodes_custom_sampler.py", line 1048, 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 "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/samplers.py", line 1325, in sample
output = executor.execute(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed, latent_shapes=latent_shapes)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/patcher_extension.py", line 113, in execute
return self.original(*args, **kwargs)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy_extras/nodes_custom_sampler.py", line 918, in outer_sample
return super().outer_sample(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed, latent_shapes=latent_shapes)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/samplers.py", line 1260, in outer_sample
output = self.inner_sample(noise, latent_image, device, sampler, sigmas, denoise_mask, callback, disable_pbar, seed, latent_shapes=latent_shapes)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy_extras/nodes_custom_sampler.py", line 932, in inner_sample
return super().inner_sample(noise, latent_image, device, sampler, sigmas, denoise_mask, callback, disable_pbar, seed, latent_shapes=latent_shapes)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/samplers.py", line 1235, in inner_sample
samples = executor.execute(self, sigmas, extra_args, callback, noise, latent_image, denoise_mask, disable_pbar)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/patcher_extension.py", line 113, in execute
return self.original(*args, **kwargs)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/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 "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/torch/utils/_contextlib.py", line 124, in decorate_context
return func(*args, **kwargs)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/k_diffusion/sampling.py", line 205, in sample_euler
denoised = model(x, sigma_hat * s_in, **extra_args)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/samplers.py", line 640, in __call__
out = self.inner_model(x, sigma, model_options=model_options, seed=seed)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/samplers.py", line 1208, in __call__
return self.outer_predict_noise(*args, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/samplers.py", line 1215, in outer_predict_noise
).execute(x, timestep, model_options, seed)
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/patcher_extension.py", line 114, in execute
return self.wrappers[self.idx](self, *args, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy_extras/nodes_custom_sampler.py", line 1165, in predict_noise_wrapper
return executor(*args, **kwargs)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/patcher_extension.py", line 106, in __call__
return new_executor.execute(*args, **kwargs)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/patcher_extension.py", line 113, in execute
return self.original(*args, **kwargs)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy_extras/nodes_custom_sampler.py", line 936, in predict_noise
cond = comfy.samplers.calc_cond_batch(self.inner_model, [positive], x, timestep, model_options)[0]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/samplers.py", line 211, in calc_cond_batch
return _calc_cond_batch_outer(model, conds, x_in, timestep, model_options)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/samplers.py", line 219, in _calc_cond_batch_outer
return executor.execute(model, conds, x_in, timestep, model_options)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/patcher_extension.py", line 113, in execute
return self.original(*args, **kwargs)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/samplers.py", line 335, in _calc_cond_batch
output = model.apply_model(input_x, timestep_, **c).chunk(batch_chunks)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/model_base.py", line 194, in apply_model
return comfy.patcher_extension.WrapperExecutor.new_class_executor(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...<2 lines>...
comfy.patcher_extension.get_all_wrappers(comfy.patcher_extension.WrappersMP.APPLY_MODEL, transformer_options)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
).execute(x, t, c_concat, c_crossattn, control, transformer_options, **kwargs)
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/patcher_extension.py", line 113, in execute
return self.original(*args, **kwargs)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/model_base.py", line 238, in _apply_model
model_output = self.diffusion_model(xc, t, context=context, control=control, transformer_options=transformer_options, **extra_conds)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/torch/nn/modules/module.py", line 1778, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/torch/nn/modules/module.py", line 1789, in _call_impl
return forward_call(*args, **kwargs)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/ldm/ideogram4/model.py", line 309, in forward
return comfy.patcher_extension.WrapperExecutor.new_class_executor(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...<2 lines>...
comfy.patcher_extension.get_all_wrappers(comfy.patcher_extension.WrappersMP.DIFFUSION_MODEL, transformer_options),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
).execute(x, timesteps, context, attention_mask, transformer_options, **kwargs)
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/patcher_extension.py", line 113, in execute
return self.original(*args, **kwargs)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/ldm/ideogram4/model.py", line 324, in _forward
return -self._run_conditional(x, context, attention_mask, timesteps, gh, gw, transformer_options)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/ldm/ideogram4/model.py", line 291, in _run_conditional
out = self._backbone(context_chunk, x_full, t_chunk, position_ids, attn_mask, indicator,
transformer_options=transformer_options)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/ldm/ideogram4/model.py", line 216, in _backbone
h = layer(h, attn_mask, freqs_cis, adaln_input, transformer_options=transformer_options)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/torch/nn/modules/module.py", line 1778, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/torch/nn/modules/module.py", line 1789, in _call_impl
return forward_call(*args, **kwargs)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/ldm/ideogram4/model.py", line 102, in forward
mod = self.adaln_modulation(adaln_input)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/torch/nn/modules/module.py", line 1778, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/torch/nn/modules/module.py", line 1789, in _call_impl
return forward_call(*args, **kwargs)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/ops.py", line 1323, in forward
output = self.forward_comfy_cast_weights(
input,
...<2 lines>...
weight_only_quant=weight_only_quant,
)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/ops.py", line 1265, in forward_comfy_cast_weights
x = self._forward(input, weight, bias)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/ops.py", line 1236, in _forward
return torch.nn.functional.linear(input, weight, bias)
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/comfy_kitchen/tensor/base.py", line 362, in __torch_dispatch__
return op_handlers[parent_cls](qt, args, kwargs)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/comfy_kitchen/tensor/int8.py", line 287, in _handle_int8_linear_tensorwise
return torch.ops.comfy_kitchen.int8_linear(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
input_tensor.contiguous(),
^^^^^^^^^^^^^^^^^^^^^^^^^^
...<5 lines>...
convrot_groupsize,
^^^^^^^^^^^^^^^^^^
)
^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/torch/_ops.py", line 1275, in __call__
return self._op(*args, **kwargs)
~~~~~~~~^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/torch/_library/custom_ops.py", line 375, in backend_impl
result = self._backend_fns[device_type](*args, **kwargs)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/torch/_compile.py", line 54, in inner
return disable_fn(*args, **kwargs)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/torch/_dynamo/eval_frame.py", line 1298, in _fn
return fn(*args, **kwargs)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/torch/_library/custom_ops.py", line 410, in wrapped_fn
return fn(*args, **kwargs)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/comfy_kitchen/backends/eager/quantization.py", line 1222, in _op_int8_linear
return impl(**kwargs)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/comfy_kitchen/backends/eager/quantization.py", line 1022, in int8_linear
result = _int8_matmul_accumulate(x_8, weight.T.contiguous())
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/comfy_kitchen/backends/eager/quantization.py", line 779, in _int8_matmul_accumulate
result = fast_int8_mm(a, b)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/comfy_kitchen/backends/eager/quantization.py", line 754, in fast_int8_mm
return torch._int_mm(lhs, rhs)
~~~~~~~~~~~~~^^^^^^^^^^
## System Information
- **ComfyUI Version:** 0.29.0
- **Arguments:** ComfyUI/main.py --feature-flag show_signin_button=true --enable-manager --extra-model-paths-config /Users/samm/Library/Application Support/Comfy Desktop/shared_model_paths.yaml --input-directory /Users/samm/ComfyUI-Shared/input --output-directory /Users/samm/ComfyUI-Shared/output
- **OS:** darwin
- **Python Version:** 3.13.12 (main, Feb 12 2026, 01:06:02) [Clang 21.1.4 ]
- **Embedded Python:** false
- **PyTorch Version:** 2.12.1
## Devices
- **Name:** mps
- **Type:** mps
- **VRAM Total:** 137438953472
- **VRAM Free:** 75672535040
- **Torch VRAM Total:** 137438953472
- **Torch VRAM Free:** 75672535040
## Logs
2026-07-29T14:40:37.229135 - [32m[INFO][0m Adding extra search path upscale_models /Users/samm/ComfyUI-Shared/models/upscale_models
2026-07-29T14:40:37.229146 - [32m[INFO][0m Adding extra search path background_removal /Users/samm/ComfyUI-Shared/models/background_removal
2026-07-29T14:40:37.229162 - [32m[INFO][0m Adding extra search path frame_interpolation /Users/samm/ComfyUI-Shared/models/frame_interpolation
2026-07-29T14:40:37.229175 - [32m[INFO][0m Adding extra search path geometry_estimation /Users/samm/ComfyUI-Shared/models/geometry_estimation
2026-07-29T14:40:37.229189 - [32m[INFO][0m Adding extra search path optical_flow /Users/samm/ComfyUI-Shared/models/optical_flow
2026-07-29T14:40:37.229204 - [32m[INFO][0m Adding extra search path detection /Users/samm/ComfyUI-Shared/models/detection
2026-07-29T14:40:37.229217 - [32m[INFO][0m Adding extra search path vae /Users/samm/ComfyUI-Shared/models/vae
2026-07-29T14:40:37.229229 - [32m[INFO][0m Adding extra search path vae_approx /Users/samm/ComfyUI-Shared/models/vae_approx
2026-07-29T14:40:37.229239 - [32m[INFO][0m Adding extra search path clip /Users/samm/ComfyUI-Shared/models/clip
2026-07-29T14:40:37.229250 - [32m[INFO][0m Adding extra search path unet /Users/samm/ComfyUI-Shared/models/unet
2026-07-29T14:40:37.229265 - [32m[INFO][0m Setting output directory to: /Users/samm/ComfyUI-Shared/output
2026-07-29T14:40:37.229291 - [32m[INFO][0m Setting input directory to: /Users/samm/ComfyUI-Shared/input
2026-07-29T14:40:37.312064 - [START] Security scan2026-07-29T14:40:37.312072 -
2026-07-29T14:40:37.336839 - [32m[INFO][0m [ComfyUI-Manager] Using uv as Python module for pip operations.
2026-07-29T14:40:37.380587 - [DONE] Security scan2026-07-29T14:40:37.380620 -
2026-07-29T14:40:37.381139 - ** ComfyUI startup time:2026-07-29T14:40:37.381167 - 2026-07-29T14:40:37.381183 - 2026-07-29 14:40:37.3802026-07-29T14:40:37.381194 -
2026-07-29T14:40:37.381213 - ** Platform:2026-07-29T14:40:37.381219 - 2026-07-29T14:40:37.381225 - Darwin2026-07-29T14:40:37.381231 -
2026-07-29T14:40:37.381238 - ** Python version:2026-07-29T14:40:37.381244 - 2026-07-29T14:40:37.381250 - 3.13.12 (main, Feb 12 2026, 01:06:02) [Clang 21.1.4 ]2026-07-29T14:40:37.381256 -
2026-07-29T14:40:37.381262 - ** Python executable:2026-07-29T14:40:37.381269 - 2026-07-29T14:40:37.381276 - /Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/bin/python32026-07-29T14:40:37.381285 -
2026-07-29T14:40:37.381295 - ** ComfyUI Path:2026-07-29T14:40:37.381301 - 2026-07-29T14:40:37.381307 - /Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI2026-07-29T14:40:37.381314 -
2026-07-29T14:40:37.381322 - ** ComfyUI Base Folder Path:2026-07-29T14:40:37.381328 - 2026-07-29T14:40:37.381336 - /Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI2026-07-29T14:40:37.381342 -
2026-07-29T14:40:37.381348 - ** User directory:2026-07-29T14:40:37.381354 - 2026-07-29T14:40:37.381360 - /Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/user2026-07-29T14:40:37.381366 -
2026-07-29T14:40:37.381373 - ** ComfyUI-Manager config path:2026-07-29T14:40:37.381378 - 2026-07-29T14:40:37.381383 - /Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/user/__manager/config.ini2026-07-29T14:40:37.381389 -
2026-07-29T14:40:37.381399 - ** Log path:2026-07-29T14:40:37.381404 - 2026-07-29T14:40:37.381410 - /Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/user/comfyui.log2026-07-29T14:40:37.381415 -
2026-07-29T14:40:37.432478 - [32m[INFO][0m [PRE] ComfyUI-Manager
2026-07-29T14:40:38.290077 - [32m[INFO][0m Found comfy_kitchen backend cuda: {'available': False, 'disabled': True, 'unavailable_reason': 'Extension file not found: /Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/comfy_kitchen/backends/cuda/_C.abi3.so', 'capabilities': []}
2026-07-29T14:40:38.290162 - [32m[INFO][0m Found comfy_kitchen backend eager: {'available': True, 'disabled': False, 'unavailable_reason': None, 'capabilities': ['adaln', 'apply_rope', 'apply_rope1', 'apply_rope1_', 'apply_rope_', 'apply_rope_split_half', 'apply_rope_split_half1', 'apply_rope_split_half1_', 'apply_rope_split_half_', 'convrot_w4a4_linear', 'dequantize_convrot_w4a4_weight', 'dequantize_int8_convrot_weight', 'dequantize_int8_convrot_weight_dtype', 'dequantize_int8_embedding', 'dequantize_int8_simple', 'dequantize_int8_simple_dtype', 'dequantize_mxfp8', 'dequantize_nvfp4', 'dequantize_per_tensor_fp8', 'gemv_awq_w4a16', 'int8_linear', 'prepare_int4_weight_for_int8_linear', 'quantize_and_rotate_rowwise', 'quantize_convrot_w4a4_weight', 'quantize_int8_convrot_weight', 'quantize_int8_rowwise', 'quantize_int8_tensorwise', 'quantize_mxfp8', 'quantize_nvfp4', 'quantize_per_tensor_fp8', 'quantize_svdquant_w4a4', 'rms_adaln', 'rms_rope', 'rms_rope1', 'rms_rope1_', 'rms_rope_', 'rms_rope_split_half', 'rms_rope_split_half1', 'rms_rope_split_half1_', 'rms_rope_split_half_', 'scaled_mm_mxfp8', 'scaled_mm_nvfp4', 'scaled_mm_svdquant_w4a4', 'stochastic_rounding_fp8']}
2026-07-29T14:40:38.290213 - [32m[INFO][0m Found comfy_kitchen backend triton: {'available': False, 'disabled': True, 'unavailable_reason': "ImportError: No module named 'triton'", 'capabilities': []}
2026-07-29T14:40:38.293587 - [32m[INFO][0m Checkpoint files will always be loaded safely.
2026-07-29T14:40:38.318356 - [32m[INFO][0m Total VRAM 131072 MB, total RAM 131072 MB
2026-07-29T14:40:38.318440 - [32m[INFO][0m pytorch version: 2.12.1
2026-07-29T14:40:38.319587 - [32m[INFO][0m Mac Version (26, 6)
2026-07-29T14:40:38.319702 - [32m[INFO][0m Set vram state to: SHARED
2026-07-29T14:40:38.319740 - [32m[INFO][0m Device: mps
2026-07-29T14:40:38.353590 - [32m[INFO][0m Using sub quadratic optimization for attention, if you have memory or speed issues try using: --use-split-cross-attention
2026-07-29T14:40:39.660734 - [32m[INFO][0m Python version: 3.13.12 (main, Feb 12 2026, 01:06:02) [Clang 21.1.4 ]
2026-07-29T14:40:39.660824 - [32m[INFO][0m ComfyUI version: 0.29.0
2026-07-29T14:40:39.661075 - [32m[INFO][0m comfy-aimdo version: 0.4.10
2026-07-29T14:40:39.661352 - [32m[INFO][0m comfy-kitchen version: 0.2.23
2026-07-29T14:40:39.662629 - [32m[INFO][0m comfyui-frontend-package version: 1.47.10
2026-07-29T14:40:39.662677 - [32m[INFO][0m comfyui-workflow-templates version: 0.11.19
2026-07-29T14:40:39.662704 - [32m[INFO][0m comfyui-embedded-docs version: 0.5.9
2026-07-29T14:40:39.662726 - [32m[INFO][0m comfy-kitchen version: 0.2.23
2026-07-29T14:40:39.662745 - [32m[INFO][0m comfy-aimdo version: 0.4.10
2026-07-29T14:40:39.663577 - [32m[INFO][0m [Prompt Server] web root: /Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/comfyui_frontend_package/static
2026-07-29T14:40:39.663962 - [32m[INFO][0m Asset seeder disabled
2026-07-29T14:40:39.664020 - [32m[INFO][0m [START] ComfyUI-Manager
2026-07-29T14:40:39.733078 - [ComfyUI-Manager] Using GitPython backend2026-07-29T14:40:39.733130 -
2026-07-29T14:40:39.749558 - [32m[INFO][0m [ComfyUI-Manager] network_mode: public
2026-07-29T14:40:39.750323 - [1m[33m[WARNING][0m [ComfyUI-Manager] The matrix sharing feature has been disabled because the `matrix-nio` dependency is not installed.
To use this feature, please run the following command:
/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/bin/python3 -m pip install matrix-nio
2026-07-29T14:40:40.035516 - [32m[INFO][0m No OpenGL_accelerate module loaded: No module named 'OpenGL_accelerate'
2026-07-29T14:40:40.435796 - [32m[INFO][0m
Import times for custom nodes:
2026-07-29T14:40:40.435884 - [32m[INFO][0m 0.0 seconds: /Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/custom_nodes/websocket_image_save.py
2026-07-29T14:40:40.435920 - [32m[INFO][0m
2026-07-29T14:40:40.437175 - [32m[INFO][0m Context impl SQLiteImpl.
2026-07-29T14:40:40.437214 - [32m[INFO][0m Will assume non-transactional DDL.
2026-07-29T14:40:40.464205 - [32m[INFO][0m Using RAM pressure cache.
2026-07-29T14:40:40.464481 - [32m[INFO][0m Starting server
2026-07-29T14:40:40.464689 - [32m[INFO][0m To see the GUI go to: http://127.0.0.1:8188
2026-07-29T14:43:23.250185 - [32m[INFO][0m FETCH ComfyRegistry Data [DONE]
2026-07-29T14:43:23.352387 - [32m[INFO][0m [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
2026-07-29T14:43:23.356766 - FETCH DATA from: /Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/user/__manager/cache/1514988643_custom-node-list.json2026-07-29T14:43:23.356789 - 2026-07-29T14:43:23.362816 - [DONE]2026-07-29T14:43:23.362840 -
2026-07-29T14:43:23.376587 - [32m[INFO][0m [ComfyUI-Manager] All startup tasks have been completed.
2026-07-29T14:49:49.362791 - [32m[INFO][0m [ComfyUI-Manager] The ComfyRegistry cache update is still in progress, so an outdated cache is being used.
2026-07-29T14:49:50.311438 -
0%| | 0.00/1.09M [00:00
['/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/bin/python3', '-m', 'uv',
'pip', 'install', 'pillow>=10.3.0']
2026-07-29T14:49:50.491318 - [!]2026-07-29T14:49:50.491585 - 2026-07-29T14:49:50.491711 - Using Python 3.13.12 environment at: /Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv
2026-07-29T14:49:50.491780 - 2026-07-29T14:49:50.492232 - [!]2026-07-29T14:49:50.492260 - 2026-07-29T14:49:50.492321 - Checked 1 package in 1ms
2026-07-29T14:49:50.492374 - 2026-07-29T14:49:50.493704 -
## ComfyUI-Manager: EXECUTE =>
['/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/bin/python3', '-m', 'uv',
'pip', 'install', 'color-matcher']
2026-07-29T14:49:50.525842 - [!]2026-07-29T14:49:50.526046 - 2026-07-29T14:49:50.526103 - Using Python 3.13.12 environment at: /Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv
2026-07-29T14:49:50.526325 - 2026-07-29T14:49:50.862762 - [!]2026-07-29T14:49:50.862822 - 2026-07-29T14:49:50.862935 - Resolved 15 packages in 332ms
2026-07-29T14:49:50.863127 - 2026-07-29T14:49:50.895913 - [!]2026-07-29T14:49:50.895967 - 2026-07-29T14:49:50.896010 - Downloading matplotlib (8.9MiB)
2026-07-29T14:49:50.896027 - 2026-07-29T14:49:50.921142 - [!]2026-07-29T14:49:50.921274 - 2026-07-29T14:49:50.921413 - Downloading fonttools (2.7MiB)
2026-07-29T14:49:50.921567 - 2026-07-29T14:49:50.921621 - [!]2026-07-29T14:49:50.921758 - 2026-07-29T14:49:50.921853 - Downloading color-matcher (1.7MiB)
2026-07-29T14:49:50.922041 - 2026-07-29T14:49:51.105546 - [!]2026-07-29T14:49:51.105642 - 2026-07-29T14:49:51.105677 - Downloaded color-matcher
2026-07-29T14:49:51.105695 - 2026-07-29T14:49:51.192998 - [!]2026-07-29T14:49:51.193092 - 2026-07-29T14:49:51.193178 - Downloaded fonttools
2026-07-29T14:49:51.193369 - 2026-07-29T14:49:51.309364 - [!]2026-07-29T14:49:51.309455 - 2026-07-29T14:49:51.309534 - Downloaded matplotlib
2026-07-29T14:49:51.309598 - 2026-07-29T14:49:51.309625 - [!]2026-07-29T14:49:51.309640 - 2026-07-29T14:49:51.309677 - Prepared 6 packages in 428ms
2026-07-29T14:49:51.309746 - 2026-07-29T14:49:51.333263 - [!]2026-07-29T14:49:51.333457 - 2026-07-29T14:49:51.333581 - Installed 12 packages in 23ms
2026-07-29T14:49:51.333681 - 2026-07-29T14:49:51.333816 - [!]2026-07-29T14:49:51.333955 - 2026-07-29T14:49:51.334154 - + color-matcher==0.6.0
2026-07-29T14:49:51.334278 - 2026-07-29T14:49:51.334410 - [!]2026-07-29T14:49:51.334481 - 2026-07-29T14:49:51.334598 - + contourpy==1.3.3
2026-07-29T14:49:51.334750 - 2026-07-29T14:49:51.334842 - [!]2026-07-29T14:49:51.335068 - 2026-07-29T14:49:51.335173 - + cycler==0.12.1
2026-07-29T14:49:51.335259 - 2026-07-29T14:49:51.335295 - [!]2026-07-29T14:49:51.335379 - 2026-07-29T14:49:51.335456 - + ddt==1.7.2
2026-07-29T14:49:51.335542 - 2026-07-29T14:49:51.335624 - [!]2026-07-29T14:49:51.335723 - 2026-07-29T14:49:51.335809 - + docutils==0.23
2026-07-29T14:49:51.335842 - 2026-07-29T14:49:51.335860 - [!]2026-07-29T14:49:51.335888 - 2026-07-29T14:49:51.335976 - + fonttools==4.63.0
2026-07-29T14:49:51.336124 - 2026-07-29T14:49:51.336190 - [!]2026-07-29T14:49:51.336262 - 2026-07-29T14:49:51.336356 - + imageio==2.37.4
2026-07-29T14:49:51.336434 - 2026-07-29T14:49:51.336517 - [!]2026-07-29T14:49:51.336543 - 2026-07-29T14:49:51.336638 - + kiwisolver==1.5.0
2026-07-29T14:49:51.336745 - 2026-07-29T14:49:51.336765 - [!]2026-07-29T14:49:51.336832 - 2026-07-29T14:49:51.336899 - + matplotlib==3.11.1
2026-07-29T14:49:51.336930 - 2026-07-29T14:49:51.336984 - [!]2026-07-29T14:49:51.337018 - 2026-07-29T14:49:51.337071 - + pyparsing==3.3.2
2026-07-29T14:49:51.337169 - 2026-07-29T14:49:51.337258 - [!]2026-07-29T14:49:51.337321 - 2026-07-29T14:49:51.337425 - + python-dateutil==2.9.0.post0
2026-07-29T14:49:51.337473 - 2026-07-29T14:49:51.337534 - [!]2026-07-29T14:49:51.337597 - 2026-07-29T14:49:51.337674 - + six==1.17.0
2026-07-29T14:49:51.337765 - 2026-07-29T14:49:51.338563 -
## ComfyUI-Manager: EXECUTE =>
['/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/bin/python3', '-m', 'uv',
'pip', 'install', 'matplotlib']
2026-07-29T14:49:51.373558 - [!]2026-07-29T14:49:51.373903 - 2026-07-29T14:49:51.374184 - Using Python 3.13.12 environment at: /Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv
2026-07-29T14:49:51.374415 - 2026-07-29T14:49:51.378746 - [!]2026-07-29T14:49:51.378799 - 2026-07-29T14:49:51.378897 - Checked 1 package in 5ms
2026-07-29T14:49:51.379029 - 2026-07-29T14:49:51.380688 -
## ComfyUI-Manager: EXECUTE =>
['/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/bin/python3', '-m', 'uv',
'pip', 'install', 'mss']
2026-07-29T14:49:51.420047 - [!]2026-07-29T14:49:51.420194 - 2026-07-29T14:49:51.420222 - Using Python 3.13.12 environment at: /Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv
2026-07-29T14:49:51.420325 - 2026-07-29T14:49:51.571783 - [!]2026-07-29T14:49:51.571883 - 2026-07-29T14:49:51.571966 - Resolved 1 package in 147ms
2026-07-29T14:49:51.572035 - 2026-07-29T14:49:51.603306 - [!]2026-07-29T14:49:51.603359 - 2026-07-29T14:49:51.603381 - Prepared 1 package in 27ms
2026-07-29T14:49:51.603396 - 2026-07-29T14:49:51.606017 - [!]2026-07-29T14:49:51.606172 - 2026-07-29T14:49:51.606361 - Installed 1 package in 2ms
2026-07-29T14:49:51.606473 - 2026-07-29T14:49:51.606526 - [!]2026-07-29T14:49:51.606598 - 2026-07-29T14:49:51.606713 - + mss==10.2.0
2026-07-29T14:49:51.606748 - 2026-07-29T14:49:51.608505 -
## ComfyUI-Manager: EXECUTE =>
['/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/bin/python3', '-m', 'uv',
'pip', 'install', 'opencv-python-headless']
2026-07-29T14:49:51.644328 - [!]2026-07-29T14:49:51.644835 - 2026-07-29T14:49:51.645022 - Using Python 3.13.12 environment at: /Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv
2026-07-29T14:49:51.645193 - 2026-07-29T14:49:51.792471 - [!]2026-07-29T14:49:51.792568 - 2026-07-29T14:49:51.792612 - Resolved 2 packages in 142ms
2026-07-29T14:49:51.792696 - 2026-07-29T14:49:51.805860 - [!]2026-07-29T14:49:51.805957 - 2026-07-29T14:49:51.806036 - Downloading opencv-python-headless (46.1MiB)
2026-07-29T14:49:51.806075 - 2026-07-29T14:49:53.143031 - [!]2026-07-29T14:49:53.143122 - 2026-07-29T14:49:53.143222 - Downloaded opencv-python-headless
2026-07-29T14:49:53.143307 - 2026-07-29T14:49:53.143327 - [!]2026-07-29T14:49:53.143340 - 2026-07-29T14:49:53.143353 - Prepared 1 package in 1.34s
2026-07-29T14:49:53.143438 - 2026-07-29T14:49:53.145886 - [!]2026-07-29T14:49:53.145956 - 2026-07-29T14:49:53.146028 - Installed 1 package in 2ms
2026-07-29T14:49:53.146078 - 2026-07-29T14:49:53.146155 - [!]2026-07-29T14:49:53.146202 - 2026-07-29T14:49:53.146292 - + opencv-python-headless==5.0.0.93
2026-07-29T14:49:54.129589 -
90%|████████▉ | 3.64M/4.06M [00:00<00:00, 19.3MB/s]2026-07-29T14:49:54.149540 -
100%|██████████| 4.06M/4.06M [00:00<00:00, 18.4MB/s]2026-07-29T14:49:54.149710 -
2026-07-29T14:49:54.193111 - [32m[INFO][0m Extracted zip file to /Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/custom_nodes/rgthree-comfy
2026-07-29T14:49:54.193848 - Install: pip packages
2026-07-29T14:49:58.921416 - [32m[INFO][0m
After restarting ComfyUI, please refresh the browser.
2026-07-29T15:20:57.666606 - [32m[INFO][0m [ComfyUI-Manager] The ComfyRegistry cache update is still in progress, so an outdated cache is being used.
2026-07-29T15:20:57.697941 - FETCH DATA from: /Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/comfyui_manager/custom-node-list.json2026-07-29T15:20:57.697984 - 2026-07-29T15:20:57.703463 - [DONE]2026-07-29T15:20:57.703513 -
2026-07-29T15:23:07.560726 - [32m[INFO][0m got prompt
2026-07-29T15:23:07.581800 - [32m[INFO][0m Using split attention in VAE
2026-07-29T15:23:07.584212 - [32m[INFO][0m Using split attention in VAE
2026-07-29T15:23:07.740837 - [32m[INFO][0m VAE load device: mps, offload device: cpu, dtype: torch.bfloat16
2026-07-29T15:23:07.822583 - [32m[INFO][0m Found quantization metadata version 1
2026-07-29T15:23:07.823563 - [32m[INFO][0m Using MixedPrecisionOps for text encoder
2026-07-29T15:23:08.455719 - [32m[INFO][0m Requested to load Ideogram4Qwen3VLTEModel_
2026-07-29T15:23:08.479834 - [32m[INFO][0m loaded completely; 10097.97 MB loaded, full load: True
2026-07-29T15:23:08.483910 - [32m[INFO][0m CLIP/text encoder model load device: cpu, offload device: cpu, current: cpu, dtype: torch.float16
2026-07-29T15:23:19.031604 - [32m[INFO][0m Found quantization metadata version 1
2026-07-29T15:23:19.031733 - [32m[INFO][0m Detected mixed precision quantization
2026-07-29T15:23:19.032124 - [32m[INFO][0m Using mixed precision operations
2026-07-29T15:23:19.032214 - [32m[INFO][0m Native ops: int8_tensorwise, convrot_w4a4 , emulated ops: nvfp4, float8_e5m2, mxfp8, float8_e4m3fn
2026-07-29T15:23:19.037309 - [32m[INFO][0m model weight dtype torch.bfloat16, manual cast: torch.bfloat16
2026-07-29T15:23:19.038323 - [32m[INFO][0m model_type FLOW
2026-07-29T15:23:19.106588 - [32m[INFO][0m Found quantization metadata version 1
2026-07-29T15:23:19.106721 - [32m[INFO][0m Detected mixed precision quantization
2026-07-29T15:23:19.107068 - [32m[INFO][0m Using mixed precision operations
2026-07-29T15:23:19.107178 - [32m[INFO][0m Native ops: int8_tensorwise, convrot_w4a4 , emulated ops: nvfp4, float8_e5m2, mxfp8, float8_e4m3fn
2026-07-29T15:23:19.111674 - [32m[INFO][0m model weight dtype torch.bfloat16, manual cast: torch.bfloat16
2026-07-29T15:23:19.112718 - [32m[INFO][0m model_type FLOW
2026-07-29T15:23:19.150300 - [32m[INFO][0m Requested to load Ideogram4
2026-07-29T15:23:22.341500 - [32m[INFO][0m loaded completely; 9139.42 MB loaded, full load: True
2026-07-29T15:23:22.401990 - [32m[INFO][0m Requested to load Ideogram4
2026-07-29T15:23:26.539274 - [32m[INFO][0m loaded completely; 9139.42 MB loaded, full load: True
2026-07-29T15:23:27.000765 -
0%| | 0/12 [00:00...
comfy.patcher_extension.get_all_wrappers(comfy.patcher_extension.WrappersMP.APPLY_MODEL, transformer_options)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
).execute(x, t, c_concat, c_crossattn, control, transformer_options, **kwargs)
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/patcher_extension.py", line 113, in execute
return self.original(*args, **kwargs)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/model_base.py", line 238, in _apply_model
model_output = self.diffusion_model(xc, t, context=context, control=control, transformer_options=transformer_options, **extra_conds)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/torch/nn/modules/module.py", line 1778, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/torch/nn/modules/module.py", line 1789, in _call_impl
return forward_call(*args, **kwargs)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/ldm/ideogram4/model.py", line 309, in forward
return comfy.patcher_extension.WrapperExecutor.new_class_executor(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...<2 lines>...
comfy.patcher_extension.get_all_wrappers(comfy.patcher_extension.WrappersMP.DIFFUSION_MODEL, transformer_options),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
).execute(x, timesteps, context, attention_mask, transformer_options, **kwargs)
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/patcher_extension.py", line 113, in execute
return self.original(*args, **kwargs)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/ldm/ideogram4/model.py", line 324, in _forward
return -self._run_conditional(x, context, attention_mask, timesteps, gh, gw, transformer_options)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/ldm/ideogram4/model.py", line 291, in _run_conditional
out = self._backbone(context_chunk, x_full, t_chunk, position_ids, attn_mask, indicator,
transformer_options=transformer_options)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/ldm/ideogram4/model.py", line 216, in _backbone
h = layer(h, attn_mask, freqs_cis, adaln_input, transformer_options=transformer_options)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/torch/nn/modules/module.py", line 1778, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/torch/nn/modules/module.py", line 1789, in _call_impl
return forward_call(*args, **kwargs)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/ldm/ideogram4/model.py", line 102, in forward
mod = self.adaln_modulation(adaln_input)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/torch/nn/modules/module.py", line 1778, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/torch/nn/modules/module.py", line 1789, in _call_impl
return forward_call(*args, **kwargs)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/ops.py", line 1323, in forward
output = self.forward_comfy_cast_weights(
input,
...<2 lines>...
weight_only_quant=weight_only_quant,
)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/ops.py", line 1265, in forward_comfy_cast_weights
x = self._forward(input, weight, bias)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/comfy/ops.py", line 1236, in _forward
return torch.nn.functional.linear(input, weight, bias)
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/comfy_kitchen/tensor/base.py", line 362, in __torch_dispatch__
return op_handlers[parent_cls](qt, args, kwargs)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/comfy_kitchen/tensor/int8.py", line 287, in _handle_int8_linear_tensorwise
return torch.ops.comfy_kitchen.int8_linear(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
input_tensor.contiguous(),
^^^^^^^^^^^^^^^^^^^^^^^^^^
...<5 lines>...
convrot_groupsize,
^^^^^^^^^^^^^^^^^^
)
^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/torch/_ops.py", line 1275, in __call__
return self._op(*args, **kwargs)
~~~~~~~~^^^^^^^^^^^^^^^^^
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/torch/_library/custom_ops.py", line 375, in backend_impl
result = self._backend_fns[device_type](*args, **kwargs)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/torch/_compile.py", line 54, in inner
return disable_fn(*args, **kwargs)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/torch/_dynamo/eval_frame.py", line 1298, in _fn
return fn(*args, **kwargs)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/torch/_library/custom_ops.py", line 410, in wrapped_fn
return fn(*args, **kwargs)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/comfy_kitchen/backends/eager/quantization.py", line 1222, in _op_int8_linear
return impl(**kwargs)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/comfy_kitchen/backends/eager/quantization.py", line 1022, in int8_linear
result = _int8_matmul_accumulate(x_8, weight.T.contiguous())
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/comfy_kitchen/backends/eager/quantization.py", line 779, in _int8_matmul_accumulate
result = fast_int8_mm(a, b)
File "/Users/samm/ComfyUI-Installs/ComfyUI/ComfyUI/.venv/lib/python3.13/site-packages/comfy_kitchen/backends/eager/quantization.py", line 754, in fast_int8_mm
return torch._int_mm(lhs, rhs)
~~~~~~~~~~~~~^^^^^^^^^^
NotImplementedError: The operator 'aten::_int_mm' is not currently implemented for the MPS device. If you want this op to be considered for addition please comment on https://github.com/pytorch/pytorch/issues/141287 and mention use-case, that resulted in missing op as well as commit hash 7269437d655783a26cba32aa88195b741ff496aa. As a temporary fix, you can set the environment variable `PYTORCH_ENABLE_MPS_FALLBACK=1` to use the CPU as a fallback for this op. WARNING: this will be slower than running natively on MPS.
2026-07-29T15:23:28.690945 - [32m[INFO][0m [32mPrompt executed in 21.13 seconds[0m
## 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.
## Additional Context
(Please add any additional context or steps to reproduce the error here)
```
### Other
_No response_
Contributor guide
Research direction
Reproduce the official Ideogram4 int8 text-to-image workflow on an Apple MPS device and start at comfy/ldm/ideogram4/model.py, especially the _backbone and _run_conditional path shown in the trace. Trace where aten::_int_mm is reached and check the reported PyTorch MPS limitation. Done means the workflow completes without this NotImplementedError, with behavior verified using the same reproduction steps.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100