Running a 28.9M parameter LLM on an $8 microcontroller
Developers have successfully run a 28.9 million parameter language model on an $8 ESP32-S3 microcontroller. By utilizing per-layer embeddings to store most of the model in flash memory, the device can generate text locally without a server.
This is a 28.9 million parameter language model that generates text on an ESP32-S3, a microcontroller that costs about $8. It runs on the chip itself, with nothing sent to a server, and it writes each word to a small screen wired to the chip at roughly 9 tokens per second. The last language model people ran on a chip like this had 260 thousand parameters, so this one holds about a hundred times more. It fits because most of the model lives in flash instead of RAM, using an idea from Google's Gemma models called Per-Layer Embeddings.
Get the full story
Sign up for Headlinne to unlock AI insights, political bias analysis, and your personalized news feed.
Create free accountAlready have an account? Sign in