pytorch - ✅(Solved) Fix [CI][B200] Smoke Test Regressions [3 pull requests, 1 comments, 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#178787Fetched 2026-04-08 01:52:11
View on GitHub
Comments
1
Participants
1
Timeline
43
Reactions
0
Author
Participants
Timeline (top)
subscribed ×23mentioned ×12labeled ×5added_to_project_v2 ×1

PR fix notes

PR #178699: [Bugfix] Cleanup setup-python on B200 in _linux-test

Description (problem / solution / changelog)

Stack from ghstack (oldest at bottom):

  • #178700
  • -> #178699

This is a miss from the refactor in. https://github.com/pytorch/pytorch/pull/178580 and https://github.com/pytorch/pytorch/pull/177953. We don't need to run setup-python just on B200 It turns out that we do, B200 has never called setup-linux before

Signed-off-by: Huy Do [email protected]

Changed files

  • .github/workflows/_linux-test.yml (modified, +0/-8)
RAW_BUFFERClick to expand / collapse

🐛 Describe the bug

Noticing that the smoke tests are giving: https://github.com/pytorch/pytorch/actions/runs/23750490609/job/69195138207 not sure if https://github.com/pytorch/pytorch/pull/178699 would fix it though.

cc @seemethere @malfet @pytorch/pytorch-dev-infra @mruberry @huydhn
cc @ptrblck @tinglvv @atalman @malfet

Versions

TOT

extent analysis

Fix Plan

The fix involves updating the test configuration to handle changes in the PyTorch repository.

Steps to Fix

  • Update the pytorch version in the test environment to the latest version.
  • Modify the smoke test to account for changes in the PyTorch API.
  • Example code snippet to update PyTorch version:
import torch

# Update PyTorch version
torch.__version__ = '2.0.0'

However, the above code is just an example and should not be used directly. Instead, update the PyTorch version using pip:

pip install --upgrade torch
  • Example code snippet to modify the smoke test:
import unittest
import torch

class TestSmoke(unittest.TestCase):
    def test_smoke(self):
        # Modify the test to account for changes in the PyTorch API
        self.assertEqual(torch.__version__, '2.0.0')

if __name__ == '__main__':
    unittest.main()

Verification

To verify that the fix worked, run the smoke tests again and check for any errors.

Extra Tips

  • Make sure to update the PyTorch version in all test environments.
  • Review the PyTorch documentation for any changes to the API that may affect the smoke tests.
  • Consider adding additional tests to cover any new functionality in the updated PyTorch version.

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