Shard:通过以太网池化 Mac 和 Windows PC 的计算与内存资源,利用 llama.cpp RPC 在本地运行更大的 GGUF 模型
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 在 GitHub 上发布了 shard,这是一组脚本,可通过以太网汇集 Mac 与 Windows PC 的算力和内存,在本地运行更大的 GGUF 模型。一台机器负责协调,其余作为工作节点运行,两种操作系统均可担任任一角色;shard 启动工作节点并把它们的地址交给 llama.cpp RPC,由其分配模型层并执行推理。各机器通过千兆交换机与 Cat6 网线连接并各有一个固定地址,均需运行 Python 3,模型文件存放在协调机上,代码以 MIT 许可证发布。
正在把原文翻译成中文,长文需要一两分钟;先显示原文。

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.
出处
- B 可靠Adafruit Blog · RSS阅读原文 ↗
Shard: pool compute and memory across Macs and Windows PCs over Ethernet to run bigger GGUF models locally with llama.cpp RPC