E-book details

Accelerate Model Training with PyTorch 2.X. Build more accurate models by boosting the model training process

Accelerate Model Training with PyTorch 2.X. Build more accurate models by boosting the model training process

Maicon Melo Alves, Lúcia Maria de Assumpçao Drummond

Ebook
This book, written by an HPC expert with over 25 years of experience, guides you through enhancing model training performance using PyTorch. Here you’ll learn how model complexity impacts training time and discover performance tuning levels to expedite the process, as well as utilize PyTorch features, specialized libraries, and efficient data pipelines to optimize training on CPUs and accelerators. You’ll also reduce model complexity, adopt mixed precision, and harness the power of multicore systems and multi-GPU environments for distributed training. By the end, you'll be equipped with techniques and strategies to speed up training and focus on building stunning models.
  • 1. Deconstructing the Training Process
  • 2. Training Models Faster
  • 3. Compiling the Model
  • 4. Using Specialized Libraries
  • 5. Building an Efficient Data Pipeline
  • 6. Simplifying the Model
  • 7. Adopting Mixed Precision
  • 8. Distributed Training at a Glance
  • 9. Training with Multiple CPUs
  • 10. Training with Multiple GPUs
  • 11. Training with Multiple Machines
  • Title: Accelerate Model Training with PyTorch 2.X. Build more accurate models by boosting the model training process
  • Author: Maicon Melo Alves, Lúcia Maria de Assumpçao Drummond
  • Original title: Accelerate Model Training with PyTorch 2.X. Build more accurate models by boosting the model training process
  • ISBN: 9781805121916, 9781805121916
  • Date of issue: 2024-04-30
  • Format: Ebook
  • Item ID: e_3vs9
  • Publisher: Packt Publishing