yuanchenyang/smalldiffusion

Simple and readable code for training and sampling from diffusion models

53
/ 100
Established

This is for machine learning researchers and practitioners who want to rapidly experiment with diffusion models. It helps you quickly set up, train, and sample from various diffusion models, whether you're working with simple datasets or state-of-the-art models like Stable Diffusion. You input your dataset and chosen model/schedule parameters, and it outputs generated samples and insights into model performance.

715 stars. No commits in the last 6 months. Available on PyPI.

Use this if you are a machine learning researcher or engineer looking for a clear, concise, and flexible codebase to build, train, and test new diffusion models or sampling techniques.

Not ideal if you are looking for a high-level API to simply use existing, pre-trained diffusion models without needing to customize or understand their underlying mechanics.

generative-AI image-synthesis machine-learning-research model-training deep-learning-experimentation
Stale 6m
Maintenance 2 / 25
Adoption 10 / 25
Maturity 25 / 25
Community 16 / 25

How are scores calculated?

Stars

715

Forks

55

Language

Python

License

MIT

Last pushed

Jun 14, 2025

Commits (30d)

0

Dependencies

6

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/diffusion/yuanchenyang/smalldiffusion"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.