{"library":"lycoris-lora","title":"LyCORIS","description":"LyCORIS is a PyTorch library implementing advanced LoRA variants (LoRA, LoHa, LoKr, (IA)^3, Diag-OFT, BOFT) for parameter-efficient fine-tuning, particularly for Stable Diffusion. Current version 3.4.0, requires Python >=3.10. Active development with monthly releases.","language":"python","status":"active","last_verified":"Mon Apr 27","install":{"commands":["pip install lycoris-lora"],"cli":null},"imports":["from lycoris import LycorisNetwork","from lycoris.utils import create_lycoris_from_weights"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import torch\nfrom lycoris import LycorisNetwork, create_lycoris\n\nmodel = LycorisNetwork(\n    in_features=768,\n    out_features=768,\n    rank=4,\n    algo='lora'  # 'lora', 'loha', 'lokr', 'ia3', 'diyag-oft', 'boft'\n)\nlycoris = create_lycoris(model, multiplier=1.0)\nprint('LyCORIS module created successfully.')","lang":"python","description":"Create a basic LyCORIS network with LoRA algorithm.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}