PyTorch 2.3.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): ### Torch.compile: - Remove runtime dependency on JAX/XLA, when importing ``torch.__dynamo`` (https://github.com/pytorch/pytorch/pull/124634) - Hide ``Plan failed with a cudnnException`` warning (https://github.com/pytorch/pytorch/pull/125790) - Fix CUDA memory leak (https://github.com/pytorch/pytorch/pull/124238) (https://github.com/pytorch/pytorch/pull/120756) ### Distributed: - Fix ``format_utils executable``, which was causing it to run as a no-op (https://github.com/pytorch/pytorch/pull/123407) - Fix regression with ``device_mesh`` in 2.3.0 during initialization causing memory spikes (https://github.com/pytorch/pytorch/pull/124780) - Fix crash of ``FSDP + DTensor`` with ``ShardingStrategy.SHARD_GRAD_OP`` (https://github.com/pytorch/pytorch/pull/123617) - Fix failure with distributed checkpointing + FSDP if at least 1 forward/backward pass has not been run. (https://github.com/pytorch/pytorch/pull/121544) (https://github.com/pytorch/pytorch/pull/127069) - Fix error with distributed checkpointing + FSDP, and with ``use_orig_params = False`` and activation checkpointing (https://github.com/py...

Read the original at the source: https://github.com/pytorch/pytorch/releases/tag/v2.3.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
159004021

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