github.devotd.
NewInference & serving

b4rtaz/distributed-llama v0.16.5 — A distributed inference engine that pools home devices

b4rtaz/distributed-llama is a C++ engine that ties home PCs and Raspberry Pi together over Ethernet to run LLM inference in a distributed fashion using tensor parallelism; the latest release on GitHub is v0.16.5.

Repositoryb4rtaz/distributed-llama ↗

b4rtaz/distributed-llama is a C++ engine that ties home PCs and Raspberry Pi together over Ethernet to run LLM inference in a distributed fashion using tensor parallelism; the latest release on GitHub is v0.16.5.

GitHub description: Distributed LLM inference. Connect home devices into a powerful cluster to accelerate LLM inference. More devices means faster inference.

stars
★ 3.1K
Forks
261
Language
C++
License
MIT
Latest release
v0.16.5
Read original source ↗View on GitHub ↗

b4rtaz/distributed-llama is a C++ engine that bundles personal devices such as home PCs and Raspberry Pi into a single cluster and runs one LLM split across it for inference. The latest release published on GitHub is v0.16.5. Tensor parallelism is an approach in which a single model is split across several devices, each handling part of the computation, and this project applies that approach across devices connected by Ethernet.

It is written in C++ and licensed under MIT. The repository description states that inference becomes faster the more devices you connect. It supports Linux, macOS and Windows, and is optimized for ARM and x86_64 AVX2 CPUs. It takes advantage of high-speed synchronization over Ethernet, and because a single root node coordinates multiple worker nodes, it handles not only distributed inference but also CLI chat and running an API server. The repository was created on December 4, 2023 and has 3112 stars.

However, the provided record does not list what changed in v0.16.5. There are no figures showing how throughput varies with device count, or how sensitive tensor parallelism is to Ethernet communication latency, and no validation data beyond the description in the README. It is difficult to judge from this information alone how much of a benefit you actually get when tying together a few personal devices.