ai-toolkit
ai-toolkit copied to clipboard
Patch for crash when using inference_lora_path with qwen image (allows for generating samples with turbo lora)
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"
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.