Tiny diffusion model draws butterflies on an ESP32-S3 microcontroller in about 3 seconds

A developer has built an image-generating diffusion model that runs entirely on an M5Stack CoreS3, which uses an ESP32-S3 chip. The model uses roughly 0.17 million parameters with 8-bit integer math and produces a butterfly in about three seconds, with no cloud processing involved. Unlike the other models in the series, which are transformers that generate text one token at a time, this one is a small convolutional network quantised with Espressif's ESP-PPQ tools and run through the ESP-DL library. The project was trained on 1,000 public-domain Smithsonian butterfly photographs, and the network draws only the left half of each butterfly, with the right half created by mirroring. Code and the model are published on GitHub and Hugging Face.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in