Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.0rc5

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.0rc5
File Size Uploaded Provenance Actions
diffusion_model_framework-1.1.0rc5.tar.gz 47.1 MB With provenance Details for diffusion_model_framework-1.1.0rc5.tar.gz

Built distribution (wheel)

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

Total release size: 47.1 MB

Release files / diffusion_model_framework-1.1.0rc5.tar.gz

Download URL diffusion_model_framework-1.1.0rc5.tar.gz
Size 47.1 MB
Tags Source
SHA-256 checksum
How to use checksums
3f94b3656ac0c3705ce50fb459c3c0020177d86c1740316d6d09e2e611e95532
BLAKE2b-256 checksum
How to use checksums
6f3f88e4c0e9d79a3a8fffd1a4063bb33abccf080d08014e804eb86b384a9092
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.0rc5-py3-none-any.whl

Download URL diffusion_model_framework-1.1.0rc5-py3-none-any.whl
Size 52.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cb49ac6322e496b47042574b90288a77717b0045da15a960a252c75da4c5767c
BLAKE2b-256 checksum
How to use checksums
b4fb8790f46c0a09e5dacc1613e0b7222062115ba7373a15b8401b3f4412414a
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.0rc5

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.0rc5.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
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