News Report Technology
April 04, 2023

PyTorch 2.0 Release: A Major Update to the Machine Learning Framework

In Brief

PyTorch has released PyTorch 2.0, a major update to its open-source machine learning framework with new features and enhancements that make it more powerful and adaptable.

The update includes a high-performance Transformer API and support for training and inference using scaled dot product attention (SPDA).

PyTorch 2.0 Release: A Major Update to the Machine Learning Framework

PyTorch has announced the release of PyTorch 2.0, the open-source machine learning framework, which was highly anticipated by the data science community. The team delivered several new features and enhancements to the platform, increasing its potency and adaptability.

The framework is used for computer vision and natural language processing applications and is under the Linux Foundation umbrella. It provides tensor computing with GPU acceleration and deep neural networks built on automatic differentiation. Some deep learning software, such as Tesla Autopilot, Pyro, Transformers, PyTorch Lightning, and Catalyst, is built on top of PyTorch.

PyTorch 2.0 implements a new high-performance Transformer API, which aims to make training and deployment of state-of-the-art Transformer models more affordable. The release also includes high-performance support for training and inference using a custom kernel architecture for scaled dot product attention (SPDA).

At a similar time, PyTorch released OpenXLA and PyTorch/XLA 2.0. The combination of PyTorch and XLA provides a development stack that can support both model training and inference. This is possible because PyTorch is a popular choice in AI, and XLA has excellent compiler features. To improve this development stack, there will be investments in three main areas.

To train large models, PyTorch/XLA is investing in features such as mixed precision training, runtime performance, efficient model sharding, and faster data loading. Some of these features are already available, while others will be released later this year, leveraging the underlying OpenXLA compiler stack.

For model inference, PyTorch/XLA focuses on delivering competitive performance with Dynamo in the PyTorch 2.0 release. Additional inference-oriented features include model serving support, Dynamo for sharded large models, and quantization via Torch.Export and StableHLO.

In terms of ecosystem integration, PyTorch/XLA is expanding integration with Hugging Face and PyTorch Lightning so users can take advantage of upcoming features and the downstream OpenXLA features through familiar APIs. This includes support for FSDP in Hugging Face and Quantization in OpenXLA.

PyTorch/XLA is an open-source project, which means you can contribute to its development by reporting issues, submitting pull requests, and sending requests for comments (RFCs) on GitHub.

Read more:

Disclaimer

In line with the Trust Project guidelines, please note that the information provided on this page is not intended to be and should not be interpreted as legal, tax, investment, financial, or any other form of advice. It is important to only invest what you can afford to lose and to seek independent financial advice if you have any doubts. For further information, we suggest referring to the terms and conditions as well as the help and support pages provided by the issuer or advertiser. MetaversePost is committed to accurate, unbiased reporting, but market conditions are subject to change without notice.

About The Author

Agne is a journalist who covers the latest trends and developments in the metaverse, AI, and Web3 industries for the Metaverse Post. Her passion for storytelling has led her to conduct numerous interviews with experts in these fields, always seeking to uncover exciting and engaging stories. Agne holds a Bachelor’s degree in literature and has an extensive background in writing about a wide range of topics including travel, art, and culture. She has also volunteered as an editor for the animal rights organization, where she helped raise awareness about animal welfare issues. Contact her on [email protected].

More articles
Agne Cimerman
Agne Cimerman

Agne is a journalist who covers the latest trends and developments in the metaverse, AI, and Web3 industries for the Metaverse Post. Her passion for storytelling has led her to conduct numerous interviews with experts in these fields, always seeking to uncover exciting and engaging stories. Agne holds a Bachelor’s degree in literature and has an extensive background in writing about a wide range of topics including travel, art, and culture. She has also volunteered as an editor for the animal rights organization, where she helped raise awareness about animal welfare issues. Contact her on [email protected].

Hot Stories
Join Our Newsletter.
Latest News

From Ripple to The Big Green DAO: How Cryptocurrency Projects Contribute to Charity

Let's explore initiatives harnessing the potential of digital currencies for charitable causes.

Know More

AlphaFold 3, Med-Gemini, and others: The Way AI Transforms Healthcare in 2024

AI manifests in various ways in healthcare, from uncovering new genetic correlations to empowering robotic surgical systems ...

Know More
Read More
Read more
Malta Embraces Crypto Future As Gate.MT CEO Highlights Next Wave Of Blockchain Evolution
News Report Technology
Malta Embraces Crypto Future As Gate.MT CEO Highlights Next Wave Of Blockchain Evolution
November 1, 2024
Binance Blockchain Week 2024 Ignites Dubai with Bold Visions for Web3, AI, and the Future of Crypto Innovation
Opinion Business Lifestyle Markets Technology
Binance Blockchain Week 2024 Ignites Dubai with Bold Visions for Web3, AI, and the Future of Crypto Innovation
November 1, 2024
Hedera Introduces Bonzo Finance Liquidity Layer To Catalyze DeFi Growth On Its Network
News Report Technology
Hedera Introduces Bonzo Finance Liquidity Layer To Catalyze DeFi Growth On Its Network
November 1, 2024
Layer 1 Blockchains or Layer 2 Solutions The Intense Debate Over the Future of Blockchain Scalability
Opinion Software Technology
Layer 1 Blockchains or Layer 2 Solutions The Intense Debate Over the Future of Blockchain Scalability
November 1, 2024