PyTorch 2.0.1 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 `_canonical_mask` throws warning when bool masks passed as input to TransformerEncoder/TransformerDecoder (#96009, #96286) * Fix Embedding bag max_norm=-1 causes leaf Variable that requires grad is being used in an in-place operation #95980 * Fix type hint for torch.Tensor.grad_fn, which can be a torch.autograd.graph.Node or None. #96804 * Can’t convert float to int when the input is a scalar np.ndarray. #97696 * Revisit torch._six.string_classes removal #97863 * Fix module backward pre-hooks to actually update gradient #97983 * Fix load_sharded_optimizer_state_dict error on multi node #98063 * Warn once for TypedStorage deprecation #98777 * cuDNN V8 API, Fix incorrect use of emplace in the benchmark cache #97838 ### Torch.compile: * Add support for Modules with custom __getitem__ method to torch.compile #97932 * Fix improper guards with on list variables. #97862 * Fix Sequential nn module with duplicated submodule #98880 ### Distributed: * Fix distributed_c10d's handling of custom backends #95072 * Fix MPI backend not properly initialized #98545 ### NN_frontend: * Update Multi-Head Atten...

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

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
102257798

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