Install & Compatibility
Where this runs
tested against v3.4.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
py 3.10
✕ build_error
✓ 75.2s
py 3.11
✕ build_error
✓ 67.4s
py 3.12
✕ build_error
✓ 63.2s
py 3.13
✕ build_error
✓ 56.8s
py 3.9
✕ build_error
✕ timeout
4787MB installed
● package 4787MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
LycorisNetwork
✓ from lycoris import LycorisNetwork
✗ from lycoris.network import LycorisNetwork
In v3, LycorisNetwork is exposed at top-level. The old submodule path is deprecated.
create_lycoris_from_weights
✓ from lycoris.utils import create_lycoris_from_weights
✗ from lycoris import create_lycoris_from_weights
Utility functions moved to lycoris.utils in v3.
Create a basic LyCORIS network with LoRA algorithm.
import torch
from lycoris import LycorisNetwork, create_lycoris
model = LycorisNetwork(
in_features=768,
out_features=768,
rank=4,
algo='lora' # 'lora', 'loha', 'lokr', 'ia3', 'diyag-oft', 'boft'
)
lycoris = create_lycoris(model, multiplier=1.0)
print('LyCORIS module created successfully.')
Upgrade
Version history
3.4.0latest on PyPI · released Nov 12, 2025
Audit
Dependencies
torchrequiredCore tensor computation and autograd.
diffusersoptionalIntegration for Stable Diffusion model loading and inference.