llm-d/llm-d

Achieve state of the art inference performance with modern accelerators on Kubernetes

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 16 minutes ago
Added to GitGenius on September 12th, 2025
Created on April 29th, 2025
Open Issues & Pull Requests: 239 (-1)
GitHub issues: Enabled
Number of forks: 753
Total Stargazers: 4,454 (+0)
Total Subscribers: 63 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 36.2 hours
Mean response time: 24.3 days
90th percentile: 99.6 days
Tracked items: 508

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 65% of open issues come from outside the core team, a mix of external reports and the maintainers' own roadmap. Work labelled "bug" is answered fastest, typically in under an hour, while "upstream-breaking-change" waits about 4 months. Almost all tracked open issues have seen activity in the last three months. Only 6% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 127
New in 7 days: 9
Closed in 7 days: 7
Avg open age: 37 days
Stale 30+ days: 70
Stale 90+ days: 5

Recent activity

Opened in 7 days: 8
Closed in 7 days: 2
Comments in 7 days: 10
Events in 7 days: 46

Top labels

  • enhancement (76)
  • bug (60)
  • lifecycle/rotten (47)
  • documentation (32)
  • CI/CD (31)
  • help wanted (28)
  • release/v0.9 (27)
  • release/v0.8 (26)

Detailed Description

llm-d is an open-source project aiming to build a decentralized, collaborative, and censorship-resistant Large Language Model (LLM) ecosystem. It fundamentally differs from centralized LLM offerings like those from OpenAI or Google by distributing the model's weights, training data, and inference across a network of participants, rather than relying on a single entity. The core idea is to leverage a peer-to-peer (P2P) network, specifically utilizing the IPFS (InterPlanetary File System) and libp2p libraries, to achieve this decentralization.

The project is structured around several key components. Firstly, it defines a standardized data format called "LLM Data Format" (LLMDF) for training data. This format is designed to be efficient for storage and retrieval on IPFS, and facilitates the sharing and combination of datasets from various contributors. Secondly, it provides tools for splitting a large LLM into smaller "shards" or "chunks" that can be independently stored and served by different nodes in the network. These shards aren't just random divisions; the project explores techniques for intelligent sharding that minimizes performance impact. Thirdly, a crucial component is the inference engine, which is responsible for querying the network for the necessary shards, assembling them, and performing the LLM computation. This engine is designed to handle the complexities of a distributed system, including shard availability, network latency, and potential failures.

Currently, llm-d focuses heavily on the infrastructure and tooling needed to *enable* a decentralized LLM, rather than providing a fully trained, state-of-the-art model itself. The repository contains code for shard management, data indexing on IPFS, and a basic inference client. It supports various LLM architectures, including Llama 2, and provides scripts for converting models into the sharded format. A significant aspect is the emphasis on verifiable computation; the project aims to incorporate techniques to ensure the integrity of the inference process, preventing malicious nodes from returning incorrect results. This is a challenging area, and ongoing research is focused on practical solutions.

The project's architecture is modular, allowing for different implementations of key components. For example, different inference engines or data indexing strategies can be plugged in. It also includes a CLI (Command Line Interface) for interacting with the network, allowing users to upload data, request inference, and manage shards. The development is actively ongoing, with a roadmap focusing on improving the inference performance, enhancing the security and verifiability of the system, and expanding the support for different LLM architectures and data formats.

Ultimately, llm-d envisions a future where LLMs are not controlled by a few powerful companies, but are instead a public utility accessible to everyone. By distributing the model and its data, the project aims to reduce the risk of censorship, promote innovation, and empower users with greater control over their AI interactions. While still in its early stages, llm-d represents a significant step towards realizing this vision of a truly decentralized and open LLM ecosystem.