Let's Build Pipeline Parallelism from Scratch - Tutorial
via freeCodeCamp
Learn AI, Data Science & Business — Earn Certificates That Get You Hired
AI Engineer - Learn how to integrate AI into software applications
Overview
Syllabus
- Introduction, Repository Setup & Syllabus
- Step 0: The Monolith Baseline
- Step 1: Manual Model Partitioning
- Step 2: Distributed Communication Primitives
- Step 3: Distributed Ping Pong Lab
- Step 4: Building the Sharded Model
- Step 5: The Main Training Orchestrator
- Step 6a: Naive Pipeline Parallelism
- Step 6b: GPipe & Micro-batching
- Step 6c: 1F1B Theory & Spreadsheet Derivation
- Step 6c: Implementing 1F1B & Async Sends
Taught by
freeCodeCamp.org