$npx skillfedfor your agent

lycoris-lora

Lora beYond Conventional methods, Other Rank adaptation Implementations for Stable diffusion

Worth itPyPI Artificial IntelligenceReleased Nov 2025120.0K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — lycoris_lora-3.4.0-py3-none-any.whl
v3.4.0 · released 2025-11-12 · Python >=3.10 · 4 runtime deps: torch, einops, toml, tqdm

Yes. LyCORIS is actively maintained, has no known vulnerabilities, installs cleanly with minimal dependencies, and is widely adopted in the Stable Diffusion community. Choose it if you need to train or use parameter-efficient adapters for Stable Diffusion; the multiple algorithm options and integration with popular training frameworks make it the standard tool for this task.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires PyTorch and a compatible GPU (CUDA 11.8, 12, or 12.1 recommended).
  • Python >= 3.10 required.
  • Low friction: pure Python wheel with four straightforward runtime dependencies (torch, einops, toml, tqdm).

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for both open-source and proprietary projects.

last release 2025-11-12 (275 days) · last repo commit 2026-07-23 · 2,506 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 120,050 downloads/mo, #12,045 on PyPI

Verify before relying

pip install lycoris-lora

from lycoris import create_lycoris, LycorisNetwork

LycorisNetwork.apply_preset({"target_name": [".*attn.*"]})
lycoris_net = create_lycoris(
    your_model, 1.0, linear_dim=16, linear_alpha=2.0, algo="lokr"
)
lycoris_net.apply_to()
output = your_model(x)
  • Whether all newer LyCORIS model types are supported across all listed inference platforms (ComfyUI, InvokeAI, CivitAI, Tensor.Art) or if some lag behind.
  • Specific CUDA version compatibility constraints beyond the classifiers (11.8, 12, 12.1) listed in metadata.
Same gist for agents: .md · .json

What it is and what it does

LyCORIS is a PyTorch library that wraps Stable Diffusion models with parameter-efficient fine-tuning adapters. Instead of training all model weights, it applies low-rank or other structured modifications to a subset of layers, dramatically reducing memory and storage requirements while maintaining output quality. The library supports multiple adaptation algorithms (LoRA, LoHa, LoKr, DyLoRA, and native fine-tuning) with different trade-offs between fidelity, flexibility, diversity, and model size.

You can use it three ways: as a training backend for kohya-ss scripts (the most common path for Stable Diffusion practitioners), as a standalone PyTorch wrapper for custom training loops, or as pre-trained adapter weights loaded into inference tools like sd-webui, ComfyUI, or InvokeAI. The library handles the adapter lifecycle—creation, application to models, stacking multiple adapters, and restoration—leaving your base model untouched.

Use it for

  • Train custom Stable Diffusion adapters on specific visual styles or concepts using kohya scripts without full model fine-tuning.
  • Reduce storage footprint of fine-tuned models from gigabytes to megabytes by using low-rank adapters instead of full checkpoints.
  • Stack multiple LyCORIS adapters on a single base model to combine different trained concepts or styles at inference time.
  • Integrate parameter-efficient tuning into custom PyTorch training pipelines via the standalone wrapper API.
  • Fine-tune Stable Diffusion models on consumer GPUs with limited VRAM by using adapter-based training instead of full model training.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

LyCORIS is actively maintained, has no known vulnerabilities, installs cleanly with minimal dependencies, and is widely adopted in the Stable Diffusion community. Choose it if you need to train or use parameter-efficient adapters for Stable Diffusion; the multiple algorithm options and integration with popular training frameworks make it the standard tool for this task.

Install

lycoris-lora on PyPI

Before you install

Low friction: pure Python wheel with four straightforward runtime dependencies (torch, einops, toml, tqdm). Actively maintained with recent commits and a stable release cadence.

Requires PyTorch and a compatible GPU (CUDA 11.8, 12, or 12.1 recommended). Python >= 3.10 required.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for both open-source and proprietary projects.

Quickstart

pip install lycoris-lora

from lycoris import create_lycoris, LycorisNetwork

LycorisNetwork.apply_preset({"target_name": [".*attn.*"]})
lycoris_net = create_lycoris(
    your_model, 1.0, linear_dim=16, linear_alpha=2.0, algo="lokr"
)
lycoris_net.apply_to()
output = your_model(x)

Verify before relying

  • Whether all newer LyCORIS model types are supported across all listed inference platforms (ComfyUI, InvokeAI, CivitAI, Tensor.Art) or if some lag behind.
  • Specific CUDA version compatibility constraints beyond the classifiers (11.8, 12, 12.1) listed in metadata.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
torcheinopstomltqdm
MaintenanceActively maintained 275 days since the last release
Last repo commit
First released
Downloads120,050 / month, #12,045 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: GPU :: NVIDIA CUDA :: 11.8Environment :: GPU :: NVIDIA CUDA :: 12Environment :: GPU :: NVIDIA CUDA :: 12 :: 12.1Intended Audience :: DevelopersIntended Audience :: End Users/DesktopOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12

Evidence: lycoris_lora-3.4.0-py3-none-any.whl

Tags

Capabilities
stable diffusion fine-tuninglora adapter for diffusionparameter efficient trainingstable diffusion loramodel adaptation pytorchlow-rank diffusion trainingefficient model tuning
Topics
stable-diffusionmodel-adaptationgpu-training

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “stable diffusion fine-tuning”

  • lycoris-loraImplements parameter-efficient fine-tuning algorithms (LoRA, LoHa,…
  • unslothUnsloth accelerates training and fine-tuning of large language models…
  • tomesdSpeeds up Stable Diffusion image generation by merging redundant…

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also peft · loralib · adapters · k-diffusion · torchao · diffusers · tomesd · unsloth · ms-swift · liger-kernel

Further reading