正在把原文翻译成中文,长文需要一两分钟;先显示原文。

Shard: pool compute and memory across Macs and Windows PCs over Ethernet to run bigger GGUF models locally with llama.cpp RPC

Maddie D. Reese has released shard on GitHub, a set of scripts that pool compute and memory across Macs and Windows PCs to run large language models locally. One machine coordinates the work and the others run as workers, and either operating system can take either role. shard starts the workers and hands their addresses to llama.cpp RPC. That places the model layers and runs the inference.

The machines connect through a gigabit switch with Cat6 cables, and each one has a fixed address. Python 3 runs on all of them, and the model file is stored on the coordinator. Workers receive the tensors assigned to them when the model loads.

The demonstration run answered 2 + 2. That took 11 minutes 51 seconds. The code is MIT licensed.

See more on GitHub and X.