Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

BigScience BLOOM - 3D Parallelism Explained - Large Language Models - ML Coding Series

Aleksa Gordić - The AI Epiphany via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This course walks through the BigScience BLOOM codebase to explain how 3D parallelism is implemented for large language models. It covers model, data, and pipeline parallelism, including sharded embeddings and transformer layers, communication, and distributed loss computation.

Syllabus

Intro - focusing on the 3D parallelism!
Quick setup
Stepping through the eval script
3D paralellism - model construction
Sharding the embedding table model parallelism
Sharding the transformer layer
LayerNorm fused kernels
Sharding the attention layer
ColumnParallel and RowParallel sharding
Synchronizing input and output embedding tables
Building the dataset data parallelism
3D parallelism - forward pass
Pipeline parallelism communication
Pass through the sharded embedding table
Pass through the sharded transformer layer
Sharded logit and cross-entropy computation
Recap
Outro

Taught by

Aleksa Gordić - The AI Epiphany

Reviews

Start your review of BigScience BLOOM - 3D Parallelism Explained - Large Language Models - ML Coding Series

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.