Skip to content

[release/2.14] Pin validation to release/2.14 and bump CURRENT_CANDIDATE_VERSION - #8495

Merged
atalman merged 1 commit into
pytorch:release/2.14from
atalman:release_only_changes_214_validation
Aug 11, 2026
Merged

[release/2.14] Pin validation to release/2.14 and bump CURRENT_CANDIDATE_VERSION#8495
atalman merged 1 commit into
pytorch:release/2.14from
atalman:release_only_changes_214_validation

Conversation

@atalman

@atalman atalman commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Release-only follow-up to the 2.14 branch cut (79a17ec), porting the equivalents of #8171 / #8172 / #8216 from release/2.13.

1. CURRENT_CANDIDATE_VERSION -> 2.14.0

The branch cut moved CURRENT_NIGHTLY_VERSION to 2.14.0 but left CURRENT_CANDIDATE_VERSION at 2.13.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 then enforces. Since the test channel now serves the 2.14.0 release candidate, validation fails with:

RuntimeError: Torch version mismatch, expected 2.13.0 for channel test

Verified with generate_binary_build_matrix.py --channel test: stable_version goes 2.13.0 -> 2.14.0. CURRENT_STABLE_VERSION stays at 2.13.0 (the current GA release); it moves separately when 2.14 goes live.

2. pytorch/pytorch checkouts -> ref: release/2.14

The validation jobs check out repository: "pytorch/pytorch" with ref: main, so release validation ran against main's .ci / test/smoke_test sources instead of the release branch. Pinned in all seven call sites across validate-{linux,windows,macos-arm64,aarch64-linux}-binaries.yml and validate-docker-images.yml, matching release/2.13's state.

3. Explicit test-infra-ref: release/2.14 in matrix generation

Belt-and-braces: the branch cut already rewrote the test-infra-ref default in generate_binary_build_matrix.yml to release/2.14, so this is not a live bug on 2.14 (it was on 2.13, where the default stayed main). Passing it explicitly keeps the matrix pinned to the release branch even if that default is ever re-synced from main.

4. Revert a branch-cut sed artifact

The cut rewrote a comment referring to the Poetry project's own branch, poetry@main -> poetry@release/2.14, which is meaningless. Restored.

Authored with the assistance of Claude Code.

…ATE_VERSION

Release-only follow-up to the 2.14 branch cut (79a17ec), porting the
equivalents of pytorch#8171 / pytorch#8172 / pytorch#8216 from release/2.13.

## 1. `CURRENT_CANDIDATE_VERSION` -> 2.14.0

The branch cut moved `CURRENT_NIGHTLY_VERSION` to 2.14.0 but left
`CURRENT_CANDIDATE_VERSION` at 2.13.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`
then enforces. Since the test channel now serves the 2.14.0 release
candidate, validation fails with:

```
RuntimeError: Torch version mismatch, expected 2.13.0 for channel test
```

Verified with `generate_binary_build_matrix.py --channel test`:
`stable_version` goes 2.13.0 -> 2.14.0. `CURRENT_STABLE_VERSION` stays at
2.13.0 (the current GA release); it moves separately when 2.14 goes live.

## 2. `pytorch/pytorch` checkouts -> `ref: release/2.14`

The validation jobs check out `repository: "pytorch/pytorch"` with
`ref: main`, so release validation ran against main's `.ci` /
`test/smoke_test` sources instead of the release branch. Pinned in all
seven call sites across `validate-{linux,windows,macos-arm64,aarch64-linux}-binaries.yml`
and `validate-docker-images.yml`, matching release/2.13's state.

## 3. Explicit `test-infra-ref: release/2.14` in matrix generation

Belt-and-braces: the branch cut already rewrote the `test-infra-ref`
default in `generate_binary_build_matrix.yml` to `release/2.14`, so this is
not a live bug on 2.14 (it was on 2.13, where the default stayed `main`).
Passing it explicitly keeps the matrix pinned to the release branch even if
that default is ever re-synced from main.

## 4. Revert a branch-cut sed artifact

The cut rewrote a comment referring to the *Poetry* project's own branch,
`poetry@main` -> `poetry@release/2.14`, which is meaningless. Restored.

Authored with the assistance of Claude Code.
@vercel

vercel Bot commented Aug 11, 2026

Copy link
Copy Markdown

@atalman is attempting to deploy a commit to the Meta Open Source Team on Vercel.

A member of the Team first needs to authorize it.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 11, 2026
@atalman
atalman merged commit e0dc52e into pytorch:release/2.14 Aug 11, 2026
50 of 98 checks passed
atalman added a commit that referenced this pull request Aug 11, 2026
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.
atalman added a commit that referenced this pull request Aug 11, 2026
…ds (#8498)

Follow-up to #8495, which bumped `CURRENT_CANDIDATE_VERSION` to 2.14.0
on this branch but left the arch dicts on their 2.13-era values.

The test channel now serves 2.14.0 release candidates, so its arch lists
must match what `pytorch/pytorch` `release/2.14` actually builds
([`.github/scripts/generate_binary_build_matrix.py`](https://github.com/pytorch/pytorch/blob/release/2.14/.github/scripts/generate_binary_build_matrix.py)):

```python
CUDA_ARCHES = ["12.6", "13.0", "13.2", "13.4"]
ROCM_ARCHES = ["7.2", "7.14"]
```

## Changes

| dict | before | after | why |
| --- | --- | --- | --- |
| `CUDA_ARCHES_DICT["test"]` | `12.6, 13.0, 13.2` | `12.6, 13.0, 13.2,
13.4` | cu134 RC wheels were never validated |
| `ROCM_ARCHES_DICT["test"]` | `7.1, 7.2` | `7.2, 7.14` | `7.1` is not
built for 2.14 — validation looked for wheels that don't exist and
skipped rocm7.14 |
| `PYTHON_ARCHES_DICT["test"]` | — | unchanged | already matches nightly
|

The `release` channel entries are deliberately left alone — they still
describe GA 2.13 and move as part of the 2.14 go-live step.

## 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.14.0 (unchanged) | +`cu134` | `7.1` -> **`7.14`** |
| release | unchanged (2.13.0) | unchanged | unchanged |
| nightly | unchanged | unchanged | unchanged |

#8497 makes the equivalent arch sync on `main`.

Authored with the assistance of Claude Code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant