Article complete

LLMs finally Bloom with Petals

This BitTorrent-style running of large language models (LLMs) allows many times faster inference when compared to offloading on single systems, closer to 1 second per token. Parallel inference can reach hundreds of tokens per second.

A floral background with the logo for "Petals" prominently displayed in the center.

Key takeaways

  • Petals enables users to collaboratively run large language models, overcoming memory constraints typically faced on individual systems.
  • This BitTorrent-style approach allows for significantly faster inference times compared to traditional offloading methods.
  • The project primarily supports CUDA-enabled PyTorch and is currently available only for Linux users.
  • Incentives like 'bloom points' encourage users to contribute GPU resources, addressing potential privacy concerns during collaboration.
  • While fine-tuning open-sourced LLMs is challenging, Petals aims to democratise access and foster innovation in the field.

Takeaways drafted with AI from the article text.

Even when large language models like BLOOM, PaLM, or GPT get open-sourced, fine-tuning and inferencing them on your system is a memory-heavy task. This might hinder developers from running these models on their systems and thus slow down innovation, leaving it in the hands of only big players.

Click here to check out the repository on GitHub.

This BitTorrent-style running of large language models allows many times faster inference when compared to offloading on single systems, closer to 1 second per token. Parallel inference can reach hundreds of tokens per second.

The script is built for CUDA-enabled PyTorch and uses Anaconda to install and is only available for Linux users for now.

Mentioned in the GitHub page, “Petals” is a metaphor for a single person serving different parts of the model, and hosting together the entire language model - BLOOM, which has 176 billion parameters.

Since the collaboration might be slow in the beginning because of privacy or security issues, the team has decided to give “bloom points” as an incentive system for people who donate their GPU time for people to fine tune it. 

Also read: ChatGPT and DALL-E on Discord

Published Updated

Spotted an error? Tell our editors. Read our editorial standards and corrections.

Selling to AI teams? Put your brand in front of the 5M+ people who read AIM every month. Plan a campaign

More in this story

language model · 5 stories
  1. You are here: LLMs finally Bloom with Petals
  2. Databricks Unveils Dolly 2.0, A Game-Changer in the Open-Source LLMs
  3. A New Language Model Trained on Dark Web Emerges
  4. Google Unveils Multimodal Chain of Thought Reasoning With PaLM-E
  5. Yann LeCun Loves Kannada Llama 
About the author

Journalist

Mohit writes about AI in simple, explainable, and often funny words. He's especially passionate about chatting with those building AI for Bharat, with the occasional detour into AGI.

All stories
Belamy · Daily

The day’s AI news, before your first meeting.