getting error for unknown architecture in gguf

#1
by ryg81 - opened

loaded partially 8923.386718845368 8923.38671875 0
!!! Exception during processing !!! Unexpected architecture type in GGUF file: 'mochi'
Traceback (most recent call last):
File "D:\000AI\FastComfyUI\ComfyUI\execution.py", line 349, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\000AI\FastComfyUI\ComfyUI\execution.py", line 224, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\000AI\FastComfyUI\ComfyUI\execution.py", line 196, in _map_node_over_list
process_inputs(input_dict, i)
File "D:\000AI\FastComfyUI\ComfyUI\execution.py", line 185, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\000AI\FastComfyUI\ComfyUI\custom_nodes\ComfyUI-GGUF\nodes.py", line 152, in load_unet
sd = gguf_sd_loader(unet_path)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\000AI\FastComfyUI\ComfyUI\custom_nodes\ComfyUI-GGUF\loader.py", line 86, in gguf_sd_loader
raise ValueError(f"Unexpected architecture type in GGUF file: {arch_str!r}")
ValueError: Unexpected architecture type in GGUF file: 'mochi'

use gguf node (pypi|repo|pack) instead; if you use comfyui-gguf node, you should manually add "mochi" in it's IMG_ARCH_LIST (under loader.py); or you could try pig quant file, seems the most updated version support pig

Fixed

ryg81 changed discussion status to closed

Sign up or log in to comment