PyTorch 2.1.2 Release, bug fix release

Imported from official source

Software release

AI Classified by Officially

This release is meant to fix the following issues (regressions / silent correctness): - Fix crashes for float16 empty tensors (https://github.com/pytorch/pytorch/pull/115183) - Fix MPS memory corruption when working with tensor slices (https://github.com/pytorch/pytorch/pull/114838) - Fix crashes during Conv backward pass on MPS devices (https://github.com/pytorch/pytorch/pull/113398) - Partially fix nn.Linear behavior on AArch64 platform (https://github.com/pytorch/pytorch/pull/110150) - Fix cosine_similarity for tensors of different sizes (https://github.com/pytorch/pytorch/pull/109363) - Package missing headers needed for extension development (https://github.com/pytorch/pytorch/pull/113055) - Improve error handling of ``torch.set_num_threads`` (https://github.com/pytorch/pytorch/pull/113684) - Fix profiling traces generation (https://github.com/pytorch/pytorch/pull/113763) The Cherry pick tracker https://github.com/pytorch/pytorch/issues/113962 contains all relevant pull requests related to this release as well as links to related issues.

Read the original at the source: https://github.com/pytorch/pytorch/releases/tag/v2.1.2

Officially imported this from PyTorch’s own source. If you work there, claiming the profile and verifying the domain lets you choose to show the full text here.

This publication has changed since it was first published

2 versions recorded. The original is kept in full — nothing is overwritten.

  1. v2 imported change on current
  2. v1 as first published on

Provenance

Organization
PyTorch — imported from official source
Official source
https://api.github.com/repos/pytorch/pytorch/releases?per_page=25 API
Imported
September 15, 2026 19:08
Versions
2 recorded
Identity
133972717

Officially records where a publication came from, not whether it is true. Imported records are reproduced from an organization's own official source.