Skip to main content

diffsynth-model-code

Integrate model code (DiT, VAE, TextEncoder, etc.) into DiffSynth-Studio's models/ directory and register them in configs. Use this skill after the environment step is done, or when, during a model integration, the user wants to add new model components, register a new model hash, write a state_dict_converter, or run consistency tests between the original model and the integrated version. This skill handles the full range from "just add a new model_hash for a version upgrade" to "create entirely new model files for a new series." SCOPE: Only for integrating a new model or a new model feature into DiffSynth-Studio. Do NOT invoke for any other development — bug fixes or refactoring of existing model code, performance tuning, general code changes, or using/training already-supported models.

Source facts

Repository
modelscope/DiffSynth-Studio
Last source activity
November 10, 2026 at 09:16
Detected SKILL.md language
Chinese
Stars
13,415
Forks
1,344

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
11 files

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
namediffsynth-model-code
descriptionIntegrate model code (DiT, VAE, TextEncoder, etc.) into DiffSynth-Studio's models/ directory and register them in configs. Use this skill after the environment step is done, or when, during a model integration, the user wants to add new model components, register a new model hash, write a state_dict_converter, or run consistency tests between the original model and the integrated version. This skill handles the full range from "just add a new model_hash for a version upgrade" to "create entirely new model files for a new series." SCOPE: Only for integrating a new model or a new model feature into DiffSynth-Studio. Do NOT invoke for any other development — bug fixes or refactoring of existing model code, performance tuning, general code changes, or using/training already-supported models.