Skip to content

By PromptFission2 min read

shard spreads a 253B model across a MacBook and four Windows PCs, and gets one token every 24 seconds

A set of scripts that pools laptops over an Ethernet switch using llama.cpp RPC. Its one benchmark took nearly 12 minutes to answer 2 + 2, and the write-up says so.


shard, by Maddie D. Reese, is a small set of scripts for pooling the memory of whatever Macs and Windows PCs you have on a wired network, so that together they can load a GGUF model none of them could hold alone. The headline experiment loads a 253-billion-parameter model on a 16 GB MacBook and a handful of ordinary Windows machines. It works, in the sense that it eventually says four.

How it works

shard does not do the inference. That job belongs to llama.cpp’s RPC mode, where one machine, the coordinator, holds the model file and runs llama-cli, and the others run a worker process that receives its share of the layers at load time. shard is the part around it: starting workers, passing their addresses along, and a kit for setting up Windows workers from a Mac over Wi-Fi or a USB stick.

The network is deliberately plain. The README asks for a gigabit switch, one cable per machine, and static addresses on an isolated subnet with no gateway. Isolation matters because llama.cpp RPC has no authentication. Every machine should run the same llama.cpp build.

The 253B run

The experiment notes use NVIDIA’s Llama 3.1 Nemotron Ultra 253B in Bartowski’s IQ1_S quantization, a 53.65 GB file. The coordinator was a 14-inch M3 MacBook Pro, which took 37 layers. Five Windows machines were connected as CPU workers. Four of them held 26.7 GiB of weights between them. One, with 5.9 GiB of RAM, was assigned no layers at all, and a sixth was dropped after repeated RPC failures.

Asked what 2 + 2 is, the cluster answered correctly 11 minutes and 51 seconds after launch. About 5 minutes 43 seconds of that was loading. Generation ran at 0.042 tokens per second, which the notes work out as about 24 seconds per token, with a 256-token context.

The more instructive figure is the control. Gemma 3 1B ran at 53.6 tokens per second on the Mac alone and 6.8 with the five workers attached. Pooling over gigabit Ethernet buys memory and charges for it in speed, even when the model would have fitted on one machine.

The notes list their own gaps: network traffic was not measured, the layer split can change with free memory, and the test was one short prompt. All numbers are the author’s.

Try it yourself

The repo is MIT licensed. You need Python 3 on each machine, RPC-enabled llama.cpp builds for each OS, a switch and cables, and enough disk on the coordinator for the model file.

We have not run it. This is based on the README and the experiment notes in the repo.