Skip to content

huggingface/diffusers

unversioned · 2f7e0154a9dbApache-2.0

Conventions and task skills for contributing to diffusers

custom-blocks

Use when the user has written (or wants to write) a ModularPipelineBlocks subclass in a local Python file and needs to package it into a Hub-uploadable directory. Covers the workflow from a single block.py file to a published custom-block repo that consumers can load via ModularPipeline.from_pretrained(<repo>, trust_remote_code=True).

Read SKILL.md at the source

Pinned to revision 2f7e0154a9db, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.