nowfound

AI · September 2, 2023

Modular Diffusion – A modular Python library for diffusion models

Hello everyone! I've been working on this project for a few months as part of my thesis in Machine Learning. It's meant to be a library that provides an easy-to-use but flexible API to design and train Diffusion Models. I decided to make it because I wanted to quickly prototype a Diffusion Model but there were no good tools to do it with. I think it really can help people prototype their own Diffusion Models a lot faster and only in a few lines of code. The base idea is to have a Model class that takes different modules corresponding to the different aspects of the Diffusion Model process…

Modular Diffusion – A modular Python library for diffusion models launched on September 2, 2023 with 40 votes, #1,318 of 4,228 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 3 years on.

In plain words

Modular Diffusion is a Python library for designing and training diffusion models with a flexible, modular architecture. It allows researchers and developers to quickly prototype diffusion models by combining different components like noise schedules, denoising networks, and loss functions. The library includes pre-built modules and supports custom implementations, enabling users to experiment with various configurations in just a few lines of code.

written from the facts on this page · September 2026

From the sources

Python library for designing and training your own Diffusion Models with PyTorch - cabralpinto/modular-diffusion

In the maker’s words, at launch

Hello everyone! I've been working on this project for a few months as part of my thesis in Machine Learning. It's meant to be a library that provides an easy-to-use but flexible API to design and train Diffusion Models. I decided to make it because I wanted to quickly prototype a Diffusion Model but there were no…

Does a similar job

all alternatives →
  • Diffulab, a library to train diffusion models from scratch2025 · github.com · ▲10

    Lately a friend of mine has been working on a personal project and I wanted to share it. The goal of Diffulab is to provide a flexible and modular framework for training diffusion models from scratch. The project is still in its early stages, and he is actively working on adding new features and improvements.

  • Tiny Diffusion – A character-level text diffusion model from scratchNov 2025 · github.com · ▲172

    I previously posted this a month and a half ago: https://news.ycombinator.com/item?id=45876742 I have rewritten it to be much more simple, from 951 lines of code to just 364, with no loss in core functionality or generation quality. I also added a tiny GPT implementation as a comparison (inspired by Andrej Karpathy's code). The two model implementations are ~80% identical, with the core differences being the generate and get_batch functions. The model architecture, training loop, etc, differ in only 19 lines of code. Trained weights are included, so you can just clone and run…

  • Seed Diffusion2025 · seed.bytedance.com · ▲158

    A faster, more holistic way to generate code

  • Stable Diffusion Model2023 · ▲109

    Generate AI art for free

  • FS
    Free Stable Diffusion 2.0 hosted interface2022 · app.baseten.co · ▲25

    Deploy and serve machine learnings models performantly, scalably, and cost-efficiently with Baseten.

  • Implementation of DDPM (Denoising Diffusion Probabilistic Models)2025 · github.com · ▲10

    Just small prototype showcasing diffusion models

More ai this month

the category →
  • Video model that turns script into viral social media videos

    AI · 17d ago · spira.ai

  • The browser where Claude Code and Codex work beside you

    AI · 17d ago · rill.love

  • Kolibri is Aleph Alpha

    AI · 19d ago · tej.as

  • Paintings by AI models: programs run through a simulation of oil paint.

    AI · 20d ago · stillwet.art

  • A real-time world model you can explore and change

    AI · 29d ago · world.pixverse.video

  • Hemory▲381

    Keep listening. Searchable memory for your AI agents.

    AI · 29d ago · hemory.com

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, September 2023

the whole month →
  • Loops▲1,556

    Measure whether a campaign drove the desired outcome

    Dev tools · 2023 · loops.so

  • Tally 2.0▲1,479

    The simplest way to create forms for free

    Dev tools · 2023 · tally.so

  • Klu AI▲1,462

    Your data, unified and interactive

    AI · 2023 · klu.so

  • FirstHR▲1,063

    All-in-one HR platform for founders with dreams and teams

    Work · 2023 · firsthr.app

  • DevHunt▲945

    Open source Product Hunt for dev tools

    Dev tools · 2023 · devhunt.org

  • GenAI app to create personalized content

    AI · 2023 · yarnit.app