Accelerate Model Training with PyTorch 2.X
Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.
Accelerate Model Training with PyTorch 2.X
Included with
Learn more
Ask Coursera
Recommended experience
Recommended experience
What you'll learn
Optimize model training using PyTorch and performance tuning techniques.
Leverage specialized libraries to enhance CPU-based training.
Build efficient data pipelines to improve GPU utilization.
Skills you'll gain
Tools you'll learn
Details to know
January 2026
11 assignments
See how employees at top companies are mastering in-demand skills
There are 11 modules in this course
This course teaches you techniques to dramatically speed up model training using the latest features in PyTorch 2.X. Mastering these optimization strategies is essential for professionals building scalable, high-performance AI systems.
Youβll learn how to refine your training workflow, improve computation efficiency, and achieve faster, more reliable model iterations. Each module translates performance concepts into practical techniques you can immediately apply. The course blends deep technical foundations with real-world optimization workflows, ensuring you understand both why each method works and how to execute it effectively. Youβll practice using compiled models, mixed precision, distributed strategies, and more. This course is ideal for developers, data scientists, and ML engineers with basic PyTorch experience who want to train models faster and scale training across hardware configurations.
In this section, we explore the training process of neural networks, analyze factors contributing to computational burden, and evaluate elements influencing training time.
What's included
2 videos3 readings1 assignment
2 videosβ’Total 2 minutes
- Course Overviewβ’1 minute
- Deconstructing the Training Process - Overview Videoβ’1 minute
3 readingsβ’Total 50 minutes
- Introductionβ’10 minutes
- Loss Calculationβ’10 minutes
- Operationsβ’30 minutes
1 assignmentβ’Total 10 minutes
- Exploring Neural Network Training Fundamentalsβ’10 minutes
In this section, we explore techniques to accelerate model training by modifying the software stack and scaling resources. Key concepts include vertical and horizontal scaling, application and environment layer optimizations, and practical strategies for improving efficiency.
What's included
1 video3 readings1 assignment
1 videoβ’Total 1 minute
- Training Models Faster - Overview Videoβ’1 minute
3 readingsβ’Total 30 minutes
- Introductionβ’10 minutes
- Increasing Computing Resourcesβ’10 minutes
- What if We Change the Batch Size?β’10 minutes
1 assignmentβ’Total 10 minutes
- Optimizing Model Training Efficiencyβ’10 minutes
In this section, we explore the PyTorch 2.0 Compile API to accelerate deep learning model training, focusing on graph mode benefits, API usage, and workflow components for performance optimization.
What's included
1 video3 readings1 assignment
1 videoβ’Total 1 minute
- Compiling the Model - Overview Videoβ’1 minute
3 readingsβ’Total 30 minutes
- Introductionβ’10 minutes
- Using the Compile APIβ’10 minutes
- Give Me a Real Fight Training a Heavier Modelβ’10 minutes
1 assignmentβ’Total 10 minutes
- Execution Modes and Model Compilation in PyTorchβ’10 minutes
In this section, we explore using OpenMP for multithreading and IPEX to optimize PyTorch on Intel CPUs, enhancing performance through specialized libraries.
What's included
1 video3 readings1 assignment
1 videoβ’Total 1 minute
- Using Specialized Libraries - Overview Videoβ’1 minute
3 readingsβ’Total 30 minutes
- Introductionβ’10 minutes
- Using and Configuring OpenMPβ’10 minutes
- Using and Configuring Intel OpenMPβ’10 minutes
1 assignmentβ’Total 10 minutes
- Exploring Parallelism and Library Optimizationβ’10 minutes
In this section, we explore building efficient data pipelines to prevent training bottlenecks. Key concepts include configuring workers, optimizing GPU memory transfer, and ensuring continuous data flow for ML model training.
What's included
1 video2 readings1 assignment
1 videoβ’Total 1 minute
- Building an Efficient Data Pipeline - Overview Videoβ’1 minute
2 readingsβ’Total 20 minutes
- Introductionβ’10 minutes
- Accelerating Data Loadingβ’10 minutes
1 assignmentβ’Total 10 minutes
- Optimizing Data Pipeline Performanceβ’10 minutes
In this section, we explore model simplification through pruning and compression techniques to improve efficiency without sacrificing performance, using the Microsoft NNI toolkit for practical implementation.
What's included
1 video3 readings1 assignment
1 videoβ’Total 1 minute
- Simplifying the Model - Overview Videoβ’1 minute
3 readingsβ’Total 30 minutes
- Introductionβ’10 minutes
- The Pruning Phaseβ’10 minutes
- Using Microsoft NNI to Simplify a Modelβ’10 minutes
1 assignmentβ’Total 10 minutes
- Model Optimization Fundamentalsβ’10 minutes
In this section, we explore mixed precision strategies to optimize model training efficiency by reducing computational and memory demands without sacrificing accuracy, focusing on PyTorch implementation and hardware utilization.
What's included
1 video3 readings1 assignment
1 videoβ’Total 1 minute
- Adopting Mixed Precision - Overview Videoβ’1 minute
3 readingsβ’Total 30 minutes
- Introductionβ’10 minutes
- TF32β’10 minutes
- How About Tensor Coresβ’10 minutes
1 assignmentβ’Total 10 minutes
- Mixed Precision in Deep Learningβ’10 minutes
In this section, we explore distributed training principles, parallel strategies, and PyTorch implementation to enhance model training efficiency through resource distribution.
What's included
1 video4 readings1 assignment
1 videoβ’Total 1 minute
- Distributed Training at a Glance - Overview Videoβ’1 minute
4 readingsβ’Total 40 minutes
- Introductionβ’10 minutes
- Learning the Fundamentals of Parallelism Strategiesβ’10 minutes
- Data Parallelismβ’10 minutes
- Distributed Training on PyTorchβ’10 minutes
1 assignmentβ’Total 10 minutes
- Distributed Training Fundamentalsβ’10 minutes
In this section, we explore distributed training on multiple CPUs, focusing on benefits, implementation, and using Intel oneCCL for efficient communication in resource-constrained environments.
What's included
1 video3 readings1 assignment
1 videoβ’Total 1 minute
- Training with Multiple CPUs - Overview Videoβ’1 minute
3 readingsβ’Total 30 minutes
- Introductionβ’10 minutes
- Implementing Distributed Training on Multiple CPUsβ’10 minutes
- Launching Distributed Training on Multiple CPUsβ’10 minutes
1 assignmentβ’Total 10 minutes
- Multi-CPU Training in PyTorchβ’10 minutes
In this section, we explore multi-GPU training strategies, analyze interconnection topologies, and configure NCCL for efficient distributed deep learning operations.
What's included
1 video4 readings1 assignment
1 videoβ’Total 1 minute
- Training with Multiple GPUs - Overview Videoβ’1 minute
4 readingsβ’Total 40 minutes
- Introductionβ’10 minutes
- NVLinkβ’10 minutes
- Discovering the Interconnection Topologyβ’10 minutes
- Implementing Distributed Training on Multiple GPUsβ’10 minutes
1 assignmentβ’Total 10 minutes
- Multi-GPU Training Fundamentalsβ’10 minutes
In this section, we explore distributed training on computing clusters, focusing on Open MPI and NCCL for efficient communication and resource management across multiple machines.
What's included
1 video4 readings1 assignment
1 videoβ’Total 1 minute
- Training with Multiple Machines - Overview Videoβ’1 minute
4 readingsβ’Total 40 minutes
- Introductionβ’10 minutes
- Meeting the SLURM Workload Managerβ’10 minutes
- Implementing Distributed Training on Multiple Machinesβ’10 minutes
- Coding the Distributed Training for Multiple Machinesβ’10 minutes
1 assignmentβ’Total 10 minutes
- Distributed Computing Fundamentalsβ’10 minutes
Instructor
Offered by
Explore more from Machine Learning
- Status: Free Trial
Course
- Status: Free Trial
Course
- Status: Free TrialD
DeepLearning.AI
Course
- Status: Free Trial
Course
Why people choose Coursera for their career
Frequently asked questions
Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.
If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. Youβll be able to submit assignments once the session starts.
Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. Youβll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.
More questions
Financial aid available,
