CrowdLlama is a distributed system that leverages the open-source Ollama project to run LLM inference tasks across multiple nodes using peer-to-peer (P2P) networking, enabling collaborative large language model inference workloads.
- DHT-based peer discovery
- Worker nodes advertise their GPU capabilities and supported models
- Simple metadata protocol for querying worker information
- DHT Server: Runs a custom DHT node to facilitate peer discovery.
- Worker: Registers itself on the DHT and advertises its GPU resources and supported models.
- Consumer: (Planned) Will discover and utilize available workers for distributed tasks.
- Clone the repository:
git clone https://github.com/crowdllama/crowdllama.git cd crowdllama - Build the components:
go build ./cmd/dht go build ./cmd/worker
- Run the DHT server:
./dht
- Start a worker node:
./worker start
This project is licensed under the MIT License. See the LICENSE file for details.
