Pooling three laptop GPUs over Wi-Fi with llama.cpp RPC to fit an 8B Llama
- Hardware
- An ROG laptop with an RTX 3050 (4,096 MiB) as controller on Linux
Windows laptops with RTX 4050s (6,141 MiB)
For one run an M4 Mac on Metal - Models & engines
- llama.cpp binaries with RPC support on each machine, plus Go, Rust and Node
- Key gotcha
- Pooling machines aggregates memory, not compute: the single laptop ran about 21 times faster than the three-machine split
What they built
Dharshaneshwaran D owns a few modest laptops and no single big GPU. An RTX 3050 with 4 GB of VRAM can't hold an 8B model, but two or three laptops together can, so he built HyperPod as a hackathon prototype.
HyperPod finds laptops on the local network, measures their free GPU memory, splits a Llama model across them with llama.cpp RPC, and keeps the service alive when one of them disappears. llama.cpp does the actual layer offload through its ggml-rpc-server; HyperPod adds discovery, telemetry, scheduling, supervision and recovery around it.
The repo has a Go controller, a Rust worker agent that reads GPU, VRAM, temperature, power, RAM and battery data on Windows, Linux and macOS, and a Vite + React + TypeScript dashboard.
Setup
- An ROG laptop with an RTX 3050 (4,096 MiB) as controller on Linux
- Windows laptops with RTX 4050s (6,141 MiB)
- For one run an M4 Mac on Metal
- Everything talked over 5 GHz Wi-Fi
- llama.cpp binaries with RPC support on each machine, plus Go, Rust and Node
How it works
- Workers broadcast over UDP (port 50999) and register with the controller over HTTP, with heartbeats every 3 seconds
- The scheduler gives each device a weight equal to its measured free VRAM minus a 512 MiB reserve and passes those as --tensor-split weights
- If a device can't report free VRAM (as on the Apple Silicon Mac), it sends no custom weights and lets llama.cpp probe devices itself
- When a remote node dies, the controller sees llama-server exit, probes each RPC endpoint, excludes the unreachable one, launches a new generation on the survivors and returns the original request
Results & numbers
- Llama 3.2 3B Q4_K_M median decode: 75.61 tok/s on one machine, 11.79 tok/s on two, 3.62 tok/s on three
- Llama 3.1 8B Q4 (4.9 GB) ran across two laptops at 6.68 tok/s; it doesn't fit on the 3050 alone
- With a node killed mid-request, the pipeline was ready again on the survivors after 27 s and the request returned without the client resubmitting
- In the two-node case where the 3B fits on one GPU, the pipeline rebuilt on that laptop alone in about 3 seconds
Gotchas
- Pooling machines aggregates memory, not compute: the single laptop ran about 21 times faster than the three-machine split
- Rescheduling while the old process still held memory made the split drift between generations; the fix adds back what the outgoing model occupies
- A live heartbeat only says the laptop is up; one worker kept heartbeating with a dead RPC server, so the controller probes the RPC endpoint itself
- llama.cpp RPC and the controller APIs have no authentication or encryption, so it is for a trusted LAN only
- Five runs per configuration is a demo comparison, and the newer resume-partial-answer path has unit tests but no hardware failure log yet
“Pooling machines aggregates memory, not compute.”— Dharshaneshwaran D
Do it yourself
- Install llama.cpp binaries with RPC support on each machine
- Build the controller with Go, the worker with Rust (cargo build --release --locked) and the dashboard with npm
- Edit the launchers in launchers/ to your own machines' paths
- Keep every port off the internet and test on one LAN, comparing speed on one machine against the pooled setup
cd controller && go test ./... && go build -o hyperpod-controller .
cd ../worker && cargo build --release --locked
cd ../frontend && npm install && npm run buildSimilar setups
LM Studio vs Ollama on an RTX 5080: memory settings mattered more than the app
LK Wood IV ran LM Studio and Ollama on the same RTX 5080 with identical GGUF files and found the apps within 14% of each other, while one wrong offload or context setting cost up to 3.4x.
Running 80 GB MoE models on two 16 GB GPUs with llama.cpp 1.0
Gancho Stoychev measured five llama.cpp 1.0 settings one at a time on his homelab box with two RTX 5060 Ti 16 GB cards, running Qwen3.8-Flash-Next and DeepSeek V4 Flash, each about 80 GiB.
Switching two local GGUF models on a home server from Telegram
A personal assistant on a VPS uses a home server's RTX 3060 through llama.cpp, and its owner added a second local model and a Telegram /model switch, fixing OOM builds, GPU numbering and 64k context on the way.
BubbleFacts: source-checked song facts on stream from a local 3B model
An open-source desktop app for streaming musicians and DJs shows short facts about the song being played as OBS bubbles, written by Llama 3.2 3B on the streamer's own computer and screened against Wikipedia before anything is shown.