Skip to content

Commit 00fa578

Browse files
authored
Update binary build matrix for release 2.14 (#8497)
The 2.14 branch cut is done, so the test channel now serves 2.14.0 release candidates. This applies the standard post-branch-cut update to `main`, matching what `.github/workflows/release-pytorch-post-branch-cut.yml` does. ## 1. `CURRENT_CANDIDATE_VERSION` 2.13.0 -> 2.14.0 For the test channel `initialize_globals()` sets `CURRENT_VERSION = CURRENT_CANDIDATE_VERSION`, which the generated matrix surfaces as `stable_version` and `smoke_test.py` enforces. Left at 2.13.0, test-channel validation fails with: ``` RuntimeError: Torch version mismatch, expected 2.13.0 for channel test ``` `CURRENT_STABLE_VERSION` stays at 2.13.0 (the current GA release); it moves separately when 2.14 goes live. ## 2. Sync the test channel with nightly in the arch dicts - `CUDA_ARCHES_DICT`: test gains `13.4` - `ROCM_ARCHES_DICT`: test `7.1, 7.2` -> `7.2, 7.14` - `PYTHON_ARCHES_DICT`: already matched nightly, no change These match what `release/2.14` actually builds. Without them, 2.14 RC validation would skip the `cu134` and `rocm7.14` wheels and try to validate `rocm7.1` wheels that 2.14 does not produce. The release channel matrix is unchanged. ## Test plan - `python -m tools.tests.test_generate_binary_build_matrix` — 11 tests pass. - `python -m tools.tests.test_generate_binary_build_matrix --update-reference-files` — no asset changes. - Generated linux wheel matrix, before -> after: | channel | `stable_version` | cuda | rocm | | --- | --- | --- | --- | | test | 2.13.0 -> **2.14.0** | +`cu134` | `7.1` -> **`7.14`** | | release | unchanged (2.13.0) | unchanged | unchanged | | nightly | unchanged | unchanged | unchanged | Companion to #8495, which made the equivalent change on `release/2.14`. Authored with the assistance of Claude Code.
1 parent d607479 commit 00fa578

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tools/scripts/generate_binary_build_matrix.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@
4545
}
4646
CUDA_ARCHES_DICT = {
4747
"nightly": ["12.6", "13.0", "13.2", "13.4"],
48-
"test": ["12.6", "13.0", "13.2"],
48+
"test": ["12.6", "13.0", "13.2", "13.4"],
4949
"release": ["12.6", "13.0", "13.2"],
5050
}
5151

5252
ROCM_ARCHES_DICT = {
5353
"nightly": ["7.2", "7.14"],
54-
"test": ["7.1", "7.2"],
54+
"test": ["7.2", "7.14"],
5555
"release": ["7.1", "7.2"],
5656
}
5757

@@ -99,7 +99,7 @@
9999

100100

101101
CURRENT_NIGHTLY_VERSION = "2.14.0"
102-
CURRENT_CANDIDATE_VERSION = "2.13.0"
102+
CURRENT_CANDIDATE_VERSION = "2.14.0"
103103
CURRENT_STABLE_VERSION = "2.13.0"
104104
CURRENT_VERSION = CURRENT_STABLE_VERSION
105105

0 commit comments

Comments
 (0)