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

checkpoint-tools

checkpoint-tools

【效率与协作】Extract, compress, validate, and compose Custom Diffusion checkpoint deltas.

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

技能说明

GitHub

name: checkpoint-tools description: "Extract, compress, validate, and compose Custom Diffusion checkpoint deltas." disable-model-invocation: true metadata: disco-role: operating license: NOASSERTION

Checkpoint tools

Use this sub-skill for delta and checkpoint math only.

It covers:

  • legacy checkpoint delta extraction
  • low-rank compression of K/V deltas
  • layout validation for extracted, compressed, and composed deltas
  • diffusers-side concept composition outputs

It does not cover image generation after composition; route that work to ../inference/SKILL.md.

Start here

  1. Read references/api-reference.md.
  2. Use scripts/check_delta_layout.py before sampling or recompressing.
  3. Read references/workflows.md for extraction, compression, and composition order.
  4. Check references/troubleshooting.md when a checkpoint family or tensor layout is wrong.

Safe defaults

  • Extraction is CPU-safe and does not delete anything unless --delete-source is set.
  • Compression and composition are expected to use CUDA and local weights for real runs.
  • Layout checks are CPU-safe and do not download models.

Preserve the upstream Adobe Research notice if you edit the bundled helper scripts.

我的收藏