lucidrains/denoising-diffusion-pytorch

Implementation of Denoising Diffusion Probabilistic Model in Pytorch

Open original source ↗

From the publisher

README & documentation

Source preview

Read the project’s overview, installation instructions and usage examples. The original README is the source of truth.

Implementation of Denoising Diffusion Probabilistic Model in Pytorch. It is a new approach to generative modeling that may have the potential to rival GANs. It uses denoising score matching to estimate the gradient of the data distribution, followed by Langevin sampling to sample from the true distribution. This implementation was inspired by the official Tensorflow version here Youtube AI Educators - Yannic Kilcher | AI Coffeebreak with Letitia | Outlier Flax implementation from YiYi Xu Annotated code by Research Scientists / Engineers from 🤗 Huggingface Update: Turns out none of the technicalities really matters at all | "Cold Diffusion" paper | Muse [](https://badge.fury.io/py/denoising-diffusion-pytorch) Or, if you simply want to pass in a folder name and the desired image dimensions, you can use the Trainer class to easily train a model. Samples and model checkpoints will be logged to ./results periodically To use Explorative Modeling (Forward XM) for multi-candidate…

lucidrains/denoising-diffusion-pytorch on GitHub A short preview, not the full document.

Read the full README ↗ · Preview checked 2026-10-28T05:32:58.774Z

Inside the original README — Document outline
  1. Denoising Diffusion Probabilistic Model, in Pytorch
  2. Install
  3. Usage
  4. Explorative Modeling (Forward XM)
  5. Multi-GPU Training
  6. Miscellaneous
  7. 1D Sequence
  8. Citations

Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.

Documentation belongs to its respective authors. Reported project/model license: MIT. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.

What this repository does

Implementation of Denoising Diffusion Probabilistic Model in Pytorch

Repository facts

Owner
lucidrains
Primary language
Python
Stars
10,722
Forks
1,284
Open issues + pull requests
172
License
MIT
Archived
No
Default branch
main
Created
2020-08-26T02:22:10.000Z
Last push
2026-09-29T14:13:08.000Z

Topics and intended use

Owner-supplied topics: artificial-intelligence, deep-learning, generative-model, score-matching

Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.

Evaluate before installing

Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.

README and project files

Issues and maintenance discussion

Releases and changelog

Source and freshness

Source: GitHub. Metadata observed 2026-10-31T13:20:02.570Z. Daily imports are snapshots, not real-time monitoring.

Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.

Open original source

Related repositories

public-apis/public-apis

EbookFoundation/free-programming-books

donnemartin/system-design-primer

vinta/awesome-python

practical-tutorials/project-based-learning

NousResearch/hermes-agent