pytorch
pytorch copied to clipboard
Fix compiler check
Fixes #119304
- Add try catch to handle the compiler version check.
- Retry to query compiler version info.
- Return False if can't get compiler info twice.
cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10
:link: Helpful Links
:test_tube: See artifacts and rendered test results at hud.pytorch.org/pr/120492
- :page_facing_up: Preview Python docs built from this PR
- :page_facing_up: Preview C++ docs built from this PR
- :question: Need help or want to give feedback on the CI? Visit the bot commands wiki or our office hours
Note: Links to docs will display an error until the docs builds have been completed.
:white_check_mark: You can merge normally! (1 Unrelated Failure)
As of commit 6969679564e7be9cf583e11404549112225d7ca4 with merge base b96ea097ee7b2730a21d3954975a3636d08fd054 ():
UNSTABLE - The following job failed but was likely due to flakiness present on trunk and has been marked as unstable:
-
trunk / linux-focal-rocm6.0-py3.8 / test (default, 1, 1, linux.rocm.gpu, unstable) (gh)
RuntimeError: inductor/test_torchinductor 1/2 failed
This comment was automatically generated by Dr. CI and updates every 15 minutes.
@pytorchbot rebase
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here
Successfully rebased fix_compiler_check
onto refs/remotes/origin/viable/strict
, please pull locally before adding more changes (for example, via git checkout fix_compiler_check && git pull --rebase
)
@pytorchbot merge
Merge failed
Reason: This PR needs a release notes:
label
If your changes are user facing and intended to be a part of release notes, please use a label starting with release notes:
.
If not, please add the topic: not user facing
label.
To add a label, you can comment to pytorchbot, for example
@pytorchbot label "topic: not user facing"
For more information, see https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.
Details for Dev Infra team
Raised by workflow job
@pytorchbot merge
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 TeamAdvanced Debugging
Check the merge workflow status
here
@pytorchbot label "topic: not user facing"