Skip to content

Repository files navigation

CrowdLlama

CI

CrowdLlama

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.

Features

  • DHT-based peer discovery
  • Worker nodes advertise their GPU capabilities and supported models
  • Simple metadata protocol for querying worker information

Components

  • 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.

Getting Started

  1. Clone the repository:
    git clone https://github.com/crowdllama/crowdllama.git
    cd crowdllama
  2. Build the components:
    go build ./cmd/dht
    go build ./cmd/worker
  3. Run the DHT server:
    ./dht
  4. Start a worker node:
    ./worker start

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

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

Topics

Resources

Stars

30 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages