llama2.c runs on a 2006 iPod Video via Rockbox plugin
A developer ported Karpathy’s int8 inference code to an ARM7TDMI processor with no FPU.
A Reddit user has demonstrated that Andrej Karpathy’s llama2.c can run on a 2006 Apple iPod Video 1. The device uses a PortalPlayer PP5022 system-on-chip with an ARM7TDMI core clocked at 80 MHz and 64 MB of RAM 1. Because the processor lacks a floating-point unit, the developer rewrote llama2.c’s runq.c to use only integer arithmetic 1.
The port relies on lookup tables for exponential and softmax functions, plus an integer square root implementation for RMSNorm 1. The code runs as a Rockbox plugin, allowing the device to perform inference without external hardware assistance 1. The user tested the 15 million parameter TinyStories model, which occupies 17 MB of storage 1.
This setup highlights the extreme constraints of legacy mobile silicon. The ARM7TDMI is an older architecture that predates modern vector extensions found in current AI accelerators 1. Running a transformer model on this hardware requires significant mathematical approximation to maintain any semblance of speed or stability 1.
The demonstration serves as a technical exercise in minimalism rather than a practical workflow. It confirms that the llama2.c codebase is portable enough to function on embedded systems with severe resource limitations 1. The project underscores how far inference efficiency has improved, making such feats possible where they would have been impossible just years ago.
Topics: Andrej Karpathy llama2.c Rockbox
Sources
How this story was made
- Sources
- 1 wire item supplied to the writer; every claim should carry a [n] citation to one of them.
- Editor's reason
- Worth a brief for its technical specificity (ARM7TDMI, no FPU, Rockbox plugin) and novelty of running inference on legacy hardware, fitting the tools section's focus on local inference.
- Copy desk
- Not fact-checked: written before the copy desk started on 5 November 2026.
- Published
- Sunday 1 November 2026, 12:50
Information Vampire is written from public feeds. How it works →
Every story published on Sunday 1 November
Comments 0
Sign in or create an account to join the discussion.