stablediffusionxllora

Fine-tune the Stable Diffusion XL model with LoRA adapters using the diffusers library and Kohya-ss training scripts. Manage dataset preparation, training configuration, and checkpoint merging for custom image generation.

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 "stablediffusionxllora" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-e10667318053acb3ee31d0ae9ff10883bfd664759eb33ee702983b587456baf1. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/stable-diffusion-xl-lora-trainer 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

Fine-tune the Stable Diffusion XL model with LoRA adapters using the diffusers library and Kohya-ss training scripts. Manage dataset preparation, training configuration, and checkpoint merging for custom image generation.

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 XL LoRA 训练器"
slug: "stable-diffusion-xl-lora-trainer"
version: "1.0.0"
displayName: "Stable Diffusion XL LoRA 训练器"
summary: "使用 diffusers 库和 Kohya-ss 训练脚本,通过 LoRA 适配器微调 Stable Diffusion XL 模型。管理数据集准备、训练配置和检查点合并以进行自定义图像生成。"
license: "MIT"
description: "使用 diffusers 库和 Kohya-ss 训练脚本,通过 LoRA 适配器微调 Stable Diffusion XL 模型。管理数据集准备、训练配置和检查点合并以进行自定义图像生成。"
github_stars: 27135
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: 27135

Stable Diffusion XL LoRA 训练器

Fine-tune Stable Diffusion XL models with LoRA adapters using the diffusers library and Kohya-ss training scripts. Manages dataset preparation, training configuration, and checkpoint merging for custom image generation.

Installation

Use the upstream install or setup path that matches your environment:

Requirements and caveats from upstream:

  • python scripts/sampling/simple_video_sample_4d2.py --input_path assets/sv4d_videos/camel.gif --output_folder outputs (after downloading sv4d2.safetensors from HuggingFace...
  • Run inference: python scripts/sampling/simple_video_sample_4d2.py --input_path <path/to/video>
  • Run inference: python scripts/sampling/simple_video_sample_4d2.py --model_path checkpoints/sv4d2_8views.safetensors --input_path assets/sv4d_videos/chest.gif --output_folder outputs

Basic usage or getting-started notes:

  • To run SV4D 2.0 on a single input video of 21 frames:

  • Low VRAM environment : To run on GPUs with low VRAM, try setting --encoding_t=1 (of frames encoded at a time) and --decoding_t=1 (of frames decoded at a time) or lower video resolution like --img_size=512.

  • The 5x8 model takes 5 frames of input at a time. But the inference scripts for both model take 21-frame video as input by default (same as SV3D and SV4D), we run the model autoregressively until we generate 21 frames.

  • Source: https://github.com/1991513ccie-png/skills

  • Extracted from upstream docs: https://raw.githubusercontent.com/Stability-AI/generative-models/HEAD/README.md

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value65/100

Areas to improve

  • 受众范围较窄 Reported severity: Minor

    Skill 面向 Stable Diffusion XL LoRA 微调的专业用户,属于长尾需求,受众相对小众。

    Recommendation: 可考虑补充更多通用场景说明以扩大适用面。

Highlights

  • 提供 Stable Diffusion XL LoRA 微调能力,在 AI 图像生成领域具有明确技术实用价值
  • 集成 diffusers 库和 Kohya-ss 训练脚本,功能完整
Trigger Precision60/100

Areas to improve

  • 缺少具体触发词示例 Reported severity: Minor

    description 描述了核心功能但缺少用户应如何调用该 Skill 的具体触发词示例。

    Recommendation: 建议补充典型使用场景的触发词示例,如'帮我训练一个 SDXL LoRA 模型'等。

Highlights

  • 核心功能描述清晰,准确表达了 LoRA 微调 SDXL 的能力
Structure and Standards60/100

Areas to improve

  • 缺少清晰的步骤划分 Reported severity: Minor

    文档包含 Installation 和 Basic usage 说明,但缺少清晰的 Phase/步骤划分和明确的出口条件。

    Recommendation: 建议将流程划分为清晰的步骤(如:1.环境准备 2.数据集准备 3.训练配置 4.模型训练 5.检查点合并),并明确每个步骤的完成条件。

  • 缺少端到端完整示例 Reported severity: Minor

    提供了部分使用命令但未形成完整的端到端示例流程。

    Recommendation: 建议补充一个完整的端到端示例,从环境准备到最终生成图像的完整流程。

Highlights

  • frontmatter 完整,包含必要的元数据信息
  • 提供了基本的安装和使用说明
Execution Reliability60/100

Areas to improve

  • 缺少异常处理说明 Reported severity: Minor

    依赖外部 GitHub 仓库和 HuggingFace 模型文件,但未覆盖网络下载失败、依赖冲突等异常场景的处理。

    Recommendation: 建议补充常见异常的处理方案,如网络超时重试、依赖版本冲突解决等。

Highlights

  • 提供了明确的环境要求和依赖安装命令
  • 包含了低 VRAM 环境的优化建议
Evidence Verifiability (mean of the first four)61/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.

  • github.com
  • huggingface.co
  • raw.githubusercontent.com

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.