stablediffusionlora

Orchestration tool for LoRA fine-tuning Stable Diffusion XL using the diffusers library and Kohya ss-scripts. Uses BLIP-2 automatic captioning to manage dataset preparation, configures AdaFactor optimizer parameters, and exports safetensors checkpoints embedded with A1111 metadata.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "stablediffusionlora" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-9b5bc8386f776f396abb2feae205623b21b831b277a131bef970ef342de70762. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/stable-diffusion-lora-training-pipeline before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Orchestration tool for LoRA fine-tuning Stable Diffusion XL using the diffusers library and Kohya ss-scripts. Uses BLIP-2 automatic captioning to manage dataset preparation, configures AdaFactor optimizer parameters, and exports safetensors checkpoints embedded with A1111 metadata.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "Stable Diffusion LoRA 训练流水线"
slug: "stable-diffusion-lora-training-pipeline"
version: "1.0.0"
displayName: "Stable Diffusion LoRA 训练流水线"
summary: "使用diffusers库和Kohya ss-scripts编排Stable Diffusion XL的LoRA微调。使用BLIP-2自动标题功能管理数据集准备,配置AdaFactor优化器参数,并导出带有A1111元数据嵌入的safetensors检查点。"
license: "MIT"
description: "使用diffusers库和Kohya ss-scripts编排Stable Diffusion XL的LoRA微调。使用BLIP-2自动标题功能管理数据集准备,配置AdaFactor优化器参数,并导出带有A1111元数据嵌入的safetensors检查点。"
github_stars: 7023
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
category: "Image & Creative Automation"
framework: "Custom Agents"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 7023

Stable Diffusion LoRA 训练流水线

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/1991513ccie-png/skills
  • 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:

Basic usage or getting-started notes:

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value65/100

Highlights

  • 提供 Stable Diffusion LoRA 微调完整流水线,具备明确的技术实用价值
  • 集成 BLIP-2 自动标题和 A1111 元数据导出,功能较为完整
Trigger Precision90/100

Highlights

  • 触发描述精准完整,涵盖核心功能点与工具链
Structure and Standards70/100

Areas to improve

  • 缺少 When to Use/示例章节 Reported severity: Minor

    文档缺少明确的使用场景说明和端到端示例

    Recommendation: 建议补充 When to Use 章节和完整示例流程,帮助用户快速理解适用场景

Highlights

  • frontmatter 完整,包含必要元信息
Execution Reliability60/100

Areas to improve

  • 主要异常未处理 Reported severity: Major

    未覆盖网络失败、依赖冲突、数据集格式错误等主要异常场景

    Recommendation: 建议增加异常处理说明和常见问题排查指南,提升执行可靠性

Highlights

  • 提及 CUDA 版本适配说明,考虑了环境差异
Evidence Verifiability (mean of the first four)71/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 27, 28, 29
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • download.pytorch.org
  • github.com
  • raw.githubusercontent.com
  • www.python.org

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.