Deploying PyTorch Models in Production: PyTorch Playbook

Course Cover
compare button icon

Course Features

icon

Duration

133 minutes

icon

Delivery Method

Online

icon

Available on

Downloadable Courses

icon

Accessibility

Desktop, Laptop

icon

Language

English

icon

Subtitles

English

icon

Level

Advanced

icon

Teaching Type

Self Paced

icon

Video Content

133 minutes

Course Description

PyTorch has been a popular choice to build deep learning models due to its flexibility and ease-of-use. It also supports optimized hardware like GPUs. PyTorch allows you to build complex deep-learning models while still using Python's native support for visualization and debugging. This course, Deploying PyTorch Modells in Production: PyTorch Player, will teach you how to use advanced functionality to serialize and deserialize PyTorch models and train them before deploying them for prediction. You will first learn about how load_state_dict, torch.save(), and torch.load() work together and what the pros and cons are. The state_dict is a handy dictionary that contains information about parameters and hyperparameters. Next, you'll learn how to use it. You will then learn how PyTorch can use multiprocessing, distributed data-parallel and data-parallel methods for distributed training. A PyTorch model will be trained on a distributed cluster with high-level estimator APIs. You will also learn how to deploy PyTorch models on a Clipper cluster using Flask, Clipper, or a serverless environment. After completing this course, you will be able to deploy PyTorch models in distributed training environments and use advanced mechanisms for serialization and deserialization.

Course Overview

projects-img

International Faculty

projects-img

Post Course Interactions

projects-img

Instructor-Moderated Discussions

projects-img

Case Studies, Captstone Projects

Skills You Will Gain

What You Will Learn

Learning models owing to its flexibility, ease-of-use, and built-in support for optimized hardware such as GPUs

Using PyTorch, you can build complex deep learning models, while still using Python-native support for debugging and visualization

In this course, Deploying PyTorch Models in Production PyTorch Playbook you will gain the ability to leverage advanced functionality for serializing and deserializing PyTorch models, training, and then deploying them for prediction

First, you will learn how the load_state_dict and the torch

Save() and torch

Load() methods complement and differ from each other, and the relative pros and cons of each

Next, you will discover how to leverage the state_dict which is a handy dictionary with information about parameters as well as hyperparameters

Then, you will see how the multiprocessing, data-parallel, and distributed data-parallel approaches to distributed training can be used in PyTorch

You will train a PyTorch model on a distributed cluster using high-level estimator APIs

Finally, you will explore how to deploy PyTorch models using a Flask application, a Clipper cluster, and a serverless environment

When you’re finished with this course, you will have the skills and knowledge to perform distributed training and deployment of PyTorch models and utilize advanced mechanisms for model serialization and deserialization

Course Instructors

Author Image

Janani Ravi

Instructor

Janani has a Masters degree from Stanford and worked for 7+ years at Google. She was one of the original engineers on Google Docs and holds 4 patents for its real-time collaborative editing framework...
Course Cover