Skip to content

Add newer PyTorch versions to the test matrix - #2824

Open
Yigtwxx wants to merge 1 commit into
openai:mainfrom
Yigtwxx:ci-test-newer-pytorch
Open

Add newer PyTorch versions to the test matrix#2824
Yigtwxx wants to merge 1 commit into
openai:mainfrom
Yigtwxx:ci-test-newer-pytorch

Conversation

@Yigtwxx

@Yigtwxx Yigtwxx commented Aug 1, 2026

Copy link
Copy Markdown

Problem

The test matrix stops at PyTorch 2.5.1, released in November 2024. PyTorch is
now at 2.13.0, so there is no CI coverage for any of the releases most users
actually install, including 2.6.0 — the release that changed the torch.load
default to weights_only=True.

Change

Three rows added to .github/workflows/test.yml, spanning the gap:

python pytorch why
3.12 2.6.0 the torch.load weights_only=True default flip
3.13 2.9.1 mid-gap
3.13 2.13.0 current latest

CPU wheels for all three combinations exist on download.pytorch.org/whl/cpu,
so the existing install line works unchanged.

Existing rows are untouched, the pinned action SHAs are untouched, and
pyproject.toml is untouched.

Evidence

The full 12-row matrix was run on this branch before opening the PR:
https://github.com/Yigtwxx/whisper/actions/runs/30698476999

All 13 jobs pass, including the three added rows:

job result
whisper-test (3.12, 2.6.0, 'numpy') success
whisper-test (3.13, 2.9.1, 'numpy') success
whisper-test (3.13, 2.13.0, 'numpy') success

The nine pre-existing rows and pre-commit also pass unchanged, so nothing in
whisper/ needs to change to support these releases.

Note

This is deliberately limited to PyTorch versions. #2657 proposes the Python 3.14
row separately, so that is left out of scope here.

The matrix stops at PyTorch 2.5.1 (November 2024), so there is no coverage of
the releases most users are on today. Add three rows spanning the gap:

- 2.6.0, the release that flipped the `torch.load` default to
  `weights_only=True`
- 2.9.1, mid-gap
- 2.13.0, current latest

Existing rows are left untouched.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant