cell-llm: Bare-Metal SmolLM2 on a PlayStation 3 at 150+ tok/s The veniallc/cell-llm repository runs SmolLM2-135M-Instruct on a 2006 Sony PlayStation 3, using six Cell Synergistic Processing Elements, with README benchmarks claiming about 150 tokens per second on batch-one decode and a large lead over llama.cpp on the same hardware. The project converts Hugging Face safetensors into a custom cellq4 binary, dispatches matmul-heavy layers to an SPU ELF, and offers an OpenAI-compatible chat completions server on port 8080, with a concurrent four-stream benchmark claiming 224 tok/s aggregate. Hacker News commenter angry_octet argued the PS3's roughly 25 GB/s memory bandwidth limits the machine to a small model, making a ~50 MB-class checkpoint the realistic fit rather than a path to frontier agents. The veniallc/cell-llm https://github.com/veniallc/cell-llm?ref=explainx repository runs SmolLM2-135M-Instruct on a 2006 PlayStation 3 using six Cell Synergistic Processing Elements , with README benchmarks claiming about 150 tokens per second on batch-one decode and a large lead over llama.cpp on the same box. This is not a general-purpose replacement for llama.cpp https://explainx.ai/blog/tensorfold-zig-local-llm-inference-metal-cuda-api-2026 on modern PCs. It is a case study in hand-mapping tiny transformers to heterogeneous cores when you accept a fixed model and antique silicon. TL;DR | Question | Answer | |---|---| | Hardware | Sony PS3 Cell Broadband Engine | | Model | SmolLM2-135M-Instruct | | Core size claim | ~82 KB pure-C plus SPU ELF | | Modes | --bench , --batch-bench , --spec , --profile , --chat , --serve 8080 | | API | OpenAI-compatible chat completions over HTTP | | License | Check LICENSE in-repo MIT-style OSS project | Architecture in plain language The PS3 PPE PowerPC orchestrates while SPEs execute SIMD-heavy kernels. cell-llm converts Hugging Face safetensors into a custom cellq4 binary, loads token tables from tokenizer.json , and dispatches matmul-heavy layers to spu/cell llm spu.elf . Features the README highlights: - Batched prefill with B=4 and B=1 decode benchmarks. - Lossless speculative decoding via --spec . - Sticky nvtop-style HUD for --chat . - Concurrent four-stream batch serving benchmark claiming 224 tok/s aggregate . On-premises rack hardware evoking self-hosted inference outside a datacenter GPU cluster Quick start from the README 1. Convert weights on x86-64 or PS3. The source checkpoint is the SmolLM2-135M-Instruct model card https://huggingface.co/HuggingFaceTB/SmolLM2-135M-Instruct?ref=explainx from HuggingFaceTB: make convert cellq4 ./convert cellq4 weights/model.safetensors weights/smollm2-135m-cellq4.cbin python3 tools/export tokenizer.py weights/tokenizer.json weights/smollm2.ctok 2. Build on PS3 Linux with spu-gcc and libspe2 . 3. Run benchmarks or server : ./cell-llm --model weights/smollm2-135m-cellq4.cbin \ --tok weights/smollm2.ctok \ --spu spu/cell llm spu.elf \ --bench 7 --profile \ --prompt "Explain in two short sentences how a GPU works." ./cell-llm ... --serve 8080 Point any OpenAI-schema client at http://