--- title: LoRA Converter Diffusers to ComfyUI emoji: 🔄 colorFrom: purple colorTo: blue sdk: gradio sdk_version: 6.8.0 app_file: app.py pinned: false license: apache-2.0 --- # LoRA Converter: Diffusers → ComfyUI / Kohya Converts SDXL LoRA weights from Hugging Face Diffusers format to Kohya/ComfyUI format. ## When to use If you see errors like this in ComfyUI: ``` lora key not loaded: unet.up_blocks.0.attentions.1... ``` Your LoRA is in Diffusers format and needs conversion. ## How it works Renames tensor keys from Diffusers naming convention (`unet.up_blocks.0...lora.down.weight`) to Kohya convention (`lora_unet_up_blocks_0...lora_down.weight`). Supports: `unet`, `text_encoder`, `text_encoder_2` keys.