MITB Banner

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.

Share

Listen to this story

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.

BigScience Workshop released Petals, which allows users to run language models with more than 100 billion parameters at home by loading a small part of the model on your machine, and then collaborating with other people to run other parts of inference and fine-tuning. 

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

Share
Picture of Mohit Pandey

Mohit Pandey

Mohit dives deep into the AI world to bring out information in simple, explainable, and sometimes funny words. He also holds a keen interest in photography, filmmaking, and the gaming industry.
Related Posts

CORPORATE TRAINING PROGRAMS ON GENERATIVE AI

Generative AI Skilling for Enterprises

Our customized corporate training program on Generative AI provides a unique opportunity to empower, retain, and advance your talent.

Upcoming Large format Conference

May 30 and 31, 2024 | 📍 Bangalore, India

Download the easiest way to
stay informed

Subscribe to The Belamy: Our Weekly Newsletter

Biggest AI stories, delivered to your inbox every week.

AI Courses & Careers

Become a Certified Generative AI Engineer

AI Forum for India

Our Discord Community for AI Ecosystem, In collaboration with NVIDIA. 

Flagship Events

Rising 2024 | DE&I in Tech Summit

April 4 and 5, 2024 | 📍 Hilton Convention Center, Manyata Tech Park, Bangalore

MachineCon GCC Summit 2024

June 28 2024 | 📍Bangalore, India

MachineCon USA 2024

26 July 2024 | 583 Park Avenue, New York

Cypher India 2024

September 25-27, 2024 | 📍Bangalore, India

Cypher USA 2024

Nov 21-22 2024 | 📍Santa Clara Convention Center, California, USA

Data Engineering Summit 2024

May 30 and 31, 2024 | 📍 Bangalore, India

Subscribe to Our Newsletter

The Belamy, our weekly Newsletter is a rage. Just enter your email below.