# I ran a language model on a PS2

The Emotion Engine has 32 MB of RAM total, so the trick is streaming weights from CD-ROM one matrix at a time during the forward pass — only activations, KV cache and embeddings live in RAM. This means models bigger than the RAM can still run, they just read more from disc. Had to build a custom qu…

- **Page:** https://magpie.gallery/i/i-ran-a-language-model-on-a-ps2-qjpc
- **Type:** Link to an idea elsewhere
- **Category:** AI & dev
- **Tags:** ps2, llm, retro, quantization, inference

## Source

Web · xaskasdf: I ran a language model on a PS2

- **Original:** https://news.ycombinator.com/item?id=47470405

> The Emotion Engine has 32 MB of RAM total, so the trick is streaming weights from CD-ROM one matrix at a time during the forward pass — only activations, KV cache and embeddings live in RAM. This means models bigger than the RAM can still run, they just read more from disc. Had to build a custom quantized format (PSNT), hack endianness, write a tokenizer pipeline, and most of the PS2 SDK from scratch (releasing that separately). The model itself is also custom — a 10M param Llama-style architecture I trained specifically for this. And it works. On real hardware. https://github.com/xaskasdf/ps2-llm

## GitHub projects

- https://github.com/xaskasdf/ps2-llm

## Rules for reuse

- Build your own version: don't copy another product's code, look, icons, colours or copy.
- The original belongs to its author; Magpie only links to it.
- The original content's copyright belongs to its creator. Magpie doesn't download or re-upload it; we only show the link and the official preview.
