llama2.c on a 2006 iPod @ 80 MHz w/ 64 MB ram and no FPU

Reddit r/LocalLLaMA Tools

Summary

A developer ported Karpathy's llama2.c int8 inference to run Karpathy's TinyStories models on a 2006 iPod Video 5.5G (ARM7TDMI @ 80 MHz, 64 MB RAM, no FPU) via a custom Rockbox plugin, using only integer math with lookup tables for exp/softmax and an integer square root for RMSNorm. The 15M model (17 MB) loads directly from the hard drive into the music buffer.

hardware: PortalPlayer PP5022, ARM7TDMI @ 80 MHz, 64 MB ram wrote a fun rockbox plugin that runs Karpathy's llama2.c TinyStories models on an ipod video 5.5G. since there's no FPU, I ported llama2.c's int8 runq.c to use only integer math. it uses lookup tables -> exp/softmax + an integer square root for RMSNorm the 15M model is 17 MB, so it loads directly off the hard drive into the music buffer. Unfortunately you can't listen to music while it works lol want to eventually run this on both cores, and set up a more ipod themed model that does local music recommendation
Original Article

Similar Articles

ConwayResearch/Underdog-Saluki-27B-1.0

Hugging Face Models Trending

ConwayResearch 发布 Underdog-Saluki-27B-1.0,一个基于 Qwen3.8-27B 的 IQ2 量化模型,可在不到 8GB 内存中运行,同时保留约 96% 的工具调用能力,并支持可选视觉扩展,兼容标准 llama.cpp。