Skip to content

CodeAlexx/Eri-Lycoris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

906 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Eri-Lycoris

Rust port of LyCORIS (advanced LoRA-family algorithms for diffusion models) by KohakuBlueleaf, targeting flame-core for inference-time weight merging.

The actual crate is at lycoris-rs/ — see its README for full status, API, parity results, and usage.

Status (2026-04-20)

  • 4 algorithms shipped: LoCon, LoHa, LoKr, Full — Linear + Conv2d + Tucker variants
  • Inference-only weight-merge mode (load → materialize ΔW → add into base → run inference)
  • Wired into inference-flame as a path dep with per-model name mappers (FLUX, Z-Image, Chroma, Klein, Qwen-Image, SDXL, SD 1.5)
  • fuse_split_qkv helper for fused-QKV models — validated against a real Z-Image LoKr (240 split-QKV adapters → 30 fused triples → 180 adapters)
  • 31 tests in the crate (lib + smoke + loader + parity vs upstream Python) plus 32 in the inference-flame integration

Credits

Original LyCORIS: KohakuBlueleaf/LyCORIS. This Rust port keeps the math; ships the loader + per-model integration around it.

License

MIT.

About

Lycoris library ported to Rust from KBlueLeafe

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors