Skip to content

armgit / PS5LM

Public Imported from GitHub
0

llama.cpp on a jailbroken PS5: run any GGUF model natively on the console, starting with Qwen 3.8

Add the project site and the demo video

Mert Cobanov4dad72d24fc2
diff --git a/README.md b/README.md
index 55eca3c..e436b2b 100644
--- a/README.md
+++ b/README.md
@@ -2,6 +2,12 @@
**llama.cpp on a jailbroken PlayStation 5.** Run any GGUF language model on the console itself, first on its Zen 2 CPU, then on its GPU.
+<p align="center">
+ <a href="https://ps5lm.cobanov.dev"><img src="docs/media/ps5lm-demo.gif" width="640" alt="Qwen3.5 0.8B answering in the PS5's browser, typed with a DualSense"></a>
+</p>
+
+<p align="center"><b><a href="https://ps5lm.cobanov.dev">ps5lm.cobanov.dev</a></b>: the full demo video and how it works</p>
+
The first target is **Qwen 3.8** (27B, hybrid Gated DeltaNet attention), the newest open Qwen. No one has run it on a PS5 yet.
> **Status:** llama.cpp runs on a PS5. Qwen3.5 0.8B generates 14 tokens/s on two of the console's CPU cores (firmware 13.60, PS5 Slim). There is a chat page in the PS5's own browser (`scripts/ps5-chat.sh`). Next: bigger models. See [docs/ROADMAP.md](docs/ROADMAP.md) and [docs/CONSOLE.md](docs/CONSOLE.md).
diff --git a/docs/media/ps5lm-demo.gif b/docs/media/ps5lm-demo.gif
new file mode 100644
index 0000000..bcf203a
Binary files /dev/null and b/docs/media/ps5lm-demo.gif differ
diff --git a/site/_headers b/site/_headers
new file mode 100644
index 0000000..72c07f3
--- /dev/null
+++ b/site/_headers
@@ -0,0 +1,6 @@
+/*
+ X-Content-Type-Options: nosniff
+ Referrer-Policy: strict-origin-when-cross-origin
+
+/media/*
+ Cache-Control: public, max-age=604800
diff --git a/site/assets/fonts/OFL.txt b/site/assets/fonts/OFL.txt
new file mode 100644
index 0000000..981d4af
--- /dev/null
+++ b/site/assets/fonts/OFL.txt
@@ -0,0 +1,93 @@
+Copyright 2019 The Recursive Project Authors (github.com/arrowtype/recursive)
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+http://scripts.sil.org/OFL
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/site/assets/fonts/recursive-mono-v1.woff2 b/site/assets/fonts/recursive-mono-v1.woff2
new file mode 100644
index 0000000..ad3382b
Binary files /dev/null and b/site/assets/fonts/recursive-mono-v1.woff2 differ
diff --git a/site/assets/fonts/recursive-sans-v1.woff2 b/site/assets/fonts/recursive-sans-v1.woff2
new file mode 100644
index 0000000..fd446af
Binary files /dev/null and b/site/assets/fonts/recursive-sans-v1.woff2 differ
diff --git a/site/assets/style.css b/site/assets/style.css
new file mode 100644
index 0000000..8c60bd1
--- /dev/null
+++ b/site/assets/style.css
@@ -0,0 +1,264 @@
+/*
+ * ps5lm.cobanov.dev
+ *
+ * Same family as cobanov.dev and herdrchat.cobanov.dev: the dark ground, the
+ * self-hosted Recursive (mono cut for the wordmark, headings and buttons, sans
+ * cut for reading), hairline rules between sections, near-square corners, the
+ * 1160px measure and the periwinkle accent. The one thing this page adds is
+ * the console itself: the demo video in the hero, and the boot chain set as a
+ * terminal panel, since that is how the project actually runs.
+ */
+
+@font-face {
+ font-family: "Recursive Sans";
+ src: url("/assets/fonts/recursive-sans-v1.woff2") format("woff2");
+ font-weight: 300 1000;
+ font-display: swap;
+}
+
+@font-face {
+ font-family: "Recursive Mono";
+ src: url("/assets/fonts/recursive-mono-v1.woff2") format("woff2");
+ font-weight: 300 1000;
+ font-display: swap;
+}
+
+:root {
+ color-scheme: dark;
+
+ --bg: #0e0e14;
+ --bg-elevated: #16161d;
+ --panel: #17171f;
+
+ --ink: #f2f2f7;
+ --ink-soft: rgba(235, 235, 245, 0.78);
+ --muted: rgba(235, 235, 245, 0.55);
+ --muted-2: rgba(235, 235, 245, 0.38);
+ --line: rgba(235, 235, 245, 0.12);
+ --line-strong: rgba(235, 235, 245, 0.22);
+
+ --accent: #8288f0;
+ --accent-ink: #ffffff;
+ --done: #7fd1a8;
+
+ --term-text: #d4d6dd;
+ --term-dim: rgba(235, 235, 245, 0.42);
+
+ --radius-lg: 6px;
+ --radius-md: 4px;
+ --radius-sm: 2px;
+
+ --max: 1160px;
+ --measure: 46rem;
+
+ --mono: "Recursive Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
+ --body: "Recursive Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
+}
+
+* { box-sizing: border-box; }
+html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
+
+body {
+ margin: 0;
+ background: var(--bg);
+ color: var(--ink);
+ font-family: var(--body);
+ font-size: 16px;
+ line-height: 1.6;
+ -webkit-font-smoothing: antialiased;
+}
+
+a { color: var(--accent); }
+a:focus-visible, .btn:focus-visible, video:focus-visible {
+ outline: 2px solid var(--accent);
+ outline-offset: 3px;
+ border-radius: var(--radius-sm);
+}
+
+.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
+
+/* ---------- header ---------- */
+
+.site-header {
+ position: sticky;
+ top: 0;
+ z-index: 10;
+ border-bottom: 1px solid var(--line);
+ background: rgba(14, 14, 20, 0.92);
+ backdrop-filter: saturate(140%) blur(8px);
+}
+.nav { display: flex; align-items: center; gap: 1.25rem; min-height: 60px; }
+.brand {
+ font-family: var(--mono);
+ font-weight: 700;
+ letter-spacing: -0.04em;
+ color: var(--ink);
+ text-decoration: none;
+ font-size: 1.05rem;
+}
+.nav-spacer { flex: 1; }
+.nav-links { display: flex; gap: 1.15rem; font-size: 0.9rem; }
+.nav-links a { color: var(--muted); text-decoration: none; }
+.nav-links a:hover { color: var(--ink); }
+
+/* ---------- buttons ---------- */
+
+.cta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
+.btn {
+ display: inline-flex;
+ align-items: center;
+ gap: 0.45rem;
+ padding: 0.55rem 1rem;
+ border-radius: var(--radius-md);
+ border: 1px solid var(--line-strong);
+ background: var(--bg-elevated);
+ color: var(--ink);
+ font-family: var(--mono);
+ font-size: 0.875rem;
+ font-weight: 500;
+ letter-spacing: -0.02em;
+ text-decoration: none;
+}
+.btn:hover { border-color: var(--muted-2); }
+.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
+.btn-primary:hover { opacity: 0.9; }
+
+/* ---------- hero ---------- */
+
+.hero { padding: 4.5rem 0 4rem; border-bottom: 1px solid var(--line); }
+.hero-grid {
+ display: grid;
+ grid-template-columns: minmax(0, 1fr) auto;
+ gap: 4rem;
+ align-items: center;
+}
+.display {
+ font-family: var(--mono);
+ font-weight: 700;
+ letter-spacing: -0.045em;
+ line-height: 1.05;
+ font-size: clamp(2.3rem, 5vw, 3.6rem);
+ margin: 0 0 1.4rem;
+}
+.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 34rem; margin: 0; }
+.hero-note { color: var(--muted); font-size: 0.9rem; margin: 1.1rem 0 0; max-width: 34rem; }
+
+/* The console, filmed: portrait phone video in a plain frame. */
+.demo { margin: 0; width: min(340px, 80vw); }
+.demo video {
+ display: block;
+ width: 100%;
+ aspect-ratio: 9 / 16;
+ border-radius: var(--radius-lg);
+ border: 1px solid var(--line-strong);
+ background: #000;
+ cursor: pointer;
+}
+.demo figcaption { color: var(--muted); font-size: 0.82rem; margin-top: 0.7rem; }
+
+/* ---------- sections ---------- */
+
+section { padding: 3.5rem 0; }
+section + section { border-top: 1px solid var(--line); }
+h2 {
+ font-family: var(--mono);
+ font-weight: 700;
+ letter-spacing: -0.035em;
+ font-size: 1.35rem;
+ margin: 0 0 1.25rem;
+}
+h3 {
+ font-family: var(--mono);
+ font-weight: 700;
+ letter-spacing: -0.03em;
+ font-size: 1rem;
+ margin: 0 0 0.4rem;
+}
+p { margin: 0 0 1rem; max-width: var(--measure); color: var(--ink-soft); }
+strong { color: var(--ink); }
+code {
+ font-family: var(--mono);
+ font-size: 0.875em;
+ background: var(--bg-elevated);
+ border: 1px solid var(--line);
+ border-radius: var(--radius-sm);
+ padding: 0.1em 0.35em;
+ color: var(--ink);
+}
+
+.panel {
+ background: var(--panel);
+ border: 1px solid var(--line);
+ border-radius: var(--radius-lg);
+ padding: 1.1rem 1.25rem;
+ font-family: var(--mono);
+ font-size: 0.85rem;
+ line-height: 1.75;
+ color: var(--term-text);
+ overflow-x: auto;
+ max-width: var(--measure);
+ margin: 0 0 1.5rem;
+}
+.panel .dim { color: var(--term-dim); }
+.panel .you { color: var(--accent); }
+
+/* The boot chain: what runs, in order, on the console. */
+.chain { list-style: none; padding: 0; margin: 0; }
+.chain li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 0 1rem; }
+.chain li + li { margin-top: 0.35rem; }
+.chain b { color: var(--accent); font-weight: 600; }
+
+.grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
+ gap: 1.5rem 2rem;
+}
+.stat .value {
+ font-family: var(--mono);
+ font-weight: 700;
+ letter-spacing: -0.03em;
+ font-size: 1.15rem;
+ color: var(--ink);
+ margin: 0 0 0.3rem;
+}
+.stat p { color: var(--muted); margin: 0; font-size: 0.94rem; }
+
+ul { padding-left: 1.15rem; max-width: var(--measure); color: var(--ink-soft); }
+li { margin: 0.4rem 0; }
+
+.roadmap { list-style: none; padding: 0; max-width: var(--measure); margin: 0; }
+.roadmap li {
+ display: grid;
+ grid-template-columns: 4rem 1fr;
+ gap: 0 1rem;
+ padding: 0.7rem 0;
+ border-bottom: 1px solid var(--line);
+ margin: 0;
+}
+.roadmap .state { font-family: var(--mono); font-size: 0.85rem; color: var(--muted); }
+.roadmap .state.done { color: var(--done); }
+
+.faq h3 { margin-top: 1.6rem; }
+.faq h3:first-of-type { margin-top: 0; }
+
+/* ---------- footer ---------- */
+
+.site-footer { border-top: 1px solid var(--line); padding: 2rem 0 3rem; color: var(--muted); font-size: 0.9rem; }
+.site-footer a { color: var(--muted); }
+.site-footer a:hover { color: var(--ink); }
+.site-footer p { color: var(--muted); max-width: none; }
+.foot-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-bottom: 0.8rem; }
+
+@media (max-width: 860px) {
+ .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
+ .demo { justify-self: center; }
+}
+@media (max-width: 620px) {
+ .nav-links { display: none; }
+ .hero { padding: 3rem 0 2.5rem; }
+ .chain li { grid-template-columns: 1fr; }
+ .chain li + li { margin-top: 0.7rem; }
+ .roadmap li { grid-template-columns: 1fr; }
+}
+
+.lessons { margin-top: 2.5rem; }
diff --git a/site/index.html b/site/index.html
new file mode 100644
index 0000000..d237780
--- /dev/null
+++ b/site/index.html
@@ -0,0 +1,177 @@
+<!doctype html>
+<html lang="en">
+<head>
+<meta charset="utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1">
+<title>PS5LM: llama.cpp on a PlayStation 5</title>
+<meta name="description" content="PS5LM ports llama.cpp to the PlayStation 5. Open language models run on the console's own CPU, and you chat with them in the PS5's browser.">
+<meta name="theme-color" content="#0e0e14">
+<link rel="canonical" href="https://ps5lm.cobanov.dev/">
+<link rel="preload" as="font" type="font/woff2" href="/assets/fonts/recursive-sans-v1.woff2" crossorigin>
+<link rel="preload" as="font" type="font/woff2" href="/assets/fonts/recursive-mono-v1.woff2" crossorigin>
+<link rel="stylesheet" href="/assets/style.css?v=1">
+<meta property="og:type" content="website">
+<meta property="og:url" content="https://ps5lm.cobanov.dev/">
+<meta property="og:title" content="PS5LM: llama.cpp on a PlayStation 5">
+<meta property="og:description" content="Open language models running on the PS5's own CPU, with a chat page in the console's browser. Open source, GPL-3.0.">
+<meta property="og:image" content="https://ps5lm.cobanov.dev/media/og.jpg">
+<meta property="og:image:width" content="1200">
+<meta property="og:image:height" content="630">
+<meta name="twitter:card" content="summary_large_image">
+</head>
+<body>
+<header class="site-header">
+ <div class="wrap nav">
+ <a class="brand" href="/">ps5lm</a>
+ <span class="nav-spacer"></span>
+ <nav class="nav-links" aria-label="Primary">
+ <a href="#how">How it works</a>
+ <a href="#numbers">Numbers</a>
+ <a href="#roadmap">Roadmap</a>
+ <a href="#try">Try it</a>
+ <a href="#faq">FAQ</a>
+ </nav>
+ <a class="btn" href="https://github.com/cobanov/PS5LM">GitHub</a>
+ </div>
+</header>
+
+<main>
+ <section class="hero">
+ <div class="wrap hero-grid">
+ <div>
+ <h1 class="display">llama.cpp, running on a PlayStation 5.</h1>
+ <p class="lede">PS5LM runs open language models on the console's own CPU. You chat with them in the PS5's browser, typing with the DualSense.</p>
+ <div class="cta">
+ <a class="btn btn-primary" href="https://github.com/cobanov/PS5LM">Source on GitHub</a>
+ <a class="btn" href="#how">How it works</a>
+ </div>
+ <p class="hero-note">Open source under GPL-3.0. Runs on a PS5 you own, on firmware 13.60 or lower.</p>
+ </div>
+ <figure class="demo">
+ <video id="demo" src="/media/ps5lm-demo.mp4" poster="/media/poster.jpg" muted loop playsinline preload="metadata"
+ aria-label="A PS5 on a TV: someone types with a DualSense in the PS5 browser, and Qwen3.5 answers, including a haiku about the PS5."></video>
+ <figcaption>Qwen3.5 0.8B on a PS5 Slim, answering at 21 tokens a second.</figcaption>
+ </figure>
+ </div>
+ </section>
+
+ <section id="how">
+ <div class="wrap">
+ <h2>How it works</h2>
+ <p>Nothing here is emulated. The PS5 has an 8-core AMD Zen 2 CPU and runs a FreeBSD-based system, so llama.cpp builds for it almost unchanged: three build flags, one small library shim and one patch. This is what runs on the console, in order:</p>
+ <div class="panel">
+ <ol class="chain">
+ <li><b>relapse</b><span>the browser exploit opens the console (firmware 7.00 to 13.60)</span></li>
+ <li><b>loader</b><span>a payload loader accepts homebrew programs</span></li>
+ <li><b>llama-server</b><span>upstream llama.cpp, built with the open ps5-payload-dev SDK</span></li>
+ <li><b>model</b><span>a GGUF file from Hugging Face, read into memory</span></li>
+ <li><b>browser</b><span>the PS5's own browser opens the chat page the console serves</span></li>
+ </ol>
+ </div>
+ <p>A phone or laptop on the same network can open the same chat page, and the server speaks the OpenAI API, so other apps can use the PS5 as a small model server.</p>
+ </div>
+ </section>
+
+ <section id="numbers">
+ <div class="wrap">
+ <h2>Measured on the console</h2>
+ <div class="grid">
+ <div class="stat">
+ <p class="value">13 to 22 tok/s</p>
+ <p>Qwen3.5 0.8B generating text, with the prompt read at 38 to 67 tokens a second.</p>
+ </div>
+ <div class="stat">
+ <p class="value">5 of 16 cores</p>
+ <p>The CPU threads a homebrew program may use. System services share them too.</p>
+ </div>
+ <div class="stat">
+ <p class="value">about 6 GB</p>
+ <p>The memory one homebrew program can hold, from the pool the home screen also uses.</p>
+ </div>
+ <div class="stat">
+ <p class="value">4 seconds</p>
+ <p>To load a 0.5 GB model from the console's SSD.</p>
+ </div>
+ </div>
+ <h3 class="lessons">What the console taught us</h3>
+ <ul>
+ <li>llama.cpp starts one busy-waiting thread per core. On a PS5 that takes every core homebrew gets, and the console shuts itself down. The PS5 build leaves two cores free.</li>
+ <li>llama.cpp's own web interface renders blank in the PS5 browser, so PS5LM ships a plain chat page.</li>
+ <li>A model mapped from disk gets paged out once the browser opens; reading it into memory keeps generation fast.</li>
+ </ul>
+ <p>The full notes are in <a href="https://github.com/cobanov/PS5LM/blob/main/docs/CONSOLE.md">docs/CONSOLE.md</a>.</p>
+ </div>
+ </section>
+
+ <section id="roadmap">
+ <div class="wrap">
+ <h2>Roadmap</h2>
+ <ul class="roadmap">
+ <li><span class="state done">done</span><span>llama.cpp builds for the PS5 and runs small models on its CPU</span></li>
+ <li><span class="state done">done</span><span>Chat in the PS5's own browser, with the DualSense and the on-screen keyboard</span></li>
+ <li><span class="state">next</span><span>The PS5LM app: one payload from Payload Manager. Pick a model that fits, download it from Hugging Face on the console, chat.</span></li>
+ <li><span class="state">later</span><span>Bigger models, Qwen 3.8 27B first, in a native app that gets more memory than a payload</span></li>
+ <li><span class="state">later</span><span>The GPU, through llama.cpp's Vulkan backend on a community Vulkan driver for the PS5</span></li>
+ </ul>
+ </div>
+ </section>
+
+ <section id="try">
+ <div class="wrap">
+ <h2>Try it</h2>
+ <p>Today this is a developer setup: you build on a Mac or Linux machine and start the server on the console from there. The one-step app is next.</p>
+ <pre class="panel"><span class="dim"># on your computer</span>
+git clone --recursive https://github.com/cobanov/PS5LM
+cd PS5LM
+scripts/setup-sdk.sh &amp;&amp; source scripts/env.sh
+scripts/build-llama.sh
+
+<span class="dim"># console jailbroken, ftpsrv and shsrv running, a model in /data/PS5LM/models</span>
+PS5_HOST=192.168.1.50 scripts/ps5-chat.sh model.gguf</pre>
+ <p>The <a href="https://github.com/cobanov/PS5LM#readme">README</a> has the details, and <a href="https://github.com/cobanov/PS5LM/blob/main/docs/MODELS.md">docs/MODELS.md</a> lists models that fit.</p>
+ </div>
+ </section>
+
+ <section id="faq" class="faq">
+ <div class="wrap">
+ <h2>Questions</h2>
+ <h3>Does this run games or need any Sony code?</h3>
+ <p>No. PS5LM runs open-weight language models and nothing else. No games, keys, firmware or Sony files are part of it.</p>
+ <h3>Why the CPU and not the GPU?</h3>
+ <p>The CPU path needs nothing but the open payload SDK, so it came first. The GPU is the next big step, through a community Vulkan driver for the PS5.</p>
+ <h3>How big a model can it run?</h3>
+ <p>A homebrew payload can hold about 6 GB including the context. Models up to 3B parameters have run so far, and 4-bit models up to about 8B should fit. Bigger ones need a native app, which is on the roadmap.</p>
+ <h3>Can it break my console?</h3>
+ <p>It does not write to system files. Pushing the CPU or memory too hard can freeze the console until you hold the power button; the defaults are set to avoid that.</p>
+ </div>
+ </section>
+</main>
+
+<footer class="site-footer">
+ <div class="wrap">
+ <div class="foot-row">
+ <span>ps5lm, by <a href="https://cobanov.dev">Mert Cobanov</a></span>
+ <a href="https://github.com/cobanov/PS5LM">GitHub</a>
+ <a href="https://github.com/ggml-org/llama.cpp">llama.cpp</a>
+ <a href="https://github.com/ps5-payload-dev">ps5-payload-dev</a>
+ </div>
+ <p>PS5LM is not affiliated with Sony Interactive Entertainment. PlayStation and PS5 are its trademarks.</p>
+ </div>
+</footer>
+
+<script>
+ (function () {
+ var video = document.getElementById('demo');
+ var still = window.matchMedia && window.matchMedia('(prefers-reduced-motion: reduce)').matches;
+ if (still) {
+ video.setAttribute('controls', '');
+ return;
+ }
+ video.autoplay = true;
+ var p = video.play();
+ if (p && p.catch) p.catch(function () { video.setAttribute('controls', ''); });
+ video.addEventListener('click', function () { if (video.paused) video.play(); else video.pause(); });
+ })();
+</script>
+</body>
+</html>
diff --git a/site/media/og.jpg b/site/media/og.jpg
new file mode 100644
index 0000000..90d6103
Binary files /dev/null and b/site/media/og.jpg differ
diff --git a/site/media/poster.jpg b/site/media/poster.jpg
new file mode 100644
index 0000000..bd4f828
Binary files /dev/null and b/site/media/poster.jpg differ
diff --git a/site/media/ps5lm-demo.mp4 b/site/media/ps5lm-demo.mp4
new file mode 100644
index 0000000..1aa0568
Binary files /dev/null and b/site/media/ps5lm-demo.mp4 differ