Petals is a project that allows individuals to run and fine-tune very large language models (LLMs) on consumer-grade hardware, such as a single GPU or Google Colab. It achieves this by adopting a distributed approach, similar to BitTorrent, where users load a portion of a model and connect to a network of others serving the remaining parts.
The platform supports a range of large models, including Llama 3.1 (up to 405B parameters), Mixtral (8x22B), Falcon (40B+), and BLOOM (176B). For single-batch inference, Petals delivers speeds of up to 6 tokens per second for Llama 2 (70B) and up to 4 tokens per second for Falcon (180B), which is sufficient for chatbots and interactive applications.
Beyond standard LLM APIs, Petals provides users with greater control over model interaction. It enables the use of any fine-tuning and sampling methods, execution of custom paths through the model, and observation of hidden states. This offers the convenience of an API combined with the flexibility typically associated with PyTorch and Hugging Face Transformers.
Petals originated as a component of the BigScience research workshop, indicating its foundation in collaborative AI research efforts.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
Petals allows users to run and fine-tune large language models, including Llama 3.1 (405B) and Mixtral (8x22B), on consumer-grade GPUs or Google Colab. This is achieved by distributing model parts across a network, enabling accessibility for interactive applications and custom research beyond traditional LLM APIs.