PyTorch 2.1.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): * Remove spurious warning in comparison ops (#112170) * Fix segfault in foreach_* operations when input list length does not match (#112349) * Fix cuda driver API to load the appropriate .so file (#112996) * Fix missing CUDA initialization when calling FFT operations (#110326) * Ignore beartype==0.16.0 within the onnx package as it is incompatible (#111861) * Fix the behavior of torch.new_zeros in onnx due to TorchScript behavior change (#111694) * Remove unnecessary slow code in `torch.distributed.checkpoint.optimizer.load_sharded_optimizer_state_dict` (#111687) * Add `planner` argument to `torch.distributed.checkpoint.optimizer.load_sharded_optimizer_state_dict` (#111393) * Continue if param not exist in sharded load in `torch.distributed.FSDP` (#109116) * Fix handling of non-contiguous bias_mask in `torch.nn.functional.scaled_dot_product_attention` (#112673) * Fix the meta device implementation for `nn.functional.scaled_dot_product_attention` (#110893) * Fix copy from mps to cpu device when storage_offset is non-zero (#109557) * Fix segfault in `torch.sparse.mm` for non-contiguous inputs (#1...

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

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