Get the latest tech news

I have reimplemented Stable Diffusion 3.5 from scratch in pure PyTorch


A reimplementation of Stable Diffusion 3.5 in pure PyTorch - yousef-rafat/miniDiffusion

miniDiffusion is a reimplementation of the Stable Diffusion 3.5 model in pure PyTorch with minimal dependencies. It's made with the mindset of having the least amount of code necessary to recreate Stable Diffusion 3.5 from scratch, with only ~2800 spanning from VAE to DiT to the Train and Dataset scripts. Multi-Modal Diffusion Transformer Model Flow-Matching Euler Scheduler Logit-Normal Sampling Joint Attention

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Scratch

Scratch

Photo of PyTorch

PyTorch

Photo of Stable Diffusion 3.5

Stable Diffusion 3.5

Related news:

News photo

Show HN: I wrote a BitTorrent Client from scratch

News photo

Async from scratch 3: Pinned against the wall

News photo

A simple search engine from scratch