Z-Image Turbo LoRA Fixing Tool
r/StableDiffusion
•
Generative AI
ZiTLoRAFix Fixes LoRA.safetensors files that contain uned attention tensors for certain diffusion models. Specifically targets: diffusion_model.layers.*.attention.*.lora_A.weight diffusion_model.layers.*.attention.*.lora_B.weight These keys cause errors in some loaders. The script can mute them (zero out the weights) or prune them (remove the keys entirely), and can do both in a single run producing separate output files. Example / Comparison The unmodified version often produces undesirable results.