ai-toolkit icon indicating copy to clipboard operation
ai-toolkit copied to clipboard

Patch for crash when using inference_lora_path with qwen image (allows for generating samples with turbo lora)

Open envy-ai opened this issue 10 months ago • 1 comments

This fixes the error when you try to load an inference lora for qwen.

Relevant config section:

     model:
        name_or_path: "Qwen/Qwen-Image-2512"
        quantize: true
        qtype: "uint5"
        quantize_te: true
        qtype_te: "qfloat8"
        arch: "qwen_image"
        low_vram: true
        model_kwargs: {}
        layer_offloading: false
        layer_offloading_text_encoder_percent: 1
        layer_offloading_transformer_percent: 1
        inference_lora_path: "/PATH/TO/Qwen-Image-2512-Lightning-8steps-V1.0-fp32.safetensors"

qwen_inference_lora.patch

envy-ai avatar Jan 21 '26 16:01 envy-ai

This issue has been automatically closed due to inactivity. It has had no activity for 3 months.

If this issue is still relevant, please feel free to reopen it with updated information or context. We apologize for any inconvenience.

github-actions[bot] avatar Apr 22 '26 00:04 github-actions[bot]