Skip to content

Latest commit

 

History

History
155 lines (117 loc) · 10.5 KB

README.md

File metadata and controls

155 lines (117 loc) · 10.5 KB

Puddle

Large AI models on your own PC
Laguna-S 2.1, Laguna-XS 2.1, Nemotron 3.5 Bolt, Nemotron 3.5 Super and Gemma 4 26B-A4B · free and open source

Puddle runs mixture-of-experts models that usually need a server on a normal PC: one or two graphics cards and the PC's RAM. They chat, write code and work with your apps and coding agents over an OpenAI- and Anthropic-compatible API on http://127.0.0.1:8080. Nothing leaves your PC.

Puddle is a fork of PolyStrata by VecSzn, which is built on Strata by Niko1221. It keeps PolyStrata's second engine, strata-poly, with its server, web app and installer, and adds poolside's Laguna and NVIDIA's Nemotron 3.5 Bolt and Super, whose Mamba-2 layers strata-poly runs with kernels of its own. Strata's Qwen3.8 engine and PolyStrata's other models are not part of Puddle.

The models

Model By Sizes setup offers Reads pictures
Laguna-S 2.1 poolside; quantized by Unsloth UD-Q3_K_XL (54 GB, the default), UD-Q4_K_XL (73 GB), poolside's own Q4_K_M (96 GB) no
Laguna-XS 2.1 poolside Q4_K_M (20 GB) no
Nemotron 3.5 Bolt 74B-A9B NVIDIA; and Unsloth NVIDIA's own 2-bit file (22 GB, the default), Unsloth's UD-Q5_K_XL (59 GB) yes
Nemotron 3.5 Super 120B-A12B NVIDIA; quantized by Unsloth UD-Q3_K_XL (66 GB) yes
Gemma 4 26B-A4B Google; quantized by Unsloth UD-Q3_K_M (13 GB, the default), UD-Q2_K_XL, UD-Q4_K_M, QAT-UD-Q4_K_XL yes

All five are experimental. poolside's Laguna-S Q4_K_M keeps 8 of its 47 expert layers in BF16, which run on the processor every token, and it has a 1M-token rope where Unsloth's files have 262K; it has not been run yet. Both Nemotrons run on strata-poly, pictures too, and Bolt fits one 16 GB card there. --family nemotron-bolt-llama runs Bolt's file on llama.cpp's llama-server instead, which setup compiles, as a second model beside it (opt-in). Super's MTP block guesses the next tokens ahead, which made its writing 19 to 26% faster on echo (docs/NEMOTRON.md).

Which models Puddle offers: open-weight models whose license puts no restriction on their use, OpenMDW first (both Lagunas and both Nemotrons are OpenMDW-1.1), with Apache 2.0 where a gap needs filling (Gemma 4, which reads pictures on cards too small for Bolt).

How fast is it?

A token is about ¾ of a word. Measured so far:

Laguna-S 2.1 UD-Q3_K_XL on two RTX 5060 Ti 16 GB (PCIe 3.0 x8 and x4), an i9-9900K and 128 GB of DDR4-3200, Linux, with the KV cache in q8_0 and prompt-lookup guesses off (2026-11-14):

Context 2K 32K 64K 128K 168K 196K
Writes, tokens/s 37.2 29.0 27.5 22.3 19.4 19.4
Reads the prompt, tokens/s 258-269 about 700 about 470 about 310 about 225 about 190

Against llama.cpp on the same file (six prompts, 64 steps each, llama.cpp choosing each token), strata-poly's first choice was the same at 95.3% of the 384 steps, and in every prompt the first difference was a near tie.

Nemotron 3.5 Bolt on the same two cards, through Puddle, the same requests to strata-poly and to llama-server (2026-11-21): strata-poly wrote 60.4 tokens/s after a 17,613-token prompt (llama-server 56.5) and read that prompt at 1,767 tokens/s (llama-server 2,348). Its first choice was llama.cpp's at 198 of 199 steps (four prompts, llama.cpp choosing each token; the one difference a near tie), and at 64 of 64 on a picture.

Nemotron 3.5 Super UD-Q3_K_XL on the same two cards, on strata-poly (2026-11-21): its first choice was llama.cpp's at all 177 steps of four prompts, a 2,109-token one among them. A first look at its speed, not a benchmark: with 6,647 of its 20,480 experts in VRAM it wrote 13.7 tokens/s (32 tokens after a short prompt, the expert cache held still, no guesses).

Gemma 4 26B-A4B UD-Q3_K_M, measured by PolyStrata: writes 92-93 tokens/s and reads a prompt at 2,240 on a laptop with an RTX 4070 Laptop (8 GB), a Core i7-14700HX and 32 GB of RAM; 353-356 and 8,420-8,480 on an RTX 5090.

Laguna-XS has not been measured here yet. ./bench.sh (BENCH.bat) measures your own PC and writes a report (how).

What you need

