mirror of
https://github.com/vladmandic/automatic
synced 2026-08-25 22:20:46 +02:00
18568db41c
Load Flux2/Klein LoRAs as native NetworkModuleLora objects, bypassing diffusers PEFT. Handles kohya (lora_unet_), AI toolkit (diffusion_model.), diffusers PEFT (transformer.), and bare BFL key formats with automatic QKV splitting for double block fused attention weights. Includes shape validation to reject architecture-mismatched LoRAs early. Respects lora_force_diffusers setting to fall back to PEFT when needed.