Skip to content

Python 3.15 support for PyTorch #184352

@atalman

Description

@atalman

This issue tracks work for enablement of Python 3.15 / 3.15t. Similar to: #156856 (3.14) and #130249 (3.13).

Python 3.15 release schedule: PEP 790. Beta 1 has already been released, so the ABI is stable enough that packages can start building/publishing 3.15 wheels.

Updated May 19, 2026

Python 3.15 CI:

  • Migrate 3.14 CI builds -> 3.15

Python 3.15 CI & torch.compile:

Current Status — Source build

OS 3.15 3.15t
Linux
MacOS
Windows

Current Status — Nightlies and Release branch

OS 3.15 3.15t
Linux
Linux Aarch64
MacOS
Windows

Outstanding work

  • Add Python NoGIL (free-threaded) support in CI

Breakdown of steps to support Python 3.15:

  • PyTorch builds from source on 3.15
  • Try wheel Linux builds with Python 3.15
  • Nightly cp315 wheels available for all platforms (waiting until final cpython rc)
  • torch.compile support for 3.15
  • PyTorch builds from source with free-threaded CPython
  • cp315t (free-threaded) nightly wheels available

Python 3.15 CD

cc @malfet @seemethere @pytorch/pytorch-dev-infra @albanD

Versions

main

Metadata

Metadata

Labels

module: ciRelated to continuous integrationmodule: python frontendFor issues relating to PyTorch's Python frontendmodule: python versionIssues related to specific Python versionsrelease-feature-requestThis tag is to mark Feature Tracked for PyTorch OSS ReleasestriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

Type

No type
No fields configured for issues without a type.

Projects

Status
No status

Relationships

None yet

Development

No branches or pull requests

Issue actions