界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

training

training

【效率与协作】Guide diffusers Custom Diffusion fine-tuning for single concept, multi-concept, prior preservation, modifier tokens, and the SDXL variant.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: training description: "Guide diffusers Custom Diffusion fine-tuning for single concept, multi-concept, prior preservation, modifier tokens, and the SDXL variant." disable-model-invocation: true metadata: disco-role: operating license: NOASSERTION

Training

Use this sub-skill when you need to fine-tune Custom Diffusion with the diffusers training entry points.

It covers:

  • single-concept and multi-concept training
  • generated or real prior preservation
  • modifier tokens and initializer tokens
  • cross-attention freeze choices
  • SDXL training and checkpoint output planning

It does not cover the legacy Stable Diffusion checkout path. Route those tasks to the diffusers-side route and treat the legacy checkout files as reference-only or excluded.

Start here

  1. Read references/workflows.md.
  2. Read references/cli-reference.md.
  3. Read references/data-formats.md.
  4. Run scripts/validate_training_inputs.py before an expensive launch.
  5. Check references/troubleshooting.md when the run fails or stalls.

Route onward

Runtime notes

  • The default path updates K/V cross-attention only.
  • crossattn updates all cross-attention weights.
  • SDXL uses a dual-text-encoder path and a larger default resolution.
  • CUDA is required for truthful training guidance.
我的收藏