diffusers
AGENTS.md35k starsChanged 3 months agoApache-2.0View on GitHub
We recommend developing in a virtual environment managed by uv: List the available skills, and what each one is for, with: Install them with: diffusers-cli skills update refreshes what you installed. Skills used to be installed through the Makefile, which symlinked the project-level .claude/skills and .agents/skills at .ai/skills in this repo. Remove those links if they exist — otherwise the install writes through them into .ai/ itself: At the start of a session, confirm the setup and tell the user…
- Installs packages
Trending
Quiet since September.about the whole repository
Who's talking about huggingface/diffusers
- A Hacker News story“Diffusers: Modular Diffusion model library from HuggingFace”Hacker News · Jul 21, 2022 · 47 points
- XavierXiao/Dreambooth-Stable-Diffusion“DreamBooth Stable Diffusion training now possible in 10 GB VRAM, and it runs about 2 times faster.”GitHub · Sep 26, 2022 · 42 reactions
- Comfy-Org/ComfyUI“[Feature] Support for SD3 ControlNet”GitHub · Jun 15, 2024 · 28 reactions
- AUTOMATIC1111/stable-diffusion-webui“[Feature Request]: Add newest DPM-Solver++”GitHub · Nov 4, 2022 · 25 reactions
- microsoft/vscode-remote-release“Remote Extension host terminated unexpectedly 3 times within the last 5 minutes.”GitHub · Mar 22, 2025 · 17 reactions
The biggest 5 of 38 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 38
Talked about on GitHub, Hacker News and Bluesky (38 times).
On GitHub · 31
- Sep 26, 2022DreamBooth Stable Diffusion training now possible in 10 GB VRAM, and it runs about 2 times faster. — XavierXiao/Dreambooth-Stable-Diffusion42 reactions · 52 comments
- Jun 15, 2024[Feature] Support for SD3 ControlNet — Comfy-Org/ComfyUI28 reactions · 10 comments
- Nov 4, 2022[Feature Request]: Add newest DPM-Solver++ — AUTOMATIC1111/stable-diffusion-webui25 reactions · 3 comments
- Mar 22, 2025Remote Extension host terminated unexpectedly 3 times within the last 5 minutes. — microsoft/vscode-remote-release17 reactions · 33 comments
- Oct 23, 2022Suggestion: Stable Diffusion Model — ggml-org/ggml13 reactions · 6 comments
26 more on GitHub
- Feb 3, 2026[Feat]: Anima support — Nerogar/OneTrainer12 reactions · 11 comments
- Dec 19, 2025feat: add qwen image layered support — leejet/stable-diffusion.cpp12 reactions · 4 comments
- Sep 9, 2025[RFC] [1.0] 🚀 huggingface_hub 1.0 release checklist — huggingface/huggingface_hub12 reactions · 1 comment
- Sep 28, 2022Support loading models created with diffusers — AUTOMATIC1111/stable-diffusion-webui12 reactions · 6 comments
- Mar 21, 2025🎉Glad to announce SANA-Sprint is available! — NVlabs/Sana10 reactions · 9 comments
- Jan 4, 2026[GLM-Image] AR Model Support for GLM-Image — huggingface/transformers9 reactions · 5 comments
- Dec 21, 2025[WIP] z-image-omni-base support — leejet/stable-diffusion.cpp9 reactions · 2 comments
- Jun 2, 2026feat: Add Anima support — ostris/ai-toolkit7 reactions · 5 comments
- Sep 18, 2026feat: add Qwen Image 2.1 support — leejet/stable-diffusion.cpp6 reactions · 1 comment
- Jan 16, 2026Flux2 Dev+Klein support — Nerogar/OneTrainer6 reactions · 24 comments
- Dec 15, 2025feat: add support for qwen image edit 2511 — leejet/stable-diffusion.cpp6 reactions · 2 comments
- Jun 9, 2026feat(policies): add Cosmos3 drafts — huggingface/lerobot5 reactions
- Dec 31, 2025Increase text length from 256 to 1024 in Qwen-Image — sgl-project/sglang5 reactions · 2 comments
- May 12, 2023[Unity][FX] Add support for PT2.0 scaled_dot_product_attention — apache/tvm5 reactions · 9 comments
- Sep 18, 2026[New model] Qwen-image-2.1 support — vllm-project/vllm-omni4 reactions · 13 comments
- Jun 4, 2024Serialization: support saving torch state dict to disk — huggingface/huggingface_hub4 reactions · 2 comments
- Mar 28, 2024Create pipeline_stable_diffusion_xl_instantid_img2img.py — instantX-research/InstantID4 reactions · 2 comments
- Aug 3, 2026Add MiniMax-H3 BF16 training and inference support — kohya-ss/musubi-tuner3 reactions · 26 comments
- Jan 12, 2026Support Z-image-omni-base — kohya-ss/musubi-tuner3 reactions · 7 comments
- Sep 10, 2024Add `TextToImage`, `StableDiffusion3Backbone` and `StableDiffusion3TextToImage` — keras-team/keras-hub3 reactions · 2 comments
- Apr 25, 2024Added Reward Backpropogation Support — huggingface/trl3 reactions · 12 comments
- Mar 31, 2024Add option to use Scheduled Huber Loss in all training pipelines to improve resilience to data corruption — kohya-ss/sd-scripts3 reactions · 29 comments
- Dec 6, 2023Feature/EulerScheduler — finegrain-ai/refiners3 reactions · 6 comments
- Oct 26, 2023Enable Latent Consistency models OpenVINO export and inference — huggingface/optimum-intel3 reactions · 1 comment
- Aug 19, 2022[Safety Checker] Add Safety Checker Module — CompVis/stable-diffusion3 reactions · 7 comments
- May 20, 2026Bump diffusers from 0.6.0 to 0.38.0 in the pip group across 1 directory — LaloLalo1999/UnstableFusion2 reactions
On Hacker News · 6
- Jul 21, 2022Diffusers: Modular Diffusion model library from HuggingFace47 points · 5 comments
- Apr 12, 2023V0.15.0 Beyond Image Generation7 points · 1 comment
- Aug 22, 2022Stable Diffusion Public Release6 points · 2 comments
- Aug 16, 2022HuggingFace Diffusers 0.2 with Stable Diffusion pipeline2 points · 1 comment
- Dec 7, 2023StableDiffusionSafetyChecker1 point
1 more on Hacker News
- Nov 3, 2022Diffusers 0.7.0: Stable Diffusion up to 2x faster on any hardware (including M1)says it tested it1 point · 1 comment
On Bluesky · 1
- Oct 25, 2024📦 huggingface / diffusers ⭐ 25,737 (+39) 🗒 Python 🤗 Diffusers: State-of-the-art diffusion models for image and audio generation in… — @github-trending.bsky.social7 likes and reposts
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- custom-blocksSkill
- diffusers-cliSkill
- model-integrationSkill
- self-reviewSkill
The file
We split this AGENTS.md into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 84
Before opening a PR, run self-review against review-rules.md.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Diffusers — Agent Guide
Setup
We recommend developing in a virtual environment managed by uv:
uv venv && source .venv/bin/activate
uv pip install -e . # provides diffusers-cliList the available skills, and what each one is for, with:
diffusers-cli skills listInstall them with:
diffusers-cli skills add <skill name> # install one, or --all for every skill
# --claude / --codex / --cursor to pick one targetdiffusers-cli skills update refreshes what you installed.
Skills used to be installed through the Makefile, which symlinked the project-level .claude/skills and
.agents/skills at .ai/skills in this repo. Remove those links if they exist — otherwise the install writes through
them into .ai/ itself:
rm -f .claude/skills .agents/skillsAt the start of a session, confirm the setup and tell the user what you find:
python utils/check_ai.py # guides and skills are consistent
diffusers-cli skills list # which skills are installedClaude Code and Codex can also install via plugins
claude plugin marketplace add huggingface/diffusers
claude plugin install diffusers@diffusers-skills --scope project
codex plugin marketplace add huggingface/diffusers # then install from the Plugins DirectoryHuman in the loop
Everything a PR reviewer sees must come from a human, or be approved by one for the exact wording. That includes commit messages, code comments and docstrings, PR titles and descriptions, and any PR or issue comment, review, or reply. Ask whether the user wants you to draft that text or will write it themselves. Keep drafts short and easy to understand. When you hand one over, remind them to read it for real and check that it reads well for other humans.
- Don't commit unless the user approved the exact commit message, and never push or open a PR on your own. The user decides when anything is published, each time.
- Don't post to GitHub directly — no comments, reviews, or replies. Draft when asked and hand the text to the user.
Code formatting
make styleandmake fix-copiesshould be run before opening a PR
Reference guides
- Coding style — see code_style.md for how code should read, and the
# Copied fromrules. - Models — see models.md for model conventions, attention pattern, implementation rules, dependencies, and gotchas. For adding or converting a model, use the model-integration skill.
- Pipelines — see pipelines.md for pipeline conventions, patterns, and gotchas.
- Modular pipelines — see modular.md for modular pipeline conventions, patterns, and gotchas.
- Tests — see testing.md for test conventions: required test layers, tester mixins, and dummy-component rules.
- Reporting — see reporting.md for how to write bug reports (what a reproduction is) and performance claims (end-to-end numbers first).
Skills
Task-specific guides live in .ai/skills/ and are loaded on demand by AI agents. Available skills include:
- model-integration (adding/converting pipelines)
- custom-blocks (packaging a
ModularPipelineBlockssubclass for the Hub) - diffusers-cli (running pipelines, inspecting schemas, and using the Diffusers CLI)
- self-review (pre-PR self-review against the project rules)
Self-review before a PR
Before opening a PR, run self-review against review-rules.md. The self-review skill runs this as the same pass the @claude CI reviewer uses. Share the final report on the PR (description or comment) — see the skill for details.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

