---
title: "petals vs transformers"
type: "comparison"
canonical_url: "https://www.graphcanon.com/compare/bigscience-workshop-petals-vs-huggingface-transformers"
tools: ["bigscience-workshop-petals", "huggingface-transformers"]
---

# petals vs transformers

Neutral, constraint-first comparison with live GitHub stats.

| | [petals](/tools/bigscience-workshop-petals.md) | [transformers](/tools/huggingface-transformers.md) |
| --- | --- | --- |
| Tagline | Run LLMs at home, BitTorrent-style | 🤗 Transformers: the model-definition framework for state-of-the-art machine learning models |
| Stars | 10,266 | 162,350 |
| Forks | 621 | 33,811 |
| Open issues | 112 | 2,457 |
| Language | Python | Python |
| License | MIT | Apache-2.0 |
| Categories | Inference & Serving, LLM Frameworks | Model Training, Data & Retrieval, LLM Frameworks |

**Typed relationship:** petals _(integrates with)_ transformers

---

**Machine-readable endpoints**

- JSON: [`/api/graphcanon/graph?tool=bigscience-workshop-petals`](/api/graphcanon/graph?tool=bigscience-workshop-petals)
- LLM index: [/llms.txt](/llms.txt)
- Full corpus: [/llms-full.txt](/llms-full.txt)

_GraphCanon - The knowledge graph for AI development. https://www.graphcanon.com/_
