Comfy-Org / Comfy-Org/ComfyUI

Node threw an error during execution.

Open
#15,797 3 comments 0 reactions 0 assignees View on GitHub
User Support
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

### Custom Node Testing

- [ ] 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)

### Your question

Node threw an error during execution.

# ComfyUI Error Report
## Error Details
- **Node ID:** 433
- **Node Type:** CLIPTextEncode
- **Exception Type:** ValueError
- **Exception Message:** ValueError: not enough values to unpack (expected 4, got 1)

## Stack Trace
```
File "D:\ComfyUIPlayfrom\ComfyUIhub\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 "D:\ComfyUIPlayfrom\ComfyUIhub\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 "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\execution.py", line 318, in _async_map_node_over_list
await process_inputs(input_dict, i)

File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\execution.py", line 306, in process_inputs
result = f(**inputs)
^^^^^^^^^^^

File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\nodes.py", line 77, in encode
return (clip.encode_from_tokens_scheduled(tokens), )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd.py", line 336, in encode_from_tokens_scheduled
pooled_dict = self.encode_from_tokens(tokens, return_pooled=return_pooled, return_dict=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd.py", line 405, in encode_from_tokens
o = self.cond_stage_model.encode_token_weights(tokens)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd1_clip.py", line 743, in encode_token_weights
out = getattr(self, self.clip).encode_token_weights(token_weight_pairs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd1_clip.py", line 45, in encode_token_weights
o = self.encode(to_encode)
^^^^^^^^^^^^^^^^^^^^^^

File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd1_clip.py", line 306, in encode
return self(tokens)
^^^^^^^^^^^^

File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1778, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1789, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd1_clip.py", line 266, in forward
embeds, attention_mask, num_tokens, embeds_info = self.process_tokens(tokens, device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

```
## System Information
- **ComfyUI Version:** 0.30.0
- **Arguments:** main.py --reserve-vram 500 --enable-manager
- **OS:** win32
- **Python Version:** 3.12.9 (main, Feb 12 2025, 14:52:31) [MSC v.1942 64 bit (AMD64)]
- **Embedded Python:** false
- **PyTorch Version:** 2.13.0+cu126
## Devices

- **Name:** cuda:0 NVIDIA GeForce RTX 4060 Laptop GPU : cudaMallocAsync
- **Type:** cuda
- **VRAM Total:** 8585216000
- **VRAM Free:** 7451181056
- **Torch VRAM Total:** 0
- **Torch VRAM Free:** 0

## Logs
```
2026-08-22T08:47:27.970859 - [INFO] setup plugin alembic.autogenerate.schemas
2026-08-22T08:47:27.970859 - [INFO] setup plugin alembic.autogenerate.tables
2026-08-22T08:47:27.970859 - [INFO] setup plugin alembic.autogenerate.types
2026-08-22T08:47:27.970859 - [INFO] setup plugin alembic.autogenerate.constraints
2026-08-22T08:47:27.970859 - [INFO] setup plugin alembic.autogenerate.defaults
2026-08-22T08:47:27.970859 - [INFO] setup plugin alembic.autogenerate.comments
2026-08-22T08:47:27.970859 - [INFO] setup plugin alembic.autogenerate.checkconstraint_byname
2026-08-22T08:47:29.703438 - [START] Security scan2026-08-22T08:47:29.703438 -
2026-08-22T08:47:29.754067 - [WARNING] [ComfyUI-Manager] python -m pip not available. Falling back to uv.
2026-08-22T08:47:30.639384 - [INFO] [ComfyUI-Manager] Using uv as Python module for pip operations.
2026-08-22T08:47:30.869160 - [DONE] Security scan2026-08-22T08:47:30.869160 -
2026-08-22T08:47:30.871726 - ** ComfyUI startup time:2026-08-22T08:47:30.871726 - 2026-08-22T08:47:30.872230 - 2026-08-22 08:47:30.8712026-08-22T08:47:30.872230 -
2026-08-22T08:47:30.872230 - ** Platform:2026-08-22T08:47:30.872230 - 2026-08-22T08:47:30.872230 - Windows2026-08-22T08:47:30.872230 -
2026-08-22T08:47:30.872230 - ** Python version:2026-08-22T08:47:30.872230 - 2026-08-22T08:47:30.872230 - 3.12.9 (main, Feb 12 2025, 14:52:31) [MSC v.1942 64 bit (AMD64)]2026-08-22T08:47:30.872230 -
2026-08-22T08:47:30.872230 - ** Python executable:2026-08-22T08:47:30.872747 - 2026-08-22T08:47:30.872747 - D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\.venv\Scripts\python.exe2026-08-22T08:47:30.872747 -
2026-08-22T08:47:30.872747 - ** ComfyUI Path:2026-08-22T08:47:30.872747 - 2026-08-22T08:47:30.872747 - D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI2026-08-22T08:47:30.872747 -
2026-08-22T08:47:30.872747 - ** ComfyUI Base Folder Path:2026-08-22T08:47:30.873264 - 2026-08-22T08:47:30.873264 - D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI2026-08-22T08:47:30.873264 -
2026-08-22T08:47:30.873264 - ** User directory:2026-08-22T08:47:30.873264 - 2026-08-22T08:47:30.873264 - D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\user2026-08-22T08:47:30.873264 -
2026-08-22T08:47:30.873264 - ** ComfyUI-Manager config path:2026-08-22T08:47:30.873264 - 2026-08-22T08:47:30.873264 - D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\user\__manager\config.ini2026-08-22T08:47:30.873264 -
2026-08-22T08:47:30.876033 - ** Log path:2026-08-22T08:47:30.876033 - 2026-08-22T08:47:30.876033 - D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\user\comfyui.log2026-08-22T08:47:30.876033 -
2026-08-22T08:47:31.109498 - [INFO] [PRE] ComfyUI-Manager
2026-08-22T08:47:31.120023 - [INFO]
Prestartup times for custom nodes:
2026-08-22T08:47:31.120023 - [INFO] 0.0 seconds: D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\custom_nodes\rgthree-comfy
2026-08-22T08:47:31.120023 - [INFO] 0.0 seconds: D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\custom_nodes\comfyui-easy-use
2026-08-22T08:47:31.120023 - [INFO]
2026-08-22T08:47:47.085856 - [WARNING] WARNING: You need pytorch with cu130 or higher to use optimized CUDA operations.
2026-08-22T08:47:47.085856 - [INFO] Found comfy_kitchen backend hip: {'available': False, 'disabled': False, 'unavailable_reason': 'PyTorch ROCm/HIP runtime not available', 'capabilities': []}
2026-08-22T08:47:47.086837 - [INFO] Found comfy_kitchen backend triton: {'available': False, 'disabled': True, 'unavailable_reason': "ImportError: No module named 'triton'", 'capabilities': []}
2026-08-22T08:47:47.086837 - [INFO] 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', 'dequantize_w4a8_int8_weight', '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', 'quantize_w4a8_int8_weight', '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_', 'rotate_int8_convrot_weight', 'scaled_mm_mxfp8', 'scaled_mm_nvfp4', 'scaled_mm_svdquant_w4a4', 'stochastic_rounding_fp8', 'w4a8_int8_linear']}
2026-08-22T08:47:47.086837 - [INFO] Found comfy_kitchen backend cuda: {'available': True, 'disabled': True, '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_simple', 'dequantize_int8_simple_dtype', 'dequantize_nvfp4', 'dequantize_per_tensor_fp8', 'dequantize_w4a8_int8_weight', 'gemv_awq_w4a16', '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', 'quantize_w4a8_int8_weight', '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_', 'rotate_int8_convrot_weight', 'scaled_mm_svdquant_w4a4', 'stochastic_rounding_fp8', 'w4a8_int8_linear']}
2026-08-22T08:47:47.149431 - [INFO] Checkpoint files will always be loaded safely.
2026-08-22T08:47:47.362187 - [INFO] Total VRAM 8188 MB, total RAM 40587 MB
2026-08-22T08:47:47.363207 - [INFO] pytorch version: 2.13.0+cu126
2026-08-22T08:47:47.364188 - [INFO] Set vram state to: NORMAL_VRAM
2026-08-22T08:47:47.364188 - [INFO] Device: cuda:0 NVIDIA GeForce RTX 4060 Laptop GPU : cudaMallocAsync
2026-08-22T08:47:47.398864 - [INFO] Using async weight offloading with 2 streams
2026-08-22T08:47:47.404064 - [INFO] Enabled pinned memory 16234.0
2026-08-22T08:47:47.548853 - [INFO] Using pytorch attention
2026-08-22T08:48:07.276056 - [INFO] aimdo: src-win/cuda-detour.c:38:INFO:aimdo_setup_hooks: installing 6 hooks
2026-08-22T08:48:07.318009 - [INFO] aimdo: src/control.c:262:INFO:comfy-aimdo NVML pressure enabled
2026-08-22T08:48:07.321614 - [INFO] aimdo: src-win/shmem-detect.c:80:INFO:comfy-aimdo WDDM adapter match: NVIDIA GeForce RTX 4060 Laptop GPU runtime_luid=00000000:00018583 dxgi_luid=00000000:00018583
2026-08-22T08:48:07.321614 - [INFO] aimdo: src/control.c:277:INFO:comfy-aimdo inited for GPU: NVIDIA GeForce RTX 4060 Laptop GPU (VRAM: 8187 MB)
2026-08-22T08:48:07.322623 - [INFO] DynamicVRAM support detected and enabled
2026-08-22T08:48:07.322623 - [INFO] Python version: 3.12.9 (main, Feb 12 2025, 14:52:31) [MSC v.1942 64 bit (AMD64)]
2026-08-22T08:48:07.322623 - [INFO] ComfyUI version: 0.30.0
2026-08-22T08:48:07.324622 - [INFO] comfy-aimdo version: 0.4.13
2026-08-22T08:48:07.325622 - [INFO] comfy-kitchen version: 0.2.27
2026-08-22T08:48:07.334670 - [INFO] comfyui-frontend-package version: 1.48.6
2026-08-22T08:48:07.334670 - [INFO] comfyui-workflow-templates version: 0.11.31
2026-08-22T08:48:07.334670 - [INFO] comfyui-embedded-docs version: 0.5.9
2026-08-22T08:48:07.334670 - [INFO] comfy-kitchen version: 0.2.27
2026-08-22T08:48:07.335569 - [INFO] comfy-aimdo version: 0.4.13
2026-08-22T08:48:07.338687 - [INFO] [Prompt Server] web root: D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\.venv\Lib\site-packages\comfyui_frontend_package\static
2026-08-22T08:48:07.339619 - [INFO] Asset seeder disabled
2026-08-22T08:48:07.339619 - [INFO] [START] ComfyUI-Manager
2026-08-22T08:48:07.797900 - [ComfyUI-Manager] Using GitPython backend2026-08-22T08:48:07.797900 -
2026-08-22T08:48:07.887883 - [INFO] [ComfyUI-Manager] network_mode: public
2026-08-22T08:48:12.227713 - [INFO] No OpenGL_accelerate module loaded: No module named 'OpenGL_accelerate'
2026-08-22T08:48:16.273238 - [D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\custom_nodes\comfy-mtb] | INFO -> loaded 103 nodes successfuly
2026-08-22T08:48:16.275239 - [D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\custom_nodes\comfy-mtb] | INFO -> Some nodes (5) could not be loaded. This can be ignored, but go to http://127.0.0.1:8188/mtb if you want more information.
2026-08-22T08:48:21.064922 - [ComfyUI-Easy-Use] server: v1.3.6 Loaded2026-08-22T08:48:21.064922 -
2026-08-22T08:48:21.064922 - [ComfyUI-Easy-Use] web root: D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\custom_nodes\comfyui-easy-use\web_version/v2 Loaded2026-08-22T08:48:21.064922 -
2026-08-22T08:48:21.096054 - [INFO] ComfyUI-GGUF: Allowing full torch compile
2026-08-22T08:48:21.270993 - [WARNING] KJNodes: PatchTritonVAE node could not be imported. PatchTritonVAE will be unavailable.
Traceback (most recent call last):
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\custom_nodes\comfyui-kjnodes\nodes\triton_vae.py", line 10, in
import triton
ModuleNotFoundError: No module named 'triton'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\custom_nodes\comfyui-kjnodes\__init__.py", line 382, in
from .nodes.triton_vae import PatchTritonVAE
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\custom_nodes\comfyui-kjnodes\nodes\triton_vae.py", line 13, in
raise ImportError("PatchTritonVAE requires triton (pip install triton, or triton-windows)") from e
ImportError: PatchTritonVAE requires triton (pip install triton, or triton-windows)
2026-08-22T08:48:22.548804 - [PLS] Checking optional dependencies...2026-08-22T08:48:22.548804 -
2026-08-22T08:48:22.722232 - [PLS] comfy_api: bound 'v0_0_2' (pinned versions present: v0_0_1, v0_0_2)2026-08-22T08:48:22.722232 -
2026-08-22T08:48:22.731343 - [PLS] ⚠ V3 nodes unavailable (ModuleNotFoundError("No module named 'D:\\\\ComfyUIPlayfrom\\\\ComfyUIhub\\\\ComfyUI\\\\custom_nodes\\\\polyhedron-lora-stack.nodes.ph_mesh_render_v3'")) — using legacy registration2026-08-22T08:48:22.731343 -
2026-08-22T08:48:22.737355 - [ULS] ✓ API routes registered (root + /api alias, 20 paths)2026-08-22T08:48:22.737355 -
2026-08-22T08:48:22.756393 - [PLS] ✓ Media Loader routes registered (root + /api alias, 28 paths)2026-08-22T08:48:22.756393 -
2026-08-22T08:48:22.760958 - [PLS] ✓ Polyhedron Sampler routes registered (root + /api alias, 6 paths)2026-08-22T08:48:22.760958 -
2026-08-22T08:48:22.760958 -
⚡ ============================================================
Polyhedron Suite v370
20 Nodes | Bridge: ✅
⚡ ============================================================
2026-08-22T08:48:22.760958 -
2026-08-22T08:48:22.888555 -
2026-08-22T08:48:22.889538 - [rgthree-comfy] Loaded 48 extraordinary nodes. 🎉2026-08-22T08:48:22.889538 -
2026-08-22T08:48:22.889538 -
2026-08-22T08:48:22.889538 - [rgthree-comfy] ComfyUI's new Node 2.0 rendering may be incompatible with some rgthree-comfy nodes and features, breaking some rendering as well as losing the ability to access a node's properties (a vital part of many nodes). It also appears to run MUCH more slowly spiking CPU usage and causing jankiness and unresponsiveness, especially with large workflows. Personally I am not planning to use the new Nodes 2.0 and, unfortunately, am not able to invest the time to investigate and overhaul rgthree-comfy where needed. If you have issues when Nodes 2.0 is enabled, I'd urge you to switch it off as well and join me in hoping ComfyUI is not planning to deprecate the existing, stable canvas rendering all together.
2026-08-22T08:48:22.889538 -
2026-08-22T08:48:22.984409 - 🚨 `image_gen_indicators` is part of Qwen3Model.forward's signature, but not documented. Make sure to add it to the docstring of the function in D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\custom_nodes\sensenova_u1\SenseNova\src\sensenova_u1\models\neo_unify\modeling_qwen3.py.
🚨 `indexes` is part of Qwen3Model.forward's signature, but not documented. Make sure to add it to the docstring of the function in D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\custom_nodes\sensenova_u1\SenseNova\src\sensenova_u1\models\neo_unify\modeling_qwen3.py.2026-08-22T08:48:22.985410 -
2026-08-22T08:48:22.986410 - 🚨 `indexes` is part of Qwen3ForCausalLM.forward's signature, but not documented. Make sure to add it to the docstring of the function in D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\custom_nodes\sensenova_u1\SenseNova\src\sensenova_u1\models\neo_unify\modeling_qwen3.py.2026-08-22T08:48:22.987410 -
2026-08-22T08:48:22.989430 - 🚨 `image_gen_indicators` is part of Qwen3MoeModel.forward's signature, but not documented. Make sure to add it to the docstring of the function in D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\custom_nodes\sensenova_u1\SenseNova\src\sensenova_u1\models\neo_unify\modeling_qwen3_moe.py.
🚨 `indexes` is part of Qwen3MoeModel.forward's signature, but not documented. Make sure to add it to the docstring of the function in D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\custom_nodes\sensenova_u1\SenseNova\src\sensenova_u1\models\neo_unify\modeling_qwen3_moe.py.2026-08-22T08:48:22.989430 -
2026-08-22T08:48:22.991005 - 🚨 `indexes` is part of Qwen3MoeForCausalLM.forward's signature, but not documented. Make sure to add it to the docstring of the function in D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\custom_nodes\sensenova_u1\SenseNova\src\sensenova_u1\models\neo_unify\modeling_qwen3_moe.py.2026-08-22T08:48:22.991005 -
2026-08-22T08:48:23.070997 - D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\custom_nodes\sensenova_u1\SenseNova\src\sensenova_u1\models\neo_unify\modeling_neo_chat.py:95: FutureWarning: `torch.cuda.amp.autocast(args...)` is deprecated. Please use `torch.amp.autocast('cuda', args...)` instead.
@torch.cuda.amp.autocast(dtype=torch.float32)
2026-08-22T08:48:23.136318 - [INFO]
Import times for custom nodes:
2026-08-22T08:48:23.136958 - [INFO] 0.0 seconds: D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\custom_nodes\websocket_image_save.py
2026-08-22T08:48:23.136958 - [INFO] 0.0 seconds: D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\custom_nodes\rescalecfgadvanced
2026-08-22T08:48:23.136958 - [INFO] 0.0 seconds: D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\custom_nodes\comfyui-minimaxh3-attentionmask
2026-08-22T08:48:23.136958 - [INFO] 0.0 seconds: D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\custom_nodes\comfyui-minimax-h3-turbo
2026-08-22T08:48:23.136958 - [INFO] 0.0 seconds: D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\custom_nodes\ComfyUI-MiniMaxH3-Enhancer
2026-08-22T08:48:23.137875 - [INFO] 0.0 seconds: D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\custom_nodes\ComfyUI-GGUF
2026-08-22T08:48:23.137875 - [INFO] 0.0 seconds: D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\custom_nodes\comfyui-minimaxh3-easy
2026-08-22T08:48:23.137875 - [INFO] 0.0 seconds: D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\custom_nodes\comfyui-spectrum-minimax-h3
2026-08-22T08:48:23.137875 - [INFO] 0.0 seconds: D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\custom_nodes\comfyui-custom-scripts
2026-08-22T08:48:23.137875 - [INFO] 0.1 seconds: D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\custom_nodes\gguf
2026-08-22T08:48:23.137875 - [INFO] 0.1 seconds: D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\custom_nodes\comfyui-minimax-h3-audio-T8
2026-08-22T08:48:23.137875 - [INFO] 0.1 seconds: D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\custom_nodes\rgthree-comfy
2026-08-22T08:48:23.138880 - [INFO] 0.2 seconds: D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\custom_nodes\comfyui-kjnodes
2026-08-22T08:48:23.138880 - [INFO] 0.2 seconds: D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\custom_nodes\polyhedron-lora-stack
2026-08-22T08:48:23.138880 - [INFO] 0.2 seconds: D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\custom_nodes\sensenova_u1
2026-08-22T08:48:23.138880 - [INFO] 1.0 seconds: D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\custom_nodes\comfyui-videohelpersuite
2026-08-22T08:48:23.138880 - [INFO] 1.9 seconds: D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\custom_nodes\comfy-mtb
2026-08-22T08:48:23.138880 - [INFO] 4.8 seconds: D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\custom_nodes\comfyui-easy-use
2026-08-22T08:48:23.138880 - [INFO]
2026-08-22T08:48:23.140910 - [INFO] Context impl SQLiteImpl.
2026-08-22T08:48:23.142365 - [INFO] Will assume non-transactional DDL.
2026-08-22T08:48:23.470873 - [INFO] Using RAM pressure cache.
2026-08-22T08:48:23.472333 - [INFO] Starting server

2026-08-22T08:48:23.472842 - [INFO] To see the GUI go to: http://127.0.0.1:8188
2026-08-22T08:51:30.900798 - [WARNING] [DEPRECATION WARNING] Detected import of deprecated legacy API: /scripts/ui.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
2026-08-22T08:51:30.902804 - [WARNING] [DEPRECATION WARNING] Detected import of deprecated legacy API: /extensions/core/widgetInputs.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
2026-08-22T08:51:31.521781 - [INFO] [ComfyUI-Manager] The ComfyRegistry cache update is still in progress, so an outdated cache is being used.
2026-08-22T08:51:31.674173 - FETCH DATA from: D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\.venv\Lib\site-packages\comfyui_manager\custom-node-list.json2026-08-22T08:51:31.674173 - 2026-08-22T08:51:31.723935 - [DONE]2026-08-22T08:51:31.724935 -
2026-08-22T08:51:31.901174 - [WARNING] [DEPRECATION WARNING] Detected import of deprecated legacy API: /scripts/ui/components/button.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
2026-08-22T08:51:39.529804 - [INFO] FETCH ComfyRegistry Data [DONE]
2026-08-22T08:51:39.740029 - [INFO] [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
2026-08-22T08:51:39.786232 - FETCH DATA from: D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\user\__manager\cache\1514988643_custom-node-list.json2026-08-22T08:51:39.786232 - 2026-08-22T08:51:39.798978 - [DONE]2026-08-22T08:51:39.798978 -
2026-08-22T08:51:39.844712 - [INFO] [ComfyUI-Manager] All startup tasks have been completed.
2026-08-22T08:53:40.799792 - [INFO] [ComfyUI-Manager] The ComfyRegistry cache update is still in progress, so an outdated cache is being used.
2026-08-22T08:53:41.084759 - FETCH DATA from: D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\.venv\Lib\site-packages\comfyui_manager\custom-node-list.json2026-08-22T08:53:41.084759 - 2026-08-22T08:53:41.132859 - [DONE]2026-08-22T08:53:41.133876 -
2026-08-22T08:54:09.379782 - [INFO] got prompt
2026-08-22T08:54:10.205500 - [INFO] VAE load device: cuda:0, offload device: cpu, dtype: torch.float32
2026-08-22T08:54:10.524495 - [INFO] Found quantization metadata version 1
2026-08-22T08:54:10.525498 - [INFO] Using MixedPrecisionOps for text encoder
2026-08-22T08:54:12.115332 - [INFO] CLIP/text encoder model load device: cuda:0, offload device: cpu, current: cpu, dtype: torch.float16
2026-08-22T08:54:12.342196 - [INFO] gguf qtypes: F32 (2603), F16 (2), Q4_K (350), Q6_K (102), Q5_K (1292)
2026-08-22T08:54:12.680053 - [INFO] model weight dtype torch.bfloat16, manual cast: None
2026-08-22T08:54:12.689148 - [INFO] model_type FLUX
2026-08-22T08:54:12.762744 - [WARNING] unet unexpected: ['keyframes_abs_pos_embedding']
2026-08-22T08:54:12.853340 - [INFO] Requested to load Gemma4TEModel_
2026-08-22T08:54:12.860340 - [INFO] 0 models unloaded.
2026-08-22T08:54:12.993649 - [INFO] Model Gemma4TEModel_ prepared for dynamic VRAM loading. 12407MB Staged. 0 patches attached. Force pre-loaded 293 weights: 1535 KB.
2026-08-22T08:54:14.042869 - [ERROR] !!! Exception during processing !!! not enough values to unpack (expected 4, got 1)
2026-08-22T08:54:14.121082 - [ERROR] Traceback (most recent call last):
File "D:\ComfyUIPlayfrom\ComfyUIhub\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 "D:\ComfyUIPlayfrom\ComfyUIhub\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 "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\execution.py", line 318, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\execution.py", line 306, in process_inputs
result = f(**inputs)
^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\nodes.py", line 77, in encode
return (clip.encode_from_tokens_scheduled(tokens), )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd.py", line 336, in encode_from_tokens_scheduled
pooled_dict = self.encode_from_tokens(tokens, return_pooled=return_pooled, return_dict=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd.py", line 405, in encode_from_tokens
o = self.cond_stage_model.encode_token_weights(tokens)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd1_clip.py", line 743, in encode_token_weights
out = getattr(self, self.clip).encode_token_weights(token_weight_pairs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd1_clip.py", line 45, in encode_token_weights
o = self.encode(to_encode)
^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd1_clip.py", line 306, in encode
return self(tokens)
^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1778, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1789, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd1_clip.py", line 266, in forward
embeds, attention_mask, num_tokens, embeds_info = self.process_tokens(tokens, device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 4, got 1)

2026-08-22T08:54:14.125125 - [INFO] Prompt executed in 4.74 seconds
2026-08-22T08:54:42.319053 - [INFO] got prompt
2026-08-22T08:54:42.362888 - [INFO] 0 models unloaded.
2026-08-22T08:54:42.646088 - [INFO] Model Gemma4TEModel_ prepared for dynamic VRAM loading. 12407MB Staged. 0 patches attached. Force pre-loaded 293 weights: 1535 KB.
2026-08-22T08:54:43.095666 - [ERROR] !!! Exception during processing !!! not enough values to unpack (expected 4, got 1)
2026-08-22T08:54:43.099198 - [ERROR] Traceback (most recent call last):
File "D:\ComfyUIPlayfrom\ComfyUIhub\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 "D:\ComfyUIPlayfrom\ComfyUIhub\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 "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\execution.py", line 318, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\execution.py", line 306, in process_inputs
result = f(**inputs)
^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\nodes.py", line 77, in encode
return (clip.encode_from_tokens_scheduled(tokens), )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd.py", line 336, in encode_from_tokens_scheduled
pooled_dict = self.encode_from_tokens(tokens, return_pooled=return_pooled, return_dict=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd.py", line 405, in encode_from_tokens
o = self.cond_stage_model.encode_token_weights(tokens)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd1_clip.py", line 743, in encode_token_weights
out = getattr(self, self.clip).encode_token_weights(token_weight_pairs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd1_clip.py", line 45, in encode_token_weights
o = self.encode(to_encode)
^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd1_clip.py", line 306, in encode
return self(tokens)
^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1778, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1789, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd1_clip.py", line 266, in forward
embeds, attention_mask, num_tokens, embeds_info = self.process_tokens(tokens, device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 4, got 1)

2026-08-22T08:54:43.105954 - [INFO] Prompt executed in 0.77 seconds
2026-08-22T08:55:05.403769 - [INFO] got prompt
2026-08-22T08:55:05.422886 - [INFO] 0 models unloaded.
2026-08-22T08:55:05.502034 - [INFO] Model Gemma4TEModel_ prepared for dynamic VRAM loading. 12407MB Staged. 0 patches attached. Force pre-loaded 293 weights: 1535 KB.
2026-08-22T08:55:05.927298 - [ERROR] !!! Exception during processing !!! not enough values to unpack (expected 4, got 1)
2026-08-22T08:55:05.928768 - [ERROR] Traceback (most recent call last):
File "D:\ComfyUIPlayfrom\ComfyUIhub\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 "D:\ComfyUIPlayfrom\ComfyUIhub\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 "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\execution.py", line 318, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\execution.py", line 306, in process_inputs
result = f(**inputs)
^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\nodes.py", line 77, in encode
return (clip.encode_from_tokens_scheduled(tokens), )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd.py", line 336, in encode_from_tokens_scheduled
pooled_dict = self.encode_from_tokens(tokens, return_pooled=return_pooled, return_dict=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd.py", line 405, in encode_from_tokens
o = self.cond_stage_model.encode_token_weights(tokens)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd1_clip.py", line 743, in encode_token_weights
out = getattr(self, self.clip).encode_token_weights(token_weight_pairs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd1_clip.py", line 45, in encode_token_weights
o = self.encode(to_encode)
^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd1_clip.py", line 306, in encode
return self(tokens)
^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1778, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1789, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd1_clip.py", line 266, in forward
embeds, attention_mask, num_tokens, embeds_info = self.process_tokens(tokens, device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 4, got 1)

2026-08-22T08:55:05.931350 - [INFO] Prompt executed in 0.52 seconds
2026-08-22T08:57:59.296902 - [INFO] got prompt
2026-08-22T08:57:59.564553 - [INFO] Requested to load Gemma4TEModel_
2026-08-22T08:57:59.567135 - [INFO] 0 models unloaded.
2026-08-22T08:57:59.664340 - [INFO] Model Gemma4TEModel_ prepared for dynamic VRAM loading. 12407MB Staged. 0 patches attached. Force pre-loaded 293 weights: 1535 KB.
2026-08-22T08:58:00.012288 - [ERROR] !!! Exception during processing !!! not enough values to unpack (expected 4, got 1)
2026-08-22T08:58:00.013308 - [ERROR] Traceback (most recent call last):
File "D:\ComfyUIPlayfrom\ComfyUIhub\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 "D:\ComfyUIPlayfrom\ComfyUIhub\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 "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\execution.py", line 318, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\execution.py", line 306, in process_inputs
result = f(**inputs)
^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\nodes.py", line 77, in encode
return (clip.encode_from_tokens_scheduled(tokens), )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd.py", line 336, in encode_from_tokens_scheduled
pooled_dict = self.encode_from_tokens(tokens, return_pooled=return_pooled, return_dict=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd.py", line 405, in encode_from_tokens
o = self.cond_stage_model.encode_token_weights(tokens)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd1_clip.py", line 743, in encode_token_weights
out = getattr(self, self.clip).encode_token_weights(token_weight_pairs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd1_clip.py", line 45, in encode_token_weights
o = self.encode(to_encode)
^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd1_clip.py", line 306, in encode
return self(tokens)
^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1778, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1789, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd1_clip.py", line 266, in forward
embeds, attention_mask, num_tokens, embeds_info = self.process_tokens(tokens, device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 4, got 1)

2026-08-22T08:58:00.017292 - [INFO] Prompt executed in 0.71 seconds
2026-08-22T08:58:02.203287 - [INFO] got prompt
2026-08-22T08:58:02.224358 - [INFO] 0 models unloaded.
2026-08-22T08:58:02.306643 - [INFO] Model Gemma4TEModel_ prepared for dynamic VRAM loading. 12407MB Staged. 0 patches attached. Force pre-loaded 293 weights: 1535 KB.
2026-08-22T08:58:02.736269 - [ERROR] !!! Exception during processing !!! not enough values to unpack (expected 4, got 1)
2026-08-22T08:58:02.738284 - [ERROR] Traceback (most recent call last):
File "D:\ComfyUIPlayfrom\ComfyUIhub\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 "D:\ComfyUIPlayfrom\ComfyUIhub\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 "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\execution.py", line 318, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\execution.py", line 306, in process_inputs
result = f(**inputs)
^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\nodes.py", line 77, in encode
return (clip.encode_from_tokens_scheduled(tokens), )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd.py", line 336, in encode_from_tokens_scheduled
pooled_dict = self.encode_from_tokens(tokens, return_pooled=return_pooled, return_dict=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd.py", line 405, in encode_from_tokens
o = self.cond_stage_model.encode_token_weights(tokens)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd1_clip.py", line 743, in encode_token_weights
out = getattr(self, self.clip).encode_token_weights(token_weight_pairs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd1_clip.py", line 45, in encode_token_weights
o = self.encode(to_encode)
^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd1_clip.py", line 306, in encode
return self(tokens)
^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1778, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1789, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUIPlayfrom\ComfyUIhub\ComfyUI\comfy\sd1_clip.py", line 266, in forward
embeds, attention_mask, num_tokens, embeds_info = self.process_tokens(tokens, device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 4, got 1)

2026-08-22T08:58:02.740271 - [INFO] Prompt executed in 0.53 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.
```

## Additional Context
(Please add any additional context or steps to reproduce the error here)

### Logs

```powershell

```

### Other

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the CLIPTextEncode failure and trace the reported path through nodes.py, comfy/sd.py, and comfy/sd1_clip.py, especially process_tokens in sd1_clip.py. Done means identifying why the unpacking receives one value instead of four and confirming that the reported workflow executes without this error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
backend, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.