explainx.ai350K+ learn from us
TrendingAI News TodayExplainx for Business
Pricing
explainx.ai

Upskill in AI — 16 free pathways, live workshops & bootcamps, and 50+ courses from practitioners. Plus the skills, tools, and MCP servers to practice on.

follow us

follow on google

Add explainx.ai as a preferred source

corporate training

support@explainx.ai

get started

Find your pathTake Free Evaluation

community

Join the community

learn

mind: share how you thinkpathways — start freeworkshopsbootcampscoursescompare Explainxcertificationsmock testsexplainx universitycorporate traininglearn skills & mcp

discover

skillsmcp serversexplainx mcpestacktoolsmdx readeragentsllmsdesignsdictionarypeopleagi trackerfelony benchranks

company

aboutvisionmissionteaminstructorsteach on explainxpartnershipscommunityhackathonscareers

content

daily AI newsstate of AI — live resultsblogreleasespromptsgeneratorsresource libraryfor LLMsexplainx.ai kids

solutions

all solutionsdeveloper upskillingmarketing upskillingproduct manager upskillingleadership upskilling

newsletter · weekly

Get AI news, tools, and insights in your inbox.

supportcontactprivacytermsdata rightshow we create contentsubmission guidelines

© 2026 AISOLO Technologies Pvt Ltd

explainx.ai

On this page

  • TL;DR
  • Architecture in plain language
  • Quick start (from the README)
  • What developers are saying on Hacker News
  • Limits and safety
  • Benchmark flags explained
  • Power, thermals and hardware risk
  • Weight format and quantization
  • Comparing to llama.cpp on modern hardware
  • OpenAI-compatible server security
  • Hacker News themes worth citing
  • Lessons for accelerator engineers
  • Toolchain requirements on PS3 Linux
  • Integration with modern agent stacks
  • Historical context: Cell and ML
  • FAQ deep dive: should enterprises care?
  • Repro checklist for skeptics
  • Classroom and demo ideas
  • Related on explainx.ai
  • Speculative decoding on vintage silicon
  • Memory bandwidth and XDR DRAM
  • Open source maintenance expectations
  • Quick glossary
  • Extended reading on explainx.ai stacks
← Back to blog

explainx / blog

cell-llm: Bare-Metal SmolLM2 on a PlayStation 3 at 150+ tok/s

Local AI, Open Source, llama.cpp, GitHub Trending, Inference

Part of Local AI

veniallc/cell-llm runs SmolLM2-135M on a 2006 PS3 using six Cell SPEs. Build steps, benchmarks, OpenAI-compatible serve mode, and limits.

Dec 4, 2026·8 min read·Yash Thakker
add explainx.ai
go deep
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 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 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

table · 2 cols
QuestionAnswer
HardwareSony PS3 (Cell Broadband Engine)
ModelSmolLM2-135M-Instruct
Core size claim~82 KB pure-C plus SPU ELF
Modes--bench, --batch-bench, --spec, --profile, --chat, --serve 8080
APIOpenAI-compatible chat completions over HTTP
LicenseCheck LICENSE in-repo (MIT-style OSS project)

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

350K+ Students Already Joined

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 clusterOn-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 from HuggingFaceTB:

bash
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:

bash
./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://<ps3-ip>:8080/v1/chat/completions on your LAN.

What developers are saying on Hacker News

Hacker News thread 50751895 treated the project as a reproducibility challenge: impressive if verified on retail hardware, niche regardless because 135M parameters cannot power modern coding agents.

Commenter angry_octet argued that with only ~25 GB/s memory bandwidth you need a small model, so a ~50 MB-class checkpoint is the realistic fit—not a path to frontier agents.

Attribute those reactions as commenter opinion, not measured fact. When you blog numbers, cite the README and your own runs.

Limits and safety

  • Model scope: only documented SmolLM2 conversion; no Llama 3 or Qwen path in README.
  • Security: --serve on a PS3 on your LAN is not internet-facing without hardening; no auth layer is emphasized in the README snippet.
  • Maintenance: three commits at discovery time—expect breaking changes.

For production local inference on normal hardware, use maintained servers compared in TensorFold and NVKE bare-metal guides.

Benchmark flags explained

The README ships multiple CLI modes so you can separate kernel performance from UX polish:

