hn.today

Llama.cpp on a jailbroken PS5: run any GGUF model natively on the console

github.com138 points41 comments
Screenshot of Llama.cpp on a jailbroken PS5: run any GGUF model natively on the console

PS5LM turns a jailbroken PlayStation 5 into a home model server by running llama.cpp on the console GPU via ggml-vulkan and RADV. It loads GGUF models into the PS5's RDNA2 GPU (about 11.4 GB usable for model and context), serves standard APIs so OpenAI-style /v1/chat/completions and Anthropic-style /v1/messages work against any loaded model, and also implements decision-model serving compatible with Ollaya's /v1/systemone. The interface streams live chat output to the TV, shows console telemetry (temperature, power, CPU/GPU load), accepts images for multimodal models, and exposes a planner that reads GGUF metadata to pick context and cache settings. Models can be downloaded from Hugging Face or copied to internal, M.2, or USB storage and are selectable from a couch-friendly UI with controller mappings.

Measured performance and practical requirements are documented: small Qwen models hit hundreds of tokens/sec, a 9B Qwen around tens of tokens/sec, and a 27B Qwen around 20 tokens/sec with 64k context; decision models answer questions in milliseconds to seconds depending on input and images. Installation requires a PS5 on firmware 7.00-13.60 with jailbreaking payloads (kstuff-lite, etaHEN, ShadowMountPlus; elfldr and ftpsrv recommended), copying the app to /data/homebrew, and pointing clients at :8081. The project is C++ open-source (GPL-3.0+) built on community homebrew tooling, lists contributors and caveats, and is independent of Sony.

Read on github.com41 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in AI

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.