Unexpected architecture type in GGUF file: 'minimax_music3'

#2
by seaotter2025 - opened

[ERROR] !!! Exception during processing !!! Unexpected architecture type in GGUF file: 'minimax_music3'
[ERROR] Traceback (most recent call last):
File "D:\ComfyUI-aki-v1.6\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:\ComfyUI-aki-v1.6\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:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 318, in async_map_node_over_list
await process_inputs(input_dict, i)
File "D:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 306, in process_inputs
result = f(**inputs)
^^^^^^^^^^^
File "D:\ComfyUI-aki-v1.6\ComfyUI\comfy_api\internal_init
.py", line 149, in wrapped_func
return method(locked_class, **inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI-aki-v1.6\ComfyUI\comfy_api\latest_io.py", line 1990, in EXECUTE_NORMALIZED
to_return = cls.execute(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\comfyui-KJNodes\nodes\model_optimization_nodes.py", line 1680, in execute
sd, extra = gguf_nodes.loader.gguf_sd_loader(model_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\ComfyUI-GGUF\loader.py", line 110, in gguf_sd_loader
raise ValueError(f"Unexpected architecture type in GGUF file: {arch_str!r}")
ValueError: Unexpected architecture type in GGUF file: 'minimax_music3'

I had the same issue. Edit your custom_nodes\ComfyUI-GGUF\loader.py and add minimax_music3 to IMG_ARCH_LIST. The line should look like this after the edit:

IMG_ARCH_LIST = {"flux", "sd1", "sdxl", "sd3", "aura", "hidream", "cosmos", "ltxv", "hyvid", "wan", "lumina2", "qwen_image", "minimax_music3"}

Restart ComfyUI after the edit.

Sign up or log in to comment