petals logo

petals

bigscience-workshop/petals

Distributed LLM Inference and Fine-Tuning

GraphCanon updated Sep 20, 2026 · GitHub synced Sep 20, 2026

11k stars650 forksLast push Sep 7, 2024 Python MIT

Decision brief

Unverified catalog guidance: Petals is a Python-based framework that facilitates the distributed inference and fine-tuning of large language models, leveraging a BitTorrent-like network for faster processing.

Good fit when

  • Unverified catalog guidance: When you need to fine-tune or run large language models faster, up to 10 times quicker than traditional methods.
  • Unverified catalog guidance: If you are working with a distributed network and want to utilize volunteer computing to enhance model performance.

Avoid when

  • Unverified catalog guidance: If your project requires a centralized model management system, as Petals relies on a distributed network for its operations.
  • Unverified catalog guidance: When you need to avoid dependency on a peer-to-peer network for model layers, as Petals uses a BitTorrent-style approach which might not be suitable for all network environments.
Requirements:
Min 4 GB RAM; Python environment is required.; Ensure network connectivity for distributed operations.

Observed Sep 18, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Dormant (740d since push)
As of Sep 18, 2026
Provenance
Not a fork · Organization account
As of Sep 18, 2026
Security (OSV)
No lockfile
As of Sep 18, 2026

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

Package installation is not established from the available documentation. Check the source repository for setup instructions.

git clone https://github.com/bigscience-workshop/petals
Source repository

Relationship proposals(6)

Relationship types and rationales are stored proposals, not independently verified integrations, migration guidance or endorsements.

Relationship graph

Optional deeper exploration of typed edges and category neighbours.

Relationship types and rationales are stored proposals, not independently verified integrations, migration guidance or endorsements.

Similar tools

Same-category neighbours not already linked as typed edges.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

Petals enables running large language models using a distributed network, similar to BitTorrent, for faster fine-tuning and inference.

Capability facts

Docker
Docker configuration present

Source: dockerfile:Dockerfile · Sep 18, 2026

Languages
python

Source: github.language+pyproject.toml · Sep 18, 2026

Categories

Tags

README

Connect to a distributed network hosting model layers tokenizer = AutoTokenizer.from pretrained(model name) model = AutoDistributedModelForCausalLM.from pretrained(model name)

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.