Tuesday, March 21, 2023
Kiratas
  • Home
  • World
  • Lifestyle

    Trending Tags

    • Pandemic
  • Business
  • Entertainment
  • Sports
No Result
View All Result
  • Home
  • World
  • Lifestyle

    Trending Tags

    • Pandemic
  • Business
  • Entertainment
  • Sports
No Result
View All Result
Kiratas
No Result
View All Result
Home World

Machine Learning: PyTorch 2.0 accelerates with Python-based compilation

Kiratas by Kiratas
March 16, 2023
in World
Reading Time: 2 mins read
0
0
SHARES
1
VIEWS
Share on FacebookShare on Twitter

The PyTorch team has released version 2.0 of the open source machine learning framework. The second main version reflects – after an earlier migration of various components to C++ – more on the programming language Python: The compilation mode torch.compile written in Python has arrived in beta status and now forms the main API of the framework.

Trend-setting and backward compatible

PyTorch’s new direction, with torch.compile towards Python, was what prompted it to be named version 2.0, according to the development team. The new compilation mode torch.compile is intended to significantly increase performance and is based on the new technologies TorchDynamo, AOTAutograd, PrimTorch and TorchInductor written in Python. The development team announced the switch to Python-based compilation mode and how it works in December 2022 and experimentally provided access to it in Nightly Builds.

With PyTorch 2.0, torch.compile has reached beta status. Despite its use as the new main API, the release should be fully backwards compatible, as this is an optional, additive feature. Developers can continue to use the familiar Eager Execution if they choose. However, according to measurements by the PyTorch team using various open source models, the speedup times of the new compilation mode should offer a speed advantage of between 38 and 76 percent.

Stable API and more beta features

In addition to some other beta features such as the PyTorch MPS backend for GPU-accelerated training on Mac platforms and the integration of the funktorch APIs in the torch.func module, the new release also introduces a stable, high-performance implementation of the PyTorch Transformer API one.

With the release of PyTorch 2.0, the PyTorch domain libraries have also received numerous new beta features. For example, in TorchAudio 2.0, new operators are available at torchaudio.functional and torchaudio.transforms. They can be used to synthetically diversify training data to improve the generalizability of downstream models.

The PyTorch blog lists the highlights of version 2.0 and the new library functions. If you want to go into more detail, you can find the complete release notes on GitHub.

(May)

To home page

Tags: acceleratescompilationDeep LearningLearningmachineMachine LearningPythonPythonbasedPyTorch

Related Posts

World

Crazy: this is how we define the new tableware from Maisons du Monde

by Kiratas
March 21, 2023
World

Java Development: Livestream from the JavaLand conference

by Kiratas
March 21, 2023
World

Vox motion of no confidence against Pedro Sánchez, live | Speech by Ramón Tamames and replicas

by Kiratas
March 21, 2023
World

iX workshop: IT security according to ISO 27001 (with early bird discount)

by Kiratas
March 21, 2023
World

The DGT can give you a surreal fine for what many do

by Kiratas
March 21, 2023
Next Post

A man who abused his 13-year-old granddaughter will be released from prison six months earlier thanks to the Montero Law

IB3: the PP denounces the marginalization suffered by the party on TV

LKA warning: Phishers bait with SMS about failed parcel delivery

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Kiratas

Latest News from World, Health, Politics, Sports, Business, Education, Technology, Arts and Latin America, the Middle East, South Asia.
Contact Us:
[email protected]

Categories

  • Automobile
  • Business
  • Sports
  • World

Browse by Tag

Apple Artificial Intelligence Bank Barcelona business ChatGPT Check Cybercrime data data protection day Energy EU euros Facebook February Google government health iOS iPhone law League Linux and Open Source live Mac Madrid March Microsoft million online photo price result Security Smartphone Spain Spanish Sánchez Test time today Vulnerabilities year years

Recent Posts

  • Crazy: this is how we define the new tableware from Maisons du Monde
  • Java Development: Livestream from the JavaLand conference
  • Sale of assets and flight of customers, among the questions of the merger
  • DMCA
  • Home

© Kiratas 2023. All Rights Reserved.

No Result
View All Result
  • Home
  • Landing Page
  • Buy JNews
  • Support Forum
  • Contact Us

© Kiratas 2023. All Rights Reserved.