table · 2 cols
FlagPurpose
--bench NRepeat single-stream runs for stable decode timing
--batch-bench NStress concurrent streams (claims 224 tok/s aggregate)
--specTest speculative path while preserving greedy outputs
--profilePrint per-phase timings for SPE versus PPE work
--chatInteractive HUD for manual quality checks

When you compare against llama.cpp, match quantization, thread count, and batch size. A 90x headline usually means the authors tuned both stacks for the PS3, not that cell-llm beats llama.cpp on a MacBook.

Power, thermals and hardware risk

A PS3 running flat-out inference is a space heater with aging capacitors. Run benchmarks on bench supply you trust, keep ventilation clear, and avoid unattended --serve on unknown firmware. None of this is unique to AI—retro computing communities already document yellow light of death risks—but continuous LLM load is a new stress pattern.

Weight format and quantization

The cellq4 converter targets PS3-friendly memory layouts. You are not dropping generic GGUF files onto the console:

  • Safetensors from Hugging Face are the source of truth.
  • convert_cellq4 emits a single .cbin checkpoint tuned for SPE kernels.
  • export_tokenizer.py builds .ctok vocab tables separate from weights.

That pipeline mirrors how embedded teams ship flat buffers instead of pickle checkpoints. If conversion fails, verify you fetched SmolLM2-135M-Instruct exactly—other SmolLM sizes are untested in README.

Comparing to llama.cpp on modern hardware

On a PS3, README authors argue llama.cpp leaves SPEs idle. On an M-series Mac or RTX workstation, llama.cpp with Metal or CUDA wins for throughput and model breadth.

Use cell-llm to study kernel design, not to choose production inference stacks. For Apple Silicon paths see TensorFold; for datacenter bare metal see NVIDIA confidential bare metal.

OpenAI-compatible server security

--serve 8080 lowers integration friction:

  • Bind to LAN IP, not 0.0.0.0, unless you add reverse-proxy auth.
  • Treat generated text as untrusted if prompts come from housemates on your network.
  • Log prompt injection attempts when exposing SmolLM to browsers.

Hacker News themes worth citing

Thread 50751895 mixed admiration with skepticism:

  • Reproducibility — request exact firmware, cooling, and power draw.
  • Metric scope — decode on a 135M model is not ChatGPT-class coding.
  • Nostalgia value — still useful pedagogy for SPE programming courses.

Quote commenters briefly; verify numbers yourself before embedding in product marketing.

Lessons for accelerator engineers

Even if you never ship on PS3, cell-llm demonstrates:

  1. Custom quant formats tied to SIMD width beat generic GGUF paths when you control both converter and kernel.
  2. Speculative decoding can be implemented without Python overhead if the runtime is tiny.
  3. OpenAI-compatible HTTP unlocks existing clients—same pattern as Ollama-compatible stacks we cover for media tools.

Toolchain requirements on PS3 Linux

The README assumes a working Cell SDK layout:

  • PPE compiler for the main cell-llm binary.
  • spu-gcc and spu-size for the SPE ELF at spu/cell_llm_spu.elf.
  • libspe2 headers and libraries for mailbox communication.

Missing any path fails at link time with opaque SPE errors. Document your toolchain versions in README forks so HN reproducers can diff environments.

Disk matters too: converted weights plus build artifacts consume hundreds of megabytes on aging HDDs—use external storage if internal partitions are tight.

Integration with modern agent stacks

If you point Claude Code or a local harness at the PS3 server:

  • Keep LAN-only networking.
  • Cap max tokens server-side to prevent thermal runaway loops.
  • Log prompts centrally; SmolLM will confabulate on out-of-distribution requests.

This is a toy endpoint, not a tier in your production router.

Historical context: Cell and ML

Sony’s Cell Broadband Engine was marketed for Fold@home and PS3 titles, then abandoned for general-purpose desktops. Projects like cell-llm revive it for education, similar to anyps5 relinking stories that reuse console hardware unexpectedly.

The lesson for ML platform teams: exotic SIMD wins only when the model is small enough to fit and the audience accepts maintenance burden.

FAQ deep dive: should enterprises care?

Only if you run lab curriculum or nostalgia demos. Procurement should not classify PS3 inference as a cost-saving path versus TensorFold on current GPUs.

Security teams should block PS3 servers from corporate VLANs unless isolated—unpatched Linux distros are common on retro kits.

Sustainability officers may ask about power per token; measure wall draw if you publish sustainability claims alongside benchmark screenshots.

