⚡ Migrating from PTL - Composer
PyTorch Lightning is a popular and well-designed framework for training deep neural networks. You can use Composer’s algorithms in your Pytorch Lightning code via the functional API with no additio...
Tip This tutorial is available as a Jupyter notebook . ⚡ Migrating from PTL # PyTorch Lightning is a popular and well-designed framework for training deep neural networks. You can use Composer’s algorithms in your Pytorch Lightning code via the functional API with no additional code changes. However, if you are interested in features like automatic gradient accumulation , a clean time abstraction , and the easiest path to trying out different combinations of algorithms, you will need to switch from the PTL trainer to the Composer trainer. The below is a quick guide on how to adapt your Lightni
saved by
related reading
- ⏯️ Autoresume Training - Composerdocs.mosaicml.com
- 👨👩👧👦 Distributed Training - Composerdocs.mosaicml.com
- ♻️ Auto Microbatching - Composerdocs.mosaicml.com
- ⏱️ Performance Profiling - Composerdocs.mosaicml.com
- 🥽 Analyzing Tracesdocs.mosaicml.com
- Mosaic ResNet Deep Dive | Databricks Blogmosaicml.com
- Efficiently Estimating Pareto Frontiers with Cyclic Learning Rate Schedules | Databricks Blogmosaicml.com
- Composer2.pdfcursor.com
- Trainer - PyTorch Lightning 2.6.1 documentationlightning.ai
- LightningModule - PyTorch Lightning 2.6.1 documentationlightning.ai
- PyTorch in One Hour: From Tensors to Training Neural Networks on Multiple GPUssebastianraschka.com
- The Little Book of Deep Learningfleuret.org