Skip to content
cccskills
Official · Hugging FaceFreePublished on GitHubEnglish overview

model-integration

Integrate a model or pipeline into diffusers, from file structure and weight conversion to tests and documentation. Verify numerical agreement with the original implementation, with modular pipelines as the preferred starting point for new integrations.

OriginalShow the original description

Use when adding a new model or pipeline to diffusers, setting up file structure for a new model, converting a pipeline to modular format, or converting weights for a new version of an already-supported model.

huggingface/diffusers34,918 stars(GitHub 34,918 + cccskills 0)
Works withHugging Face

Run score Not tested

See how to install

Good for

  • Adding a new model and pipeline to diffusers
  • Converting a pipeline to modular format
  • Converting weights for a new version of a supported model
  • Checking numerical agreement with the original implementation

Overview

What it does

Guide the end-to-end work of adding a model or pipeline to diffusers. This includes planning the file structure, implementing model components, converting pretrained weights, adding tests, and preparing documentation. It also covers comparing results with the original implementation using the same inputs and weights to check whether the calculations match.

When it helps

Use it when adding a new model, moving an existing pipeline to modular format, or converting weights for a new version of an already supported model. If a model has several workflows, the skill helps agree on an implementation order and handle them one at a time. Modular format is the default option to consider for a new pipeline.

Example requests

  • “Integrate this model into diffusers and compare its results with the original implementation.”
  • “Convert this existing pipeline to modular format.”

Notes

Before implementation, gather the reference repository, a runnable inference script, and any setup details such as dependencies or checkpoints, then confirm the plan. Numerical comparison uses CPU and float32, with a maximum difference below 1e-3 as the target. The comparison script imports the reference implementation and is for internal verification; do not include it in the pull request. Prepare separate model or pipeline tests for submission.

This overview was written by AI (OpenAI Codex) from the public SKILL.md. Check the original below for the exact behavior.

Document check

AI checked the SKILL.md for operations that need care and for setup requirements. The score comes only from actually running the skill (hands-on test).

SafetyAre sending data, deleting files, and running commands disclosed?
BPartly lackingIt requires setup and script execution, but does not specify execution confirmation steps.
Easy setupDoes it need few tools or API keys, and are they documented?
AGoodIt asks for the reference repo, inference script, and setup details before implementation.

Not counted in the score. Rated by AI (OpenAI Codex) as of Oct 26, 2026. Treat it as a guide and read the original before installing.

Disagree? Request a re-evaluation

Tell us which point is wrong and why. No login needed. We will check it against the SKILL.md, redo the evaluation, and show the result here.

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

Files included (1)

  • SKILL.md10.3 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

custom-blocks

Official · Hugging FaceFreeSummary

Package an existing custom diffusers block into a directory ready for Hub upload. Select a class from a Python file and save its source, configuration, and associated files so others can load the block.

  • Preparing a custom block for Hub distribution
  • Selecting one block class from a Python file
  • Creating the directory layout needed to load a shared block
huggingface/diffusers35KUpdated Oct 30, 2026

diffusers-cli

Official · Hugging FaceFreeSummary

Run diffusers generation pipelines from a terminal and save their outputs. Inspect accepted inputs without downloading model weights, apply LoRA adapters during generation, run remotely through HF Jobs, and inspect software and GPU environment details.

  • Running one-off generation or batch jobs from a terminal
  • Checking a new model's basic operation
  • Inspecting accepted inputs before running a pipeline
huggingface/diffusers35KUpdated Oct 30, 2026

self-review

Official · Hugging FaceFreeSummary

Review a diffusers contribution before opening a pull request. Check the full change against project rules, trace potentially unused code, and receive a severity-based report separating required fixes from points to discuss with reviewers.

  • Checking a diffusers contribution before opening a pull request
  • Investigating potentially unused code in a change
  • Reviewing fixes again and preparing notes for reviewers
huggingface/diffusers35KUpdated Oct 30, 2026

See all skills by huggingface

Report a problem with this skill