Skip to content

"This LoRA loader only works with Nunchaku Z-Image-Turbo models, but got NextDiT" #37

@tazztone

Description

@tazztone

i get error with svdq-int4_r256-z-image-turbo.safetensors :


ComfyUI Error Report

Error Details

  • Node ID: 74
  • Node Type: NunchakuZImageTurboLoraStackV2
  • Exception Type: TypeError
  • Exception Message: This LoRA loader only works with Nunchaku Z-Image-Turbo models, but got NextDiT.

Stack Trace

  File "C:\_stability_matrix\Data\Packages\Comfy2\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 "C:\_stability_matrix\Data\Packages\Comfy2\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 "C:\_stability_matrix\Data\Packages\Comfy2\execution.py", line 304, in _async_map_node_over_list
    await process_inputs(input_dict, i)

  File "C:\_stability_matrix\Data\Packages\Comfy2\execution.py", line 292, in process_inputs
    result = f(**inputs)
             ^^^^^^^^^^^

  File "C:\_stability_matrix\Data\Packages\Comfy2\custom_nodes\ComfyUI-QwenImageLoraLoader\nodes\lora\zimageturbo_v2.py", line 190, in load_lora_stack
    raise TypeError(f"This LoRA loader only works with Nunchaku Z-Image-Turbo models, but got {model_wrapper_type_name}.")

System Information

  • ComfyUI Version: 0.6.0
  • Arguments: C:_stability_matrix\Data\Packages\Comfy2\main.py --preview-method auto --disable-xformers
  • OS: win32
  • Python Version: 3.12.11 (main, Jul 23 2025, 00:32:20) [MSC v.1944 64 bit (AMD64)]
  • Embedded Python: false
  • PyTorch Version: 2.9.1+cu130

Devices

  • Name: cuda:0 NVIDIA GeForce RTX 3090 : cudaMallocAsync
    • Type: cuda
    • VRAM Total: 25769279488
    • VRAM Free: 24436015104
    • Torch VRAM Total: 0
    • Torch VRAM Free: 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions