• SMG's avatar
    fix: fix LORA key mismatch between FAL.AI and Nunchaku (#557) · 89cba85e
    SMG authored
    * Fix FLUX.1-Kontext LoRA support and dimension mismatch issues
    
    - Added convert_keys_to_diffusers() for ComfyUI/PEFT format conversion
    - Fixed dimension mismatch in LoRA weight concatenation
    - Added preprocessing for single_blocks LoRA structure
    - Added comprehensive test suite for Kontext LoRA
    - Added example script for FLUX.1-Kontext with LoRA
    
    Fixes #354
    
    * lint
    
    * FAL.AI and relight-kontext-lora patch
    89cba85e
test_flux_kontext_lora.py 7.9 KB