Skip to content

[CI] Skip dynamic indirect indexing smoke test on torch < 2.14 - #195306

Closed
georgehong wants to merge 1 commit into
mainfrom
guard-dynamic-indirect-indexing-2-13
Closed

georgehong wants to merge 1 commit into
mainfrom
guard-dynamic-indirect-indexing-2-13

Conversation

@georgehong

Copy link
Copy Markdown
Contributor

test-infra's Release Binaries Validations checks out smoke_test.py from pytorch main but installs the published stable wheel. The regression check added in #195024 covers gh-194490, whose fix (#194786) landed after the 2.13 branch cut, so it reds all six linux CUDA 12.6 legs against the immutable 2.13.0 artifact with NameError('tmp19 is not defined').

Gate on the first release series containing the fix: 2.14, which has it via cherry-pick #194833. Reverting #195024 was the alternative, but it drops nightly coverage and leaves the next regression test added here to hit the same trap.

Test Plan:

2.13.0 skips; 2.14.0, main and nightly run.

python -c "
from torch.torch_version import TorchVersion
for v in ['2.13.0+cu126','2.14.0+cu130','2.15.0a0+gitabc','2.15.0.dev20260829+cu126']:
    print(v, TorchVersion(v) < (2, 14))
"
lintrunner -a --paths-cmd 'echo .ci/pytorch/smoke_test/smoke_test.py'

Authored with assistance from Claude Code.

test-infra's Release Binaries Validations checks out smoke_test.py from pytorch
main but installs the published stable wheel. The regression check added in
#195024 covers gh-194490, whose fix (#194786) landed after the 2.13 branch cut,
so it reds all six linux CUDA 12.6 legs against the immutable 2.13.0 artifact
with NameError('tmp19 is not defined').

Gate on the first release series containing the fix: 2.14, which has it via
cherry-pick #194833. Reverting #195024 was the alternative, but it drops nightly
coverage and leaves the next regression test added here to hit the same trap.

Test Plan:

2.13.0 skips; 2.14.0, main and nightly run.

```
python -c "
from torch.torch_version import TorchVersion
for v in ['2.13.0+cu126','2.14.0+cu130','2.15.0a0+gitabc','2.15.0.dev20260829+cu126']:
    print(v, TorchVersion(v) < (2, 14))
"
lintrunner -a --paths-cmd 'echo .ci/pytorch/smoke_test/smoke_test.py'
```

Authored with assistance from Claude Code.
@georgehong
georgehong requested a review from atalman August 30, 2026 00:42
@pytorch-bot

pytorch-bot Bot commented Aug 30, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/195306

Note: Links to docs will display an error until the docs builds have been completed.

✅ You can merge normally! (2 Unrelated Failures)

As of commit 8f2c2db with merge base 9f46548 (image):

GREEN LIGHT - PR approved to be merged without human review:

Single 8-line hunk in .ci/pytorch/smoke_test/smoke_test.py adds a
`TorchVersion(torch.__version__) < (2, 14)` early-return to
smoke_test_compile_dynamic_indirect_indexing, gating the gh-194490 regression
check to the first release series containing fix #194786. The lazy `from
torch.torch_version import TorchVersion` import mirrors the pre-existing `< (2,
9)` NVSHMEM gate at smoke_test.py:594-596, which confirms the module resolves on
the older stable wheels this script installs; the subsequent
torch.cuda.is_available() guard is preserved and no other logic is removed.
Version math checks out (2.13.0+cu126 skips; 2.14.0+cu130, 2.15.0a0 main and
2.15.0.dev nightly run), and the only edge case -- a 2.14 RC like 2.14.0a0 also
skipping -- errs toward less coverage rather than a false red, so this CI-only,
well-scoped change with a documented removal condition is safe to auto-land.

reason: clean
Reviewed commit: 8f2c2db

Inference job

CRCR (non-blocking) - The following CRCR downstream CI jobs failed but are non-blocking:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@pytorch-bot pytorch-bot Bot added the topic: not user facing topic category label Aug 30, 2026
@georgehong
georgehong marked this pull request as ready for review August 30, 2026 19:57
@georgehong
georgehong requested a review from a team as a code owner August 30, 2026 19:57

@atalman atalman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@georgehong

Copy link
Copy Markdown
Contributor Author

@pytorchbot merge

@pytorch-bot pytorch-bot Bot added the ciflow/trunk Trigger trunk jobs on your pull request label Aug 31, 2026
@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@georgehong

Copy link
Copy Markdown
Contributor Author

@pytorchbot merge -f "only skips smoke test case that's currently red"

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

The merge job was canceled or timed out. This most often happen if two merge requests were issued for the same PR, or if merge job was waiting for more than 6 hours for tests to finish. In later case, please do not hesitate to reissue the merge command
For more information see pytorch-bot wiki.

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

orrangetabby17 pushed a commit to orrangetabby17/pytorch that referenced this pull request Sep 2, 2026
…ch#195306)

test-infra's Release Binaries Validations checks out smoke_test.py from pytorch main but installs the published stable wheel. The regression check added in pytorch#195024 covers pytorchgh-194490, whose fix (pytorch#194786) landed after the 2.13 branch cut, so it reds all six linux CUDA 12.6 legs against the immutable 2.13.0 artifact with NameError('tmp19 is not defined').

Gate on the first release series containing the fix: 2.14, which has it via cherry-pick pytorch#194833. Reverting pytorch#195024 was the alternative, but it drops nightly coverage and leaves the next regression test added here to hit the same trap.

Test Plan:

2.13.0 skips; 2.14.0, main and nightly run.

```
python -c "
from torch.torch_version import TorchVersion
for v in ['2.13.0+cu126','2.14.0+cu130','2.15.0a0+gitabc','2.15.0.dev20260829+cu126']:
    print(v, TorchVersion(v) < (2, 14))
"
lintrunner -a --paths-cmd 'echo .ci/pytorch/smoke_test/smoke_test.py'
```

Authored with assistance from Claude Code.
Pull Request resolved: pytorch#195306
Approved by: https://github.com/pytorchgreenlight, https://github.com/atalman
Sanskaaar1 pushed a commit to Sanskaaar1/pytorch that referenced this pull request Sep 8, 2026
…ch#195306)

test-infra's Release Binaries Validations checks out smoke_test.py from pytorch main but installs the published stable wheel. The regression check added in pytorch#195024 covers pytorchgh-194490, whose fix (pytorch#194786) landed after the 2.13 branch cut, so it reds all six linux CUDA 12.6 legs against the immutable 2.13.0 artifact with NameError('tmp19 is not defined').

Gate on the first release series containing the fix: 2.14, which has it via cherry-pick pytorch#194833. Reverting pytorch#195024 was the alternative, but it drops nightly coverage and leaves the next regression test added here to hit the same trap.

Test Plan:

2.13.0 skips; 2.14.0, main and nightly run.

```
python -c "
from torch.torch_version import TorchVersion
for v in ['2.13.0+cu126','2.14.0+cu130','2.15.0a0+gitabc','2.15.0.dev20260829+cu126']:
    print(v, TorchVersion(v) < (2, 14))
"
lintrunner -a --paths-cmd 'echo .ci/pytorch/smoke_test/smoke_test.py'
```

Authored with assistance from Claude Code.
Pull Request resolved: pytorch#195306
Approved by: https://github.com/pytorchgreenlight, https://github.com/atalman
@github-actions
github-actions Bot deleted the guard-dynamic-indirect-indexing-2-13 branch November 12, 2026 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request Merged topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants