Article complete

Highlights of the new PyTorch v1.12

The new release contains 3124 commits and is developed with the help of 433 contributors.

A hand reaching out toward the PyTorch logo against a dark, data-themed background.

Key takeaways

  • PyTorch v1.12 includes over 3000 commits from 433 contributors, showcasing a collaborative development effort.
  • Key features of the release include a functional API for module computation and fully compatible DataPipes within TorchData.
  • The introduction of TorchArrow aims to enhance machine learning preprocessing with a user-friendly API and high-performance capabilities.
  • Beta features include AWS S3 Integration and support for PyTorch on Intel Xeon processors with advanced data types.

Takeaways drafted with AI from the article text.

Close to four months after the release of version 1.11, PyTorch has now introduced v1.12. The new release contains 3124 commits and is developed with the help of 433 contributors. Some of the highlights of this release are – a functional API to apply module computation with a set of given parameters; TorchData’s DataPipes that are fully backwards compatible with DataLoader; functorch with improved API coverage; Complex32 and Complex Convolutions; TorchArrow, and others.

Along with the release of v1.12, the team released the beta versions of AWS S3 Integration, PyTorch Vision Models on Channel Last on CPU, and supporting PyTorch on Intel® Xeon® Scalable processors with Bfloat16 and FSDP API. 

TorchArrow

TorchArrow is a library for machine learning preprocessing over batch data. Introduced as a Beta release, TorchArrow features a performant and Pandas-style, easy-to-use API to speed up preprocessing workflows and development. Some of the features it offers include a high-performance CPU backend, vectorised and extensible UDFs with Velox; seamless handoff with PyTorch; zero-copy for external readers through Arrow in-memory columnar format.

Functional API for Modules

Some of its features include: Module computation with flexibility over parameters; reimplementation of module in a functional way is not needed; parameter or buffer present in the module can be swapped with externally-defined value for use in the call.

Complex32 and Complex Convolutions in PyTorch

Now PyTorch supports complex numbers, complex autograd, complex modules, and other complex operations. Several libraries like torchaudio and ESPNet use complex numbers in PyTorch, and the new version further extends the complex functionality with complex convolutions and the experimental complex32 data type that enables half-precision FFT operations. 

Published

Spotted an error? Tell our editors. Read our editorial standards and corrections.

Selling to AI teams? Put your brand in front of the 5M+ people who read AIM every month. Plan a campaign

More in this story

Pytorch · 5 stories
  1. Facebook Launches PyTorch 1.0 With Integrations For Google Cloud
  2. You are here: Highlights of the new PyTorch v1.12
  3. Ruff, the New Rust-Based Python Linter for Programmers
  4. PyTorch 2.0 is Finally Here
  5. PyTorch Enables Llama 2 & 3 to Run on Smartphones with Zero Code
About the author

Contributor

All stories
Belamy · Daily

The day’s AI news, before your first meeting.