Repro checklist for skeptics

  1. Stock or known-good PS3 firmware.
  2. Publish commit hash of cell-llm.
  3. Run ./cell-llm --bench 7 three times; report median and variance.
  4. Run llama.cpp baseline with documented flags on the same box.
  5. Archive temperature and power notes in appendix.

Without step 4, speedup claims remain author versus reader.

Classroom and demo ideas

University labs teaching heterogeneous computing can assign:

  1. Trace one matmul from C caller through SPE mailbox to result writeback.
  2. Compare energy per token versus a Raspberry Pi running llama.cpp on the same model class.
  3. Wire a minimal web UI to --serve and discuss missing auth on edge devices.

Students should cite veniallc README numbers as author claims in lab reports unless they reproduce locally.

Related on explainx.ai

  • TensorFold Zig LLM server
  • NVIDIA NVKE bare-metal K8s
  • anyps5 native PC gaming relinking — another retro-console builder story
  • NeonClipping local Ollama pipeline
  • Replica skill entrepreneur guide

Speculative decoding on vintage silicon

The --spec path documents lossless speculative decoding relative to greedy baselines in author tests. Speculative methods usually pair a draft model with a target model; here the README implies an internal draft path tuned for SmolLM widths on SPE.

Understanding when speculation helps on PS3 requires profiling: if draft acceptance rates are low, you pay double work on already thermally constrained hardware. Use --profile before demoing --spec on stream.

Memory bandwidth and XDR DRAM

PS3 XDR DRAM was high bandwidth for 2006 but tiny by modern GPU standards. cell-llm’s win is partly fitting a 135M model entirely in a footprint llama.cpp did not optimize for on Cell.

Readers benchmarking on PC should not extrapolate PS3 wins to DDR5 servers—different bottlenecks dominate.

Open source maintenance expectations

With only three commits early in the repo life, expect breaking changes to weight formats. Pin releases in Dockerfile digests if you demo at conferences.

Star the repo if you reproduce results—maintainers use signal to prioritize USB Ethernet drivers and toolchain docs.

Quick glossary

PPE is the PowerPC core that runs Linux and orchestrates jobs. SPE cores are SIMD coprocessors that execute the quantized matmul kernels. cellq4 is the project-specific quantized checkpoint format consumed by those kernels, not a portable GGUF file you can drop into desktop llama.cpp without conversion.

Extended reading on explainx.ai stacks

  • NeonClipping Ollama Shorts pipeline for another hobbyist-local inference story.
  • Replica skill recon guide if you route PS3 output into agent recon (not recommended for production).

Commands and throughput claims follow the GitHub README as of December 4, 2026.

Spotted something out of date? Let us know.
Daily briefFrom Yash · 350K+ students taught

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

  • ✓ Free
  • ✓ One email a day, no spam
  • ✓ Unsubscribe anytime
Yash Thakker

Written by

Yash Thakker

Yash is an AI expert with over 300K learners. Join his workshops →

View Yash Thakker in People in AI →

Share

Local AI
Workshops

Learn by building

Live, hands-on workshops on Claude, agents, and AI tooling — taught by practitioners, not slides.

Explore workshops →

Related posts

Nov 26, 2026

llama-cpp-rdna-boosts: AMD Patches Claim 35 to 55 Tokens/s on llama.cpp

A community patch set called llama-cpp-rdna-boosts layers AMD-specific speedups on top of llama.cpp. One user reports prefill rising from about 700 to 1,300 tokens per second. Here is what the repo ships and what you should check before you trust it.

Nov 13, 2026

llama.cpp v1.0.0: What a Stable libllama and libggml Mean for Local AI

ggml-org tagged llama.cpp v1.0.0 on November 13, 2026, after about 3.5 years of development. libllama and libggml now follow semantic versioning, so breaking C API changes show up as major-version bumps. Here is what that promise covers, what it does not, and how to upgrade safely.

Nov 4, 2026

llama.cpp v0.9.0 and ggml 0.29.0: Native FP8, Multi-Node Tensor Parallelism and What Local-AI Users Get

llama.cpp tagged v0.9.0 on November 4, 2026. The ggml 0.29.0 library underneath adds a native OCP FP8 E4M3 tensor type, a new flash-attention op for multi-sequence serving, batched tensor copy APIs and initial multi-node tensor parallelism through NCCL, plus kernel work across CUDA, Metal, Vulkan, SYCL, OpenCL and Hexagon.