♻️ Auto Microbatching - Composer
Have you ever wanted to choose your batch size without having to stress about CUDA Out-of-Memory (OOM) errors? We sure have. That’s why we built Composer’s automatic microbatching feature. This tut...
Tip This tutorial is available as a Jupyter notebook . ♻️ Auto Microbatching # Have you ever wanted to choose your batch size without having to stress about CUDA Out-of-Memory (OOM) errors? We sure have. That’s why we built Composer’s automatic microbatching feature. This tutorial will demonstrate how to use automatic microbatching to avoid CUDA OOMs, regardless of your batch size choice, GPU type, and number of devices. Note that this demo requires a GPU to demonstrate automatic microbatching. Recommended Background # To follow this tutorial, you should be familiar with the basics of using th
Explore this link on the map →saved by
related reading
- ⏯️ Autoresume Training - Composerdocs.mosaicml.com
- 👨👩👧👦 Distributed Training - Composerdocs.mosaicml.com
- ⚡ Migrating from PTL - Composerdocs.mosaicml.com
- ⏱️ Performance Profiling - Composerdocs.mosaicml.com
- Mosaic ResNet Deep Dive | Databricks Blogmosaicml.com
- A Recipe for Training Neural Networkskarpathy.github.io
- Composer2.pdfcursor.com
- Making Deep Learning go Brrrr From First Principleshorace.io
- microgptkarpathy.github.io
- Transformer Math 101 | EleutherAI Blogblog.eleuther.ai
- The Little Book of Deep Learningfleuret.org
- Bug Fixes in LLM Training - Gradient Accumulationunsloth.ai