Skip to content
Back to skills

Stable Diffusion Lora Training Pipeline

ASecurity

Orchestrates LoRA fine-tuning for Stable Diffusion XL using the diffusers library and Kohya ss-scripts. Manages dataset preparation with BLIP-2 auto-captioning, configures AdaFactor optimizer parameters, and exports safetensors checkpoints with A1111 metadata embedding.

  • 67 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added June 2, 2026
ai-agentspythongoshellgitsecurity

Works with

  • terminal

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned June 2, 2026

npx -y skills add agentskillexchange/skills --skill stable-diffusion-lora-training-pipeline --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Stable Diffusion Lora Training Pipeline?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Stable Diffusion Lora Training Pipeline
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-stable-diffusion-lora-training-pipeline/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-stable-diffusion-lora-training-pipeline)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "Stable Diffusion LoRA Training Pipeline"
slug: "stable-diffusion-lora-training-pipeline"
description: "Orchestrates LoRA fine-tuning for Stable Diffusion XL using the diffusers library and Kohya ss-scripts. Manages dataset preparation with BLIP-2 auto-captioning, configures AdaFactor optimizer parameters, and exports safetensors checkpoints with A1111 metadata embedding."
github_stars: 7023
verification: "security_reviewed"
source: "https://github.com/kohya-ss/sd-scripts"
category: "Image & Creative Automation"
framework: "Custom Agents"
tool_ecosystem:
  github_repo: "kohya-ss/sd-scripts"
  github_stars: 7023
---

# Stable Diffusion LoRA Training Pipeline

Orchestrates LoRA fine-tuning for Stable Diffusion XL using the diffusers library and Kohya ss-scripts. Manages dataset preparation with BLIP-2 auto-captioning, configures AdaFactor optimizer parameters, and exports safetensors checkpoints with A1111 metadata embedding.

## Installation

Use the upstream install or setup path that matches your environment:
- git clone https://github.com/kohya-ss/sd-scripts.git
- pip install torch==2.6.0 torchvision==0.21.0 --index-url https://download.pytorch.org/whl/cu124
- pip install --upgrade -r requirements.txt
- This installation is for CUDA 12.4. If you use a different version of CUDA, please install the appropriate version of PyTorch. For example, if you use CUDA 12.1, please install pip install torch==2.6.0 torchvision==0....

Requirements and caveats from upstream:
- Python 3.10.x and Git:
- Python 3.10.x: Download Windows installer (64-bit) from https://www.python.org/downloads/windows/
- Python 3.11.x, and 3.12.x will work but not tested.

Basic usage or getting-started notes:
- Open a regular Powershell terminal and type the following inside:
- powershell
- cd sd-scripts

- Source: https://github.com/kohya-ss/sd-scripts
- Extracted from upstream docs: https://raw.githubusercontent.com/kohya-ss/sd-scripts/HEAD/README.md

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/stable-diffusion-lora-training-pipeline/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.