Model Graphics card RAM, by setup's estimate Disk
Laguna-S 2.1 NVIDIA RTX 20 series or newer; it has run on two 16 GB cards about 51 GB beside a 16 GB card (UD-Q3_K_XL) 54 to 96 GB
Laguna-XS 2.1 same about 17 GB beside a 16 GB card 20 GB
Nemotron 3.5 Bolt NVIDIA RTX 20 series or newer, 16 GB or more (on llama-server, opt-in: 30 GB of VRAM together); it has run on two 16 GB cards about 17 GB beside a 16 GB card, 10 beside two 22 GB, 24 with pictures
Nemotron 3.5 Super NVIDIA RTX 20 series or newer, 16 GB or more; it has run on two 16 GB cards about 47 GB beside two 16 GB cards, 62 beside one 66 GB
Gemma 4 26B-A4B NVIDIA RTX 20 series or newer, 8 GB or more about 15 to 21 GB beside an 8 GB card 11 to 17 GB

A larger card needs less RAM, and two or three cards can share a model (multi-GPU). Laguna and Nemotron 3.5 Super have run on Linux only so far; setup says so and asks before it installs them on Windows. Nemotron 3.5 Bolt keeps every layer on the cards and has run on Linux only; setup says Windows is untested, and offers it on no AMD card. AMD cards (Linux and Windows) and Pascal / Volta cards (with CUDA 12) are experimental: AMD, older cards. On a Mac (Apple Silicon), setup builds strata-poly's Metal engine; Laguna does not run on it yet, the Nemotrons are not offered there, and Gemma 4 has not been run there (docs/MAC.md).

Install

Let your AI set it up

Paste this into your AI coding assistant (Claude Code, Cursor, Codex, ...):

Set up Puddle on this PC for me: https://github.com/ErikOHiggins/Puddle - follow docs/AI_SETUP.md in that repository.

AI tools can also install, start and stop Puddle through its MCP server.

Or do it yourself

Download Puddle and unzip it, or git clone it. Windows: double-click START-HERE.bat. Linux and Mac: run ./setup.sh in the Puddle folder.

Setup checks your PC, then asks which model, which size, how much context and whether the model should read pictures. Press Enter for the recommended answer. Then it installs the Python packages, compiles strata-poly for your card (it installs the build tools first, and asks; the first compile takes 10 to 20 minutes), downloads the model and starts it. If the download stops, run it again: it continues where it stopped. Your browser opens the app at http://127.0.0.1:8080.

./setup.sh --family laguna-s (or laguna-xs, nemotron-bolt, nemotron-bolt-llama, nemotron-super, gemma4) goes straight to one model, and --model SIZE to one size. Every option: docs/INSTALL.md.

Next time, run START-HERE.bat (or ./setup.sh) again: it starts right away and downloads nothing twice. Close its window to stop the model. UPDATE.bat (./update.sh) updates Puddle without starting it.

Using it

  • In the browser: http://127.0.0.1:8080 has Chat, a live Monitor of the model and your GPU, CPU and RAM, and About with the settings and addresses.
  • Your apps and coding agents: an "OpenAI-compatible" provider with the base URL http://127.0.0.1:8080/v1. Apps that use Anthropic's API: http://127.0.0.1:8080/v1/messages (Claude Code: ANTHROPIC_BASE_URL=http://127.0.0.1:8080). The OpenAI Responses API (Codex CLI): /v1/responses. All of it: docs/API.md.
  • Thinking: off, low, medium or high, in the chat menu or your app's "reasoning effort".
  • Pictures (Nemotron 3.5 Bolt, Gemma 4): say yes to "Images?" in setup, then attach pictures in the chat or your app.
  • From your phone or another PC: ./setup.sh --setup --host 0.0.0.0 --api-key <secret>. Always set a key.

Something went wrong?

docs/TROUBLESHOOTING.md has the common problems and their fixes. Still stuck? Open an issue and attach strata-<model>.log from the Puddle folder. A security problem: SECURITY.md.

How it works

A mixture-of-experts model uses only a few of its experts for each token. strata-poly reads the model file in place: the layers every token needs and as many experts as fit go to the graphics card, and the rest stay in RAM (the system's file cache), where the processor computes them when a token needs them. The engine counts which experts are used and keeps the counts for its next start, when the most-used ones go to the card first. How the engine and its backends work: docs/BACKENDS.md. The Nemotrons' architecture (Mamba-2 layers beside attention and experts) is strata-poly's since phase 2, and both Nemotrons run on it; Bolt can run on llama-server instead, opt-in (docs/NEMOTRON.md).

Credits and license

Laguna-S 2.1 and Laguna-XS 2.1 are by poolside, under the OpenMDW-1.1 license; Laguna-S in Unsloth's quantization and poolside's own. Nemotron 3.5 Bolt is by NVIDIA, under the OpenMDW-1.1 license, in NVIDIA's own quantization; Nemotron 3.5 Super is by NVIDIA, under the OpenMDW-1.1 license, in Unsloth's quantization. Gemma 4 is by Google, under Apache 2.0, in Unsloth's quantization.

Puddle is built on PolyStrata by VecSzn and its contributors, which is built on Strata by Niko1221 and its contributors (how Strata's engine works: the Strata paper). It uses parts of llama.cpp / ggml, and can run Nemotron 3.5 Bolt on llama.cpp's llama-server. Puddle is open source under the MIT License; every model has its own license.