ClipLoaderGGUF only 0-dimensional arrays can be converted to Python scalars
- 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)
### Expected Behavior
I am using the quantized gguf versions of acestep, umt5base, and pig, to generate music.
### Actual Behavior
whenever I hit run, the clip loader model gives me the error about the 0-dimentional arrays, when I use t5v11xxl encoder it passes through the clip loader, but then when it reaches the k sampler I get an error saying "KSampler 'NoneType' object has no attribute 'shape'".
### Steps to Reproduce
I have both the ComfyUI-GGUF and gguf nodes from calcuis, to recreate the error, all I did was use gguf nodes for the ace step ggif, the umt5 text encoder, and the piggy vae for ace step and connected them to their appropriate nodes.
### Debug Logs
```powershell
# ComfyUI Error Report
## Error Details
- **Node ID:** 75
- **Node Type:** ClipLoaderGGUF
- **Exception Type:** TypeError
- **Exception Message:** only 0-dimensional arrays can be converted to Python scalars
## Stack Trace
File "/home/archangel1171/comfy/ComfyUI/execution.py", line 516, 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 "/home/archangel1171/comfy/ComfyUI/execution.py", line 330, 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 "/home/archangel1171/comfy/ComfyUI/execution.py", line 304, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "/home/archangel1171/comfy/ComfyUI/execution.py", line 292, in process_inputs
result = f(**inputs)
File "/home/archangel1171/comfy/ComfyUI/custom_nodes/gguf/pig.py", line 565, in load_clip
return (self.load_patcher([clip_path], get_clip_type(type), self.load_data([clip_path])), get_device('default'))
~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/home/archangel1171/comfy/ComfyUI/custom_nodes/gguf/pig.py", line 546, in load_data
sd = load_gguf_clip(p)
File "/home/archangel1171/comfy/ComfyUI/custom_nodes/gguf/pig.py", line 434, in load_gguf_clip
sd['spiece_model'] = tokenizer_builder(path)
~~~~~~~~~~~~~~~~~^^^^^^
File "/home/archangel1171/comfy/ComfyUI/custom_nodes/gguf/gguf_connector/tkn.py", line 51, in tokenizer_builder
spm.trainer_spec.eos_id = get_field(reader,
~~~~~~~~~^^^^^^^^
'tokenizer.ggml.eos_token_id', int)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/archangel1171/comfy/ComfyUI/custom_nodes/gguf/gguf_connector/tkn.py", line 12, in get_field
return field_type(field.parts[field.data[-1]])
## System Information
- **ComfyUI Version:** 0.6.0
- **Arguments:** main.py --listen 0.0.0.0
- **OS:** linux
- **Python Version:** 3.13.11 (main, Dec 7 2025, 13:01:45) [GCC 15.2.1 20251112]
- **Embedded Python:** false
- **PyTorch Version:** 2.7.0+cu126
## Devices
- **Name:** cuda:0 NVIDIA GeForce GTX 1060 6GB : cudaMallocAsync
- **Type:** cuda
- **VRAM Total:** 6359089152
- **VRAM Free:** 5639110656
- **Torch VRAM Total:** 0
- **Torch VRAM Free:** 0
## Logs
2025-12-28T11:19:31.852715 - [START] Security scan2025-12-28T11:19:31.852736 -
2025-12-28T11:19:31.890511 - [ComfyUI-Manager] Using `uv` as Python module for pip operations.
2025-12-28T11:19:31.976025 - [DONE] Security scan2025-12-28T11:19:31.976051 -
2025-12-28T11:19:32.064856 - ## ComfyUI-Manager: installing dependencies done.2025-12-28T11:19:32.064938 -
2025-12-28T11:19:32.064980 - ** ComfyUI startup time:2025-12-28T11:19:32.065009 - 2025-12-28T11:19:32.065037 - 2025-12-28 11:19:32.0642025-12-28T11:19:32.065075 -
2025-12-28T11:19:32.065106 - ** Platform:2025-12-28T11:19:32.065162 - 2025-12-28T11:19:32.065198 - Linux2025-12-28T11:19:32.065224 -
2025-12-28T11:19:32.065294 - ** Python version:2025-12-28T11:19:32.065323 - 2025-12-28T11:19:32.065349 - 3.13.11 (main, Dec 7 2025, 13:01:45) [GCC 15.2.1 20251112]2025-12-28T11:19:32.065375 -
2025-12-28T11:19:32.065403 - ** Python executable:2025-12-28T11:19:32.065430 - 2025-12-28T11:19:32.065457 - /home/archangel1171/comfy-env/bin/python32025-12-28T11:19:32.065483 -
2025-12-28T11:19:32.065511 - ** ComfyUI Path:2025-12-28T11:19:32.065537 - 2025-12-28T11:19:32.065563 - /home/archangel1171/comfy/ComfyUI2025-12-28T11:19:32.065590 -
2025-12-28T11:19:32.065618 - ** ComfyUI Base Folder Path:2025-12-28T11:19:32.065644 - 2025-12-28T11:19:32.065670 - /home/archangel1171/comfy/ComfyUI2025-12-28T11:19:32.065696 -
2025-12-28T11:19:32.065724 - ** User directory:2025-12-28T11:19:32.065751 - 2025-12-28T11:19:32.065777 - /home/archangel1171/comfy/ComfyUI/user2025-12-28T11:19:32.065803 -
2025-12-28T11:19:32.065830 - ** ComfyUI-Manager config path:2025-12-28T11:19:32.065856 - 2025-12-28T11:19:32.065882 - /home/archangel1171/comfy/ComfyUI/user/__manager/config.ini2025-12-28T11:19:32.065920 -
2025-12-28T11:19:32.065953 - ** Log path:2025-12-28T11:19:32.065979 - 2025-12-28T11:19:32.066005 - /home/archangel1171/comfy/ComfyUI/user/comfyui.log2025-12-28T11:19:32.066032 -
2025-12-28T11:19:32.152166 -
Prestartup times for custom nodes:
2025-12-28T11:19:32.152294 - 0.7 seconds: /home/archangel1171/comfy/ComfyUI/custom_nodes/ComfyUI-Manager
2025-12-28T11:19:32.152361 -
2025-12-28T11:19:35.150013 - Checkpoint files will always be loaded safely.
2025-12-28T11:19:35.304854 - Total VRAM 6064 MB, total RAM 15948 MB
2025-12-28T11:19:35.305069 - pytorch version: 2.7.0+cu126
2025-12-28T11:19:35.305404 - Set vram state to: NORMAL_VRAM
2025-12-28T11:19:35.305690 - Device: cuda:0 NVIDIA GeForce GTX 1060 6GB : cudaMallocAsync
2025-12-28T11:19:35.305848 - Using async weight offloading with 2 streams
2025-12-28T11:19:35.306048 - Enabled pinned memory 15150.0
2025-12-28T11:19:37.382295 - Using pytorch attention
2025-12-28T11:19:40.200266 - Python version: 3.13.11 (main, Dec 7 2025, 13:01:45) [GCC 15.2.1 20251112]
2025-12-28T11:19:40.200418 - ComfyUI version: 0.6.0
2025-12-28T11:19:40.206228 - ComfyUI frontend version: 1.34.9
2025-12-28T11:19:40.207262 - [Prompt Server] web root: /home/archangel1171/comfy-env/lib/python3.13/site-packages/comfyui_frontend_package/static
2025-12-28T11:19:40.730952 - Total VRAM 6064 MB, total RAM 15948 MB
2025-12-28T11:19:40.731096 - pytorch version: 2.7.0+cu126
2025-12-28T11:19:40.731350 - Set vram state to: NORMAL_VRAM
2025-12-28T11:19:40.731478 - Device: cuda:0 NVIDIA GeForce GTX 1060 6GB : cudaMallocAsync
2025-12-28T11:19:40.731642 - Using async weight offloading with 2 streams
2025-12-28T11:19:40.731829 - Enabled pinned memory 15150.0
2025-12-28T11:19:41.864758 - ### Loading: ComfyUI-Manager (V3.39)
2025-12-28T11:19:41.865737 - [ComfyUI-Manager] network_mode: public
2025-12-28T11:19:41.865945 - [ComfyUI-Manager] ComfyUI per-queue preview override detected (PR #11261). Manager's preview method feature is disabled. Use ComfyUI's --preview-method CLI option or 'Settings > Execution > Live preview method'.
2025-12-28T11:19:41.909742 - ### ComfyUI Revision: 4431 [e4c61d75] *DETACHED | Released on '2025-12-23'
2025-12-28T11:19:41.950014 - ComfyUI-GGUF: Partial torch compile only, consider updating pytorch
2025-12-28T11:19:41.974820 -
Import times for custom nodes:
2025-12-28T11:19:41.974960 - 0.0 seconds: /home/archangel1171/comfy/ComfyUI/custom_nodes/websocket_image_save.py
2025-12-28T11:19:41.975034 - 0.0 seconds: /home/archangel1171/comfy/ComfyUI/custom_nodes/gguf
2025-12-28T11:19:41.975103 - 0.0 seconds: /home/archangel1171/comfy/ComfyUI/custom_nodes/ComfyUI-GGUF
2025-12-28T11:19:41.975168 - 0.1 seconds: /home/archangel1171/comfy/ComfyUI/custom_nodes/ComfyUI-Manager
2025-12-28T11:19:41.975229 -
2025-12-28T11:19:42.363950 - Context impl SQLiteImpl.
2025-12-28T11:19:42.364095 - Will assume non-transactional DDL.
2025-12-28T11:19:42.365001 - No target revision found.
2025-12-28T11:19:42.407434 - Starting server
2025-12-28T11:19:42.407718 - To see the GUI go to: http://0.0.0.0:8188
2025-12-28T11:19:42.771440 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
2025-12-28T11:19:42.815147 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
2025-12-28T11:19:43.208670 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
2025-12-28T11:19:43.576227 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
2025-12-28T11:19:43.756503 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
2025-12-28T11:19:48.983964 - FETCH ComfyRegistry Data: 5/1162025-12-28T11:19:48.984098 -
2025-12-28T11:19:52.179084 - [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.
2025-12-28T11:19:52.184915 - [DEPRECATION WARNING] Detected import of deprecated legacy API: /extensions/core/groupNode.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.
2025-12-28T11:19:52.646027 - [DEPRECATION WARNING] Detected import of deprecated legacy API: /scripts/ui/components/buttonGroup.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.
2025-12-28T11:19:52.697078 - [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.
2025-12-28T11:19:54.823719 - FETCH ComfyRegistry Data: 10/1162025-12-28T11:19:54.823823 -
2025-12-28T11:19:57.039877 - got prompt
2025-12-28T11:19:57.250014 - /home/archangel1171/comfy/ComfyUI/custom_nodes/gguf/pig.py:347: UserWarning: The given NumPy array is not writable, and PyTorch does not support non-writable tensors. This means writing to this tensor will result in undefined behavior. You may want to copy the array to protect its data or make it writable before converting it to a tensor. This type of warning will be suppressed for the rest of this program. (Triggered internally at /pytorch/torch/csrc/utils/tensor_numpy.cpp:203.)
torch_tensor = torch.from_numpy(tensor.data)
2025-12-28T11:19:57.282041 - gguf qtypes: F32 (608), F16 (297)2025-12-28T11:19:57.282116 -
2025-12-28T11:19:59.195688 - VAE load device: cuda:0, offload device: cpu, dtype: torch.float32
2025-12-28T11:19:59.644800 - Requested to load MusicDCAE
2025-12-28T11:19:59.655046 - 0 models unloaded.
2025-12-28T11:19:59.976544 - loaded completely; 95367431640625005117571072.00 MB usable, 991.00 MB loaded, full load: True
2025-12-28T11:20:00.139848 - FETCH ComfyRegistry Data: 15/1162025-12-28T11:20:00.139929 -
2025-12-28T11:20:04.860458 - FETCH ComfyRegistry Data: 20/1162025-12-28T11:20:04.861142 -
2025-12-28T11:20:09.910981 - FETCH ComfyRegistry Data: 25/1162025-12-28T11:20:09.911298 -
2025-12-28T11:20:13.828915 - FETCH ComfyRegistry Data: 30/1162025-12-28T11:20:13.829270 -
2025-12-28T11:20:18.101987 - FETCH ComfyRegistry Data: 35/1162025-12-28T11:20:18.102201 -
2025-12-28T11:20:19.851354 - gguf qtypes: Q4_0 (84), F32 (37), Q6_K (1)2025-12-28T11:20:19.851452 -
2025-12-28T11:20:20.050982 - Attempting to rebuild sentencepiece tokenizer from metadata..2025-12-28T11:20:20.051049 -
2025-12-28T11:20:22.019976 - FETCH ComfyRegistry Data: 40/1162025-12-28T11:20:22.020263 -
2025-12-28T11:20:26.577045 - FETCH ComfyRegistry Data: 45/1162025-12-28T11:20:26.577203 -
2025-12-28T11:20:30.356756 - FETCH ComfyRegistry Data: 50/1162025-12-28T11:20:30.357110 -
2025-12-28T11:20:33.974037 - FETCH ComfyRegistry Data: 55/1162025-12-28T11:20:33.974605 -
2025-12-28T11:20:37.352589 - !!! Exception during processing !!! only 0-dimensional arrays can be converted to Python scalars
2025-12-28T11:20:37.357778 - Traceback (most recent call last):
File "/home/archangel1171/comfy/ComfyUI/execution.py", line 516, 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 "/home/archangel1171/comfy/ComfyUI/execution.py", line 330, 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 "/home/archangel1171/comfy/ComfyUI/execution.py", line 304, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "/home/archangel1171/comfy/ComfyUI/execution.py", line 292, in process_inputs
result = f(**inputs)
File "/home/archangel1171/comfy/ComfyUI/custom_nodes/gguf/pig.py", line 565, in load_clip
return (self.load_patcher([clip_path], get_clip_type(type), self.load_data([clip_path])), get_device('default'))
~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/home/archangel1171/comfy/ComfyUI/custom_nodes/gguf/pig.py", line 546, in load_data
sd = load_gguf_clip(p)
File "/home/archangel1171/comfy/ComfyUI/custom_nodes/gguf/pig.py", line 434, in load_gguf_clip
sd['spiece_model'] = tokenizer_builder(path)
~~~~~~~~~~~~~~~~~^^^^^^
File "/home/archangel1171/comfy/ComfyUI/custom_nodes/gguf/gguf_connector/tkn.py", line 51, in tokenizer_builder
spm.trainer_spec.eos_id = get_field(reader,
~~~~~~~~~^^^^^^^^
'tokenizer.ggml.eos_token_id', int)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/archangel1171/comfy/ComfyUI/custom_nodes/gguf/gguf_connector/tkn.py", line 12, in get_field
return field_type(field.parts[field.data[-1]])
TypeError: only 0-dimensional arrays can be converted to Python scalars
2025-12-28T11:20:37.360068 - Prompt executed in 40.31 seconds
2025-12-28T11:20:38.502161 - FETCH ComfyRegistry Data: 60/1162025-12-28T11:20:38.502539 -
2025-12-28T11:20:42.231567 - FETCH ComfyRegistry Data: 65/1162025-12-28T11:20:42.231726 -
2025-12-28T11:20:45.919459 - FETCH ComfyRegistry Data: 70/1162025-12-28T11:20:45.919635 -
2025-12-28T11:20:49.464930 - FETCH ComfyRegistry Data: 75/1162025-12-28T11:20:49.465194 -
2025-12-28T11:20:53.432602 - FETCH ComfyRegistry Data: 80/1162025-12-28T11:20:53.432768 -
2025-12-28T11:20:57.519628 - FETCH ComfyRegistry Data: 85/1162025-12-28T11:20:57.519727 -
2025-12-28T11:21:01.098621 - FETCH ComfyRegistry Data: 90/1162025-12-28T11:21:01.098911 -
2025-12-28T11:21:04.668308 - FETCH ComfyRegistry Data: 95/1162025-12-28T11:21:04.668681 -
2025-12-28T11:21:08.434927 - FETCH ComfyRegistry Data: 100/1162025-12-28T11:21:08.435048 -
2025-12-28T11:21:12.350071 - FETCH ComfyRegistry Data: 105/1162025-12-28T11:21:12.350479 -
2025-12-28T11:21:15.961220 - FETCH ComfyRegistry Data: 110/1162025-12-28T11:21:15.961440 -
2025-12-28T11:21:19.431058 - FETCH ComfyRegistry Data: 115/1162025-12-28T11:21:19.431323 -
2025-12-28T11:21:20.585131 - FETCH ComfyRegistry Data [DONE]2025-12-28T11:21:20.585533 -
2025-12-28T11:21:20.827840 - [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
2025-12-28T11:21:20.858830 - FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json2025-12-28T11:21:20.858911 - 2025-12-28T11:21:21.388629 - [DONE]2025-12-28T11:21:21.388792 -
2025-12-28T11:21:21.473495 - [ComfyUI-Manager] All startup tasks have been completed.
2025-12-28T11:24:50.239144 - got prompt
2025-12-28T11:25:06.662552 - gguf qtypes: Q4_0 (84), F32 (37), Q6_K (1)2025-12-28T11:25:06.662749 -
2025-12-28T11:25:06.799732 - Attempting to rebuild sentencepiece tokenizer from metadata..2025-12-28T11:25:06.800082 -
2025-12-28T11:25:23.948965 - !!! Exception during processing !!! only 0-dimensional arrays can be converted to Python scalars
2025-12-28T11:25:23.951172 - Traceback (most recent call last):
File "/home/archangel1171/comfy/ComfyUI/execution.py", line 516, 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 "/home/archangel1171/comfy/ComfyUI/execution.py", line 330, 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 "/home/archangel1171/comfy/ComfyUI/execution.py", line 304, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "/home/archangel1171/comfy/ComfyUI/execution.py", line 292, in process_inputs
result = f(**inputs)
File "/home/archangel1171/comfy/ComfyUI/custom_nodes/gguf/pig.py", line 565, in load_clip
return (self.load_patcher([clip_path], get_clip_type(type), self.load_data([clip_path])), get_device('default'))
~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/home/archangel1171/comfy/ComfyUI/custom_nodes/gguf/pig.py", line 546, in load_data
sd = load_gguf_clip(p)
File "/home/archangel1171/comfy/ComfyUI/custom_nodes/gguf/pig.py", line 434, in load_gguf_clip
sd['spiece_model'] = tokenizer_builder(path)
~~~~~~~~~~~~~~~~~^^^^^^
File "/home/archangel1171/comfy/ComfyUI/custom_nodes/gguf/gguf_connector/tkn.py", line 51, in tokenizer_builder
spm.trainer_spec.eos_id = get_field(reader,
~~~~~~~~~^^^^^^^^
'tokenizer.ggml.eos_token_id', int)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/archangel1171/comfy/ComfyUI/custom_nodes/gguf/gguf_connector/tkn.py", line 12, in get_field
return field_type(field.parts[field.data[-1]])
TypeError: only 0-dimensional arrays can be converted to Python scalars
2025-12-28T11:25:23.953093 - Prompt executed in 33.71 seconds
2025-12-28T11:29:51.369997 - got prompt
2025-12-28T11:30:07.855816 - gguf qtypes: Q4_K (161), F32 (73), Q5_K (7), Q6_K (1)2025-12-28T11:30:07.856243 -
2025-12-28T11:30:07.994836 - Attempting to rebuild sentencepiece tokenizer from metadata..2025-12-28T11:30:07.994967 -
2025-12-28T11:30:24.850010 - !!! Exception during processing !!! only 0-dimensional arrays can be converted to Python scalars
2025-12-28T11:30:24.852256 - Traceback (most recent call last):
File "/home/archangel1171/comfy/ComfyUI/execution.py", line 516, 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 "/home/archangel1171/comfy/ComfyUI/execution.py", line 330, 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 "/home/archangel1171/comfy/ComfyUI/execution.py", line 304, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "/home/archangel1171/comfy/ComfyUI/execution.py", line 292, in process_inputs
result = f(**inputs)
File "/home/archangel1171/comfy/ComfyUI/custom_nodes/gguf/pig.py", line 565, in load_clip
return (self.load_patcher([clip_path], get_clip_type(type), self.load_data([clip_path])), get_device('default'))
~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/home/archangel1171/comfy/ComfyUI/custom_nodes/gguf/pig.py", line 546, in load_data
sd = load_gguf_clip(p)
File "/home/archangel1171/comfy/ComfyUI/custom_nodes/gguf/pig.py", line 434, in load_gguf_clip
sd['spiece_model'] = tokenizer_builder(path)
~~~~~~~~~~~~~~~~~^^^^^^
File "/home/archangel1171/comfy/ComfyUI/custom_nodes/gguf/gguf_connector/tkn.py", line 51, in tokenizer_builder
spm.trainer_spec.eos_id = get_field(reader,
~~~~~~~~~^^^^^^^^
'tokenizer.ggml.eos_token_id', int)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/archangel1171/comfy/ComfyUI/custom_nodes/gguf/gguf_connector/tkn.py", line 12, in get_field
return field_type(field.parts[field.data[-1]])
TypeError: only 0-dimensional arrays can be converted to Python scalars
2025-12-28T11:30:24.854740 - Prompt executed in 33.48 seconds
2025-12-28T11:31:41.059077 - got prompt
2025-12-28T11:31:46.891612 - gguf qtypes: Q3_K (168), F32 (50), Q6_K (1)2025-12-28T11:31:46.891824 -
2025-12-28T11:31:47.085257 - Requested to load MochiTEModel_
2025-12-28T11:31:47.143443 - loaded completely; 95367431640625005117571072.00 MB usable, 2251.84 MB loaded, full load: True
2025-12-28T11:31:47.160827 - CLIP/text encoder model load device: cpu, offload device: cpu, current: cpu, dtype: torch.float16
2025-12-28T11:31:47.162417 - Requested to load MochiTEModel_
2025-12-28T11:32:43.534248 - gguf qtypes: F32 (529), Q4_0 (345)2025-12-28T11:32:43.534350 -
2025-12-28T11:32:43.658841 - model weight dtype torch.bfloat16, manual cast: torch.float32
2025-12-28T11:32:43.659605 - model_type FLOW
2025-12-28T11:32:56.846679 - Requested to load ACEStep
2025-12-28T11:32:57.524085 - Unloaded partially: 798.81 MB freed, 192.82 MB remains loaded, 62.01 MB buffer reserved, lowvram patches: 0
2025-12-28T11:33:01.411625 - loaded completely; 3903.10 MB usable, 3477.75 MB loaded, full load: True
2025-12-28T11:33:01.548456 -
0%| | 0/10 [00:00 batch_size:
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'shape'
2025-12-28T11:33:01.581193 - Prompt executed in 80.52 seconds
2025-12-28T11:34:09.944029 - got prompt
2025-12-28T11:34:26.513234 - gguf qtypes: Q4_0 (84), F32 (37), Q6_K (1)2025-12-28T11:34:26.513347 -
2025-12-28T11:34:26.648698 - Attempting to rebuild sentencepiece tokenizer from metadata..2025-12-28T11:34:26.649223 -
2025-12-28T11:34:43.515401 - !!! Exception during processing !!! only 0-dimensional arrays can be converted to Python scalars
2025-12-28T11:34:43.517542 - Traceback (most recent call last):
File "/home/archangel1171/comfy/ComfyUI/execution.py", line 516, 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 "/home/archangel1171/comfy/ComfyUI/execution.py", line 330, 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 "/home/archangel1171/comfy/ComfyUI/execution.py", line 304, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "/home/archangel1171/comfy/ComfyUI/execution.py", line 292, in process_inputs
result = f(**inputs)
File "/home/archangel1171/comfy/ComfyUI/custom_nodes/gguf/pig.py", line 565, in load_clip
return (self.load_patcher([clip_path], get_clip_type(type), self.load_data([clip_path])), get_device('default'))
~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/home/archangel1171/comfy/ComfyUI/custom_nodes/gguf/pig.py", line 546, in load_data
sd = load_gguf_clip(p)
File "/home/archangel1171/comfy/ComfyUI/custom_nodes/gguf/pig.py", line 434, in load_gguf_clip
sd['spiece_model'] = tokenizer_builder(path)
~~~~~~~~~~~~~~~~~^^^^^^
File "/home/archangel1171/comfy/ComfyUI/custom_nodes/gguf/gguf_connector/tkn.py", line 51, in tokenizer_builder
spm.trainer_spec.eos_id = get_field(reader,
~~~~~~~~~^^^^^^^^
'tokenizer.ggml.eos_token_id', int)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/archangel1171/comfy/ComfyUI/custom_nodes/gguf/gguf_connector/tkn.py", line 12, in get_field
return field_type(field.parts[field.data[-1]])
TypeError: only 0-dimensional arrays can be converted to Python scalars
2025-12-28T11:34:43.520398 - Prompt executed in 33.54 seconds
## Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.
{"id":"88ac5dad-efd7-40bb-84fe-fbaefdee1fa9","revision":0,"last_node_id":78,"last_link_id":144,"nodes":[{"id":18,"type":"VAEDecodeAudio","pos":[1080,270],"size":[164.2499984741211,46],"flags":{"collapsed":false},"order":11,"mode":0,"inputs":[{"localized_name":"samples","name":"samples","type":"LATENT","link":122},{"localized_name":"vae","name":"vae","type":"VAE","link":139}],"outputs":[{"localized_name":"AUDIO","name":"AUDIO","type":"AUDIO","links":[126]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.32","Node name for S&R":"VAEDecodeAudio"},"widgets_values":[]},{"id":44,"type":"ConditioningZeroOut","pos":[600,70],"size":[204.0999984741211,26],"flags":{"collapsed":true},"order":9,"mode":0,"inputs":[{"localized_name":"conditioning","name":"conditioning","type":"CONDITIONING","link":108}],"outputs":[{"localized_name":"CONDITIONING","name":"CONDITIONING","type":"CONDITIONING","links":[120]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.32","Node name for S&R":"ConditioningZeroOut"},"widgets_values":[]},{"id":59,"type":"SaveAudioMP3","pos":[1290,0],"size":[610,136],"flags":{},"order":12,"mode":0,"inputs":[{"localized_name":"audio","name":"audio","type":"AUDIO","link":126},{"localized_name":"filename_prefix","name":"filename_prefix","type":"STRING","widget":{"name":"filename_prefix"},"link":null},{"localized_name":"quality","name":"quality","type":"COMBO","widget":{"name":"quality"},"link":null},{"localized_name":"audioUI","name":"audioUI","type":"AUDIO_UI","widget":{"name":"audioUI"},"link":null}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.34","Node name for S&R":"SaveAudioMP3"},"widgets_values":["audio/ComfyUI","V0"]},{"id":64,"type":"LoadAudio","pos":[180,340],"size":[370,140],"flags":{},"order":0,"mode":0,"inputs":[{"localized_name":"audio","name":"audio","type":"COMBO","widget":{"name":"audio"},"link":null},{"localized_name":"audioUI","name":"audioUI","type":"AUDIO_UI","widget":{"name":"audioUI"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"AUDIOUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"AUDIO","name":"AUDIO","type":"AUDIO","links":[136]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.34","Node name for S&R":"LoadAudio"},"widgets_values":["S-Trip.mp3",null,null]},{"id":14,"type":"TextEncodeAceStepAudio","pos":[590,120],"size":[340,500],"flags":{},"order":7,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":144},{"localized_name":"tags","name":"tags","type":"STRING","widget":{"name":"tags"},"link":null},{"localized_name":"lyrics","name":"lyrics","type":"STRING","widget":{"name":"lyrics"},"link":null},{"localized_name":"lyrics_strength","name":"lyrics_strength","type":"FLOAT","widget":{"name":"lyrics_strength"},"link":null}],"outputs":[{"localized_name":"CONDITIONING","name":"CONDITIONING","type":"CONDITIONING","links":[108,117]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.32","Node name for S&R":"TextEncodeAceStepAudio"},"widgets_values":[" synthesizer, saxophone","",0.9900000000000002]},{"id":52,"type":"KSampler","pos":[940,-40],"size":[290,262],"flags":{},"order":10,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":121},{"localized_name":"positive","name":"positive","type":"CONDITIONING","link":117},{"localized_name":"negative","name":"negative","type":"CONDITIONING","link":120},{"localized_name":"latent_image","name":"latent_image","type":"LATENT","link":138},{"localized_name":"seed","name":"seed","type":"INT","widget":{"name":"seed"},"link":null},{"localized_name":"steps","name":"steps","type":"INT","widget":{"name":"steps"},"link":null},{"localized_name":"cfg","name":"cfg","type":"FLOAT","widget":{"name":"cfg"},"link":null},{"localized_name":"sampler_name","name":"sampler_name","type":"COMBO","widget":{"name":"sampler_name"},"link":null},{"localized_name":"scheduler","name":"scheduler","type":"COMBO","widget":{"name":"scheduler"},"link":null},{"localized_name":"denoise","name":"denoise","type":"FLOAT","widget":{"name":"denoise"},"link":null}],"outputs":[{"localized_name":"LATENT","name":"LATENT","type":"LATENT","slot_index":0,"links":[122]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.34","Node name for S&R":"KSampler"},"widgets_values":[159588143767206,"randomize",10,5,"euler","simple",0.30000000000000004]},{"id":68,"type":"VAEEncodeAudio","pos":[103.3586646685983,123.50334283496316],"size":[370,46],"flags":{},"order":5,"mode":0,"inputs":[{"localized_name":"audio","name":"audio","type":"AUDIO","link":136},{"localized_name":"vae","name":"vae","type":"VAE","link":142}],"outputs":[{"localized_name":"LATENT","name":"LATENT","type":"LATENT","links":[138]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.34","Node name for S&R":"VAEEncodeAudio"},"widgets_values":[]},{"id":76,"type":"VaeGGUF","pos":[-254.59082460048222,184.19548255580386],"size":[270,58],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"vae_name","name":"vae_name","type":"COMBO","widget":{"name":"vae_name"},"link":null}],"outputs":[{"localized_name":"VAE","name":"VAE","type":"VAE","links":[139,142]}],"properties":{"cnr_id":"gguf","ver":"2.7.6","Node name for S&R":"VaeGGUF"},"widgets_values":["pig_ace_vae_fp32-f16.gguf"]},{"id":51,"type":"ModelSamplingSD3","pos":[590,-40],"size":[330,60],"flags":{"collapsed":false},"order":6,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":141},{"localized_name":"shift","name":"shift","type":"FLOAT","widget":{"name":"shift"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[113]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.34","Node name for S&R":"ModelSamplingSD3"},"widgets_values":[5.000000000000001]},{"id":50,"type":"LatentOperationTonemapReinhard","pos":[590,-160],"size":[330,58],"flags":{},"order":2,"mode":0,"inputs":[{"localized_name":"multiplier","name":"multiplier","type":"FLOAT","widget":{"name":"multiplier"},"link":null}],"outputs":[{"localized_name":"LATENT_OPERATION","name":"LATENT_OPERATION","type":"LATENT_OPERATION","links":[114]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.34","Node name for S&R":"LatentOperationTonemapReinhard"},"widgets_values":[1.0000000000000002]},{"id":49,"type":"LatentApplyOperationCFG","pos":[940,-160],"size":[290,50],"flags":{"collapsed":false},"order":8,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":113},{"localized_name":"operation","name":"operation","type":"LATENT_OPERATION","link":114}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[121]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.34","Node name for S&R":"LatentApplyOperationCFG"},"widgets_values":[]},{"id":74,"type":"LoaderGGUF","pos":[-273.2799476188105,14.900832098910168],"size":[270,58],"flags":{},"order":3,"mode":0,"inputs":[{"localized_name":"gguf_name","name":"gguf_name","type":"COMBO","widget":{"name":"gguf_name"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[141]}],"properties":{"cnr_id":"gguf","ver":"2.7.6","Node name for S&R":"LoaderGGUF"},"widgets_values":["ace-step-v1-3.5b-q4_0.gguf"]},{"id":75,"type":"ClipLoaderGGUF","pos":[-279.1160519065308,-185.87228787411334],"size":[270,106],"flags":{},"order":4,"mode":0,"inputs":[{"localized_name":"clip_name","name":"clip_name","type":"COMBO","widget":{"name":"clip_name"},"link":null},{"localized_name":"type","name":"type","type":"COMBO","widget":{"name":"type"},"link":null},{"localized_name":"device","name":"device","shape":7,"type":"COMBO","widget":{"name":"device"},"link":null}],"outputs":[{"localized_name":"CLIP","name":"CLIP","type":"CLIP","links":[144]}],"properties":{"cnr_id":"gguf","ver":"2.7.6","Node name for S&R":"ClipLoaderGGUF"},"widgets_values":["umt5base-q4_0.gguf","ace","default"]}],"links":[[108,14,0,44,0,"CONDITIONING"],[113,51,0,49,0,"MODEL"],[114,50,0,49,1,"LATENT_OPERATION"],[117,14,0,52,1,"CONDITIONING"],[120,44,0,52,2,"CONDITIONING"],[121,49,0,52,0,"MODEL"],[122,52,0,18,0,"LATENT"],[126,18,0,59,0,"AUDIO"],[136,64,0,68,0,"AUDIO"],[138,68,0,52,3,"LATENT"],[139,76,0,18,1,"VAE"],[141,74,0,51,0,"MODEL"],[142,76,0,68,1,"VAE"],[144,75,0,14,0,"CLIP"]],"groups":[],"config":{},"extra":{"ds":{"scale":0.8087472746444193,"offset":[842.6338188091014,458.72434662561153]},"frontendVersion":"1.31.0","workflowRendererVersion":"LG","node_versions":{"comfy-core":"0.3.34","ace-step":"06f751d65491c9077fa2bc9b06d2c6f2a90e4c56"},"VHS_latentpreview":false,"VHS_latentpreviewrate":0,"VHS_MetadataImage":true,"VHS_KeepIntermediate":true},"version":0.4}
## Additional Context
(Please add any additional context or steps to reproduce the error here)
```
### Other
I have a gtx 1060 6 gb graphics card in-case if this is important information.
Contributor guide
Assessment
This issue has not been assessed yet.