pytorch - ✅(Solved) Fix Python 3.15 support for PyTorch [1 pull requests, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
pytorch/pytorch#184352Fetched 2026-05-20 03:39:09
View on GitHub
Comments
0
Participants
1
Timeline
30
Reactions
1
Author
Participants
Timeline (top)
subscribed ×16labeled ×5mentioned ×4assigned ×2

Fix Action

Fixed

PR fix notes

PR #184398: Enable 3.15 in CI

Description (problem / solution / changelog)

Part of resolving #184352

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

Changed files

  • .github/scripts/generate_binary_build_matrix.py (modified, +3/-3)
RAW_BUFFERClick to expand / collapse

This issue tracks work for enablement of Python 3.15 / 3.15t. Similar to: https://github.com/pytorch/pytorch/issues/156856 (3.14) and https://github.com/pytorch/pytorch/issues/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:

  • Add support for 3.15 in torch.compile cc @malfet @pytorch/pytorch-dev-infra @albanD @williamwen42

Current Status — Source build

OS3.153.15t
Linux:x::x:
MacOS:x::x:
Windows:x::x:

Current Status — Nightlies and Release branch

OS3.153.15t
Linux:x::x:
Linux Aarch64:x::x:
MacOS:x::x:
Windows:x::x:

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

  • Nightly cp315 Linux wheels available
  • Nightly Windows wheels
  • Nightly macOS wheels
  • Nightly aarch64 wheels

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

Versions

main

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING