2026-11-27 16:25 UTC

Host-run tiny transformer generates drawing bytecode for RP2040 execution

state: expiredheat: lowuncertainty: mediumrelevance: mediumtiny-models program-synthesis edge-aiRozuzo

What is this?

Rozuzo’s project, published in a GitHub repository and described in a Reddit post, uses an 825,344-parameter transformer running on a host computer to generate roughly 100 bytes of drawing bytecode. A Raspberry Pi Pico’s RP2040 then executes that code with a fixed-point virtual machine; the transformer itself does not run on the microcontroller. The author reports that all 12,670 generated traces matched a Python reference VM, alongside small interpreter resource figures. That demonstrates matching execution traces, not necessarily faithful drawings or generalizable program synthesis. The work is presented as an ongoing experiment, including tests of different representations and plans to make drawing relationships explicit.

Why it matters

This is a useful, narrow experiment in separating model generation from execution: a host-run tiny transformer emits a compact program that a very constrained microcontroller can execute. That approach could make generated behaviors deployable on inexpensive hardware without putting the model itself on the device. The current evidence supports a working pipeline, not yet reliable or novel program synthesis in a broader sense.

Current assessment

Rozuzo’s repository and accompanying Reddit post describe an 825,344-parameter autoregressive transformer running on a host and generating about 100 bytes of drawing bytecode; a Raspberry Pi Pico’s RP2040 executes it using a fixed-point virtual machine. The author reports 12,670/12,670 traces matching a Python reference, an interpreter footprint of 1,862 bytes of flash and 492 bytes of peak stack, and about 0.61 ms per measured QuickDraw program at 12 MHz. These are project-reported results, not independent validation. Exact trace agreement shows the embedded interpreter matches its reference; it does not establish that generated drawings are accurate, that the model generalizes to unseen combinations, or that the model runs on the Pico. The author describes the work as ongoing: experiments found representation results depend on the corpus, and a hierarchical planner improved termination and generated-length behavior but not likelihood. The proposed next step is to make relationships explicit through source-span, affine-relation, and copy-or-emit actions. A commenter also notes that running an 825K-parameter transformer on the RP2040 may be possible, but that is not demonstrated by this project. The main significance is the possibility of using small models to author executable, compact outputs for constrained devices; evidence for practical utility, generalization, and the claimed synthesis capability remains limited.

Measured heat

no measured readings yet — the hourly heat pass fills this in

How the heat travelled

09-09 14:00⭐ origin echo-reconstructedThe first repository commit publishes the project and Pico demo. Its README describes “sub-million-parameter transformers” generating drawin
Rodrigo Sastre (roodriigoooo) on github (echo) · attributed from reddit.post.1wf611v
—
09-13 12:12first on r/MachineLearning · published · +94.2hI trained an 825k-parameter model to generate drawing programs that execute exactly on an RP2040 [P]
Rozuzo
—
09-13 12:12amplified on r/MachineLearning 👑reddit.post.1wf611v
Rozuzo
peak 33 · 7 comments · 100% of case engagement
09-13 12:20our radar first saw it · +94.3hdiscovery anchor: reddit.post.1wf611v—

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟠 redditI trained an 825k-parameter model to generate drawing programs that execute exactly on an RP2040 [P]
MachineLearning
Rozuzo337
🟧 echo.github ⭐The first repository commit publishes the project and Pico demo. Its README describes “sub-million-parameter transformers” generating drawinRodrigo Sastre (roodriigoooo)——

Interpretation history

Decision trace