Skip to main content

Diffusion Model Playground

GitHub Actions Workflow Status GitHub Release PyPI - Python Version GitHub Repo stars

This is a simplified framework to train and run diffusion models.

Getting Started

To get started, simply install the python package from PyPI:

pip install diffusion-model-framework

The base install only has what the models and samplers need. Extras add more:

Extra Adds For
inference click, hydra the diffusion-models infer CLI
training inference + tensorboard, transformers training
evaluation inference + torchmetrics FID / KID
pip install "diffusion-model-framework[inference]"

Then, you're ready to start setting up your own training process. For help getting started with that, have a look at some of the examples.

Installing the package

Thanks to uv, installing this package is very simple and can be done in a single command. Simply run:

uv sync

That's it, the package is installed. Move to the next section to learn how to use this package.

Building from source

Installing uv

This tool uses uv. If you already have uv installed, please skip to the next section. Otherwise, run:

curl -LsSf https://astral.sh/uv/install.sh | sh

You can find out more about uv installation here.

That's it, uv is set up.

Installing and building locally

Installing the package via uv is very simple. Simply run:

uv sync

You can now start using the package to train your diffusion model. For example, try running:

uv run diffusion-models train

Building a wheel is also possible via:

uv build

Building the documentation

First you will need to install the dependency group used for documentation.

uv sync --group documentation

Now you can build the documentation using Sphinx by running:

uv run sphinx-build -M html docs/source/ docs/build

Metadata

Release files for diffusion-model-framework 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for diffusion-model-framework 1.1.0
File Size Uploaded Provenance Actions
diffusion_model_framework-1.1.0.tar.gz 47.1 MB With provenance Details for diffusion_model_framework-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for diffusion-model-framework 1.1.0
File Interpreter ABI Platform Actions
diffusion_model_framework-1.1.0-py3-none-any.whl Python 3 none any Details for diffusion_model_framework-1.1.0-py3-none-any.whl

Total release size: 47.1 MB

Release files / diffusion_model_framework-1.1.0.tar.gz

Download URL diffusion_model_framework-1.1.0.tar.gz
Size 47.1 MB
Tags Source
SHA-256 checksum
How to use checksums
034de54155ae2fd1cb03ec95a16a4793af0434528441f721ca919efebec80f64
BLAKE2b-256 checksum
How to use checksums
f764ac00fd6b44bada1c073642bf0ecce8316f6c8752708fa9c3b1a4845bee53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / diffusion_model_framework-1.1.0-py3-none-any.whl

Download URL diffusion_model_framework-1.1.0-py3-none-any.whl
Size 52.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
22cfabc210fb849d4ac6e4956416656cfbbbc7202797bdddbd549e8ad20c2521
BLAKE2b-256 checksum
How to use checksums
04d965a4949ad4a85b10c6edb6ac5596dd77d99dee612010fe1d6bcebd588fe8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Security for diffusion-model-framework 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for diffusion_model_framework-1.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page