Get the daily emailDaily email
  1. Home
  2. More AI news
  3. This story

llama2.c TinyStories model running on a 2006 iPod with no FPU

A hobbyist wrote a Rockbox plugin that runs llama2.c TinyStories models on an iPod Video (ARM7TDMI at 80 MHz, 64 MB RAM). Because the chip has no FPU, the int8 path was ported to pure integer math with lookup tables for exp/softmax and an integer square root…

Published Read the original
llama2.c TinyStories model running on a 2006 iPod with no FPU

Why it matters

A fun demonstration of integer-only inference tricks, not a practical deployment target.

What happened

1 min read

A hobbyist wrote a Rockbox plugin that runs llama2.c TinyStories models on an iPod Video (ARM7TDMI at 80 MHz, 64 MB RAM). Because the chip has no FPU, the int8 path was ported to pure integer math with lookup tables for exp/softmax and an integer square root for RMSNorm.

inscraper analysis

Our analysis

A charming hack with educational value for anyone curious about integer-only inference on microcontrollers. The 15M-parameter TinyStories model is a toy, so there is no practical takeaway beyond technique.

More in More AI news