Jose Portilla

What’s new in PyTorch 1.1 and why should your team use it for your future AI applications? With the recent release of PyTorch 1.1, Facebook has added a variety of new features to the popular deep learning library. This includes support for TensorBoard, a suite of visualization tools that were created by Google originally for its deep learning library, TensorFlow. 

PyTorch 1.1 also comes with an improved JIT compiler, expanding PyTorch’s built-in capabilities for scripting. One of the biggest changes with this version 1.1 release is the ability to perform distributed training on multiple GPUs, which allows for extremely fast training on very large deep learning models.

In this blog, I’ll delve into what’s new with the latest PyTorch release, the exciting outcomes the tech world has seen from it in just three years, and why you and your team may want to use it in future AI applications. 

What is PyTorch and what is it used for?

PyTorch is a deep learning library built for Python by the Facebook AI Research team. It’s still relatively new, with the original released in October 2016 and version 1.1 debuting in spring 2019. PyTorch provides the ability to perform tensor computing, the fundamental base of deep learning. It also provides built-in automatic differentiation, which is how deep learning networks actually “learn” from data sets.

PyTorch uses a dynamic graph approach to computation, allowing users to have access to every level of computation. This helps developers understand their code better and see exactly what is happening at each step in the code. Since the computational graph is defined at runtime, this allows direct integration with Python’s built-in debugging tools.

Benefits of using PyTorch

1. Python-friendly. PyTorch was built directly with Python in mind, unlike other deep learning libraries that were ported over to Python. It provides a hybrid front end enabling you to seamlessly share the majority of code between the prototyping and research phase and move quickly to graph execution mode for production. 

2. Optimized for GPUs supported by AWS and Azure. PyTorch is also optimized to take advantage of GPUs for accelerated training times. The largest cloud service providers are also on board with this development, as Amazon Web Services currently supports the latest version of PyTorch, optimized for GPU and even includes it in its Deep Learning AMI (Amazon Machine Image). Microsoft also plans to support PyTorch in their Azure cloud offerings. It also has built-in declarative data parallelism, allowing you to leverage multiple GPUs on cloud providers. 

3. Rich ecosystem of tools and libraries. PyTorch also includes several tools and libraries, with a rich ecosystem of tools and libraries for extending PyTorch, this includes additions such as Torchvision, PyTorch’s built-in tools for working with complex image datasets. The PyTorch ecosystem includes projects, tools, models, and libraries from a broad community of researchers in academia and industry, application developers, and ML engineers. The goal of this ecosystem is to support developers and data scientists in the exploration and application of deep learning using PyTorch. 

While there are over a dozen tools available today, a notable one includes Flair, a library used for natural language processing tasks, such as named entity recognition and part-of-speech tagging. There is also Translate, Facebook’s own translation model which is used in the machine translations seen in your Facebook News Feed. 

Train your team in the latest deep learning and machine learning skills. Request a demo to discover which AI learning path is best for your business needs.

5 ways to use PyTorch for your AI applications

Using PyTorch for deep learning tasks allows you and your team to create predictive algorithms from data sets. For example, you could leverage historical real estate data to predict future housing prices or use a manufacturing plant’s historical production data to predict failure rates on new parts. Other common uses of PyTorch include:

Example of an image style transfer using PyTorch

Which companies use PyTorch?

According to market tracking by HG Insights, companies such as Apple, ADP, Pepsico, NVIDIA and Walmart are using PyTorch to create deep learning models for predictive analytics. Thanks to these major corporations’ adoption of the technology, the three major cloud providers—Amazon, Microsoft, and Google—now provide cloud computing instances that have PyTorch 1.1 preinstalled and ready to go right out of the box. 

There are incredible applications for PyTorch in deep learning and this is just the beginning! Imagine how you and your team may be able to apply this technology. Is it identifying counterfeit goods through image classification? Creating a new type of photo filter by adapting style transfer principles? Add PyTorch to your tech skills with my new course PyTorch for Deep Learning with Python Bootcamp.

Top courses in PyTorch

Deep Learning with PyTorch for Medical Image Analysis
Jose Portilla, Marcel Früh, Sergios Gatidis, Tobias Hepp, Pierian Training
4.5 (1,065)
PyTorch for Deep Learning Bootcamp
Andrei Neagoie, Daniel Bourke
4.6 (3,344)
PyTorch for Deep Learning with Python Bootcamp
Jose Portilla, Pierian Training
4.6 (4,827)
PyTorch: Deep Learning and Artificial Intelligence
Lazy Programmer Team, Lazy Programmer Inc.
4.8 (2,013)
Highest Rated
PyTorch for Deep Learning and Computer Vision
Rayan Slim, Jad Slim, Amer Abdulkader, Sarmad Tanveer
4.5 (2,048)

More PyTorch Courses

PyTorch students also learn

Empower your team. Lead the industry.

Get a subscription to a library of online courses and digital learning tools for your organization with Udemy Business.

Request a demo

Courses by Jose Portilla

Машинное обучение в Python: Machine Learning & Data Science
Jose Portilla, Vlad Burmistrov, Pierian Training
4.6 (586)
Probability and Statistics for Business and Data Science
Jose Portilla, Pierian Training
4.6 (7,041)
Python for Computer Vision with OpenCV and Deep Learning
Jose Portilla, Pierian Training
4.6 (11,074)
NLP - Natural Language Processing with Python
Jose Portilla, Pierian Training
4.5 (17,311)
Python for Time Series Data Analysis
Jose Portilla, Pierian Training
4.7 (8,147)
PyTorch for Deep Learning with Python Bootcamp
Jose Portilla, Pierian Training
4.6 (4,830)
Complete Tensorflow 2 and Keras Deep Learning Bootcamp
Jose Portilla, Pierian Training
4.7 (8,330)
The Complete Tableau Bootcamp for Data Visualization
Jose Portilla, Rayan Slim, Sarmad Tanveer, Jad Slim, Pierian Training
4.4 (6,357)
Python pour l'Analyse Financière & Algorithmes de Trading
Jose Portilla, Rod | Python - SQL - Data Science - Machine Learning - Deep Learning, MonCoachData | Data Science - Machine Learning - Deep Learning - Python / SQL, Pierian Training
4.4 (679)
Deep Learning avec TensorFlow et Keras | MasterClass Python
Jose Portilla, Rod | Python - SQL - Data Science - Machine Learning - Deep Learning, MonCoachData | Data Science - Machine Learning - Deep Learning - Python / SQL, Pierian Training
4.6 (675)
Python for Machine Learning & Data Science Masterclass
Jose Portilla, Pierian Training
4.6 (15,674)

Courses by Jose Portilla