MITB Banner

Intel® releases a new Extension for PyTorch* that aims to optimise deep learning for Intel® CPUs

Intel® Extension for PyTorch* optimises for both imperative mode and graph mode.

Share

Listen to this story

Intel engineers in the PyTorch open-source community have created a new Intel® Extension for PyTorch*, which they claimed maximises deep learning inference and training performance on Intel CPUs. Fan Zhao, engineering manager at Intel, shared in a post that Intel® Extension for PyTorch*optimises for both imperative mode and graph mode. The optimisations are performed for three key pillars of PyTorch – operators, graph and runtime.

She said in the same post that during execution, Intel® Extension for PyTorch* will override a subset of ATen operators with their optimised counterparts in the extension. It will offer an additional set of custom operators and optimisers for popular use cases. In graph mode, additional graph optimisation passes will be applied that will maximise the performance of the underlying kernel implementations in the extension. 

“Runtime optimisations are encapsulated in the runtime extension module, which provides a couple of PyTorch frontend APIs for users to get finer-grained control of the thread runtime,” she added.

Image: Accelerating PyTorch with Intel® Extension for PyTorch* | by Fan Zhao | PyTorch | May, 2022 | Medium

Performance

The blog gave some examples of performance gains with Intel® Extension for PyTorch*. The numbers were measured on Intel(R) Xeon(R) Platinum 8380 CPU @ 2.3 GHz.

Image: Accelerating PyTorch with Intel® Extension for PyTorch* | by Fan Zhao | PyTorch | May, 2022 | Medium

In the future, the team behind this wants to bring users additional performance boost on Intel CPUs in an agile and fast fashion. Zhai added that the team would upstream most of the optimisations to stock PyTorch over time. They will also land new optimisations and features for the latest Intel hardware for users to get their hands on them faster.

To know more, click here.

Share
Picture of Sreejani Bhattacharyya

Sreejani Bhattacharyya

I am a technology journalist at AIM. What gets me excited is deep-diving into new-age technologies and analysing how they impact us for the greater good. Reach me at sreejani.bhattacharyya@analyticsindiamag.com
Related Posts

CORPORATE TRAINING PROGRAMS ON GENERATIVE AI

Generative AI Skilling for Enterprises

Our customized corporate training program on Generative AI provides a unique opportunity to empower, retain, and advance your talent.

Upcoming Large format Conference

May 30 and 31, 2024 | 📍 Bangalore, India

Download the easiest way to
stay informed

Subscribe to The Belamy: Our Weekly Newsletter

Biggest AI stories, delivered to your inbox every week.

AI Forum for India

Our Discord Community for AI Ecosystem, In collaboration with NVIDIA. 

Flagship Events

Rising 2024 | DE&I in Tech Summit

April 4 and 5, 2024 | 📍 Hilton Convention Center, Manyata Tech Park, Bangalore

MachineCon GCC Summit 2024

June 28 2024 | 📍Bangalore, India

MachineCon USA 2024

26 July 2024 | 583 Park Avenue, New York

Cypher India 2024

September 25-27, 2024 | 📍Bangalore, India

Cypher USA 2024

Nov 21-22 2024 | 📍Santa Clara Convention Center, California, USA

Data Engineering Summit 2024

May 30 and 31, 2024 | 📍 Bangalore, India

Subscribe to Our Newsletter

The Belamy, our weekly Newsletter is a rage. Just enter your email below.