-
Notifications
You must be signed in to change notification settings - Fork 24.2k
Make numpy check optional #149356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make numpy check optional #149356
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/149356
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New Failure, 2 Unrelated FailuresAs of commit 4edee0a with merge base 78715a1 ( NEW FAILURE - The following job has failed:
UNSTABLE - The following jobs are marked as unstable, possibly due to flakiness on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use action=store_bool
rather than having an enabled
/disabled
options
(Also, please don't repeat string literals many time over the codebase)
Why not add skip-numpy-if-not-installed
and just do a pythonic thing and check if numpy is installed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When would we be uncertain about whether numpy is or isn't available on a CI machine?
@ZainRizvi this to cover both use cases, test with numpy and tests without numpy |
@pytorchmergebot merge -f "failures are not related" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
@pytorchbot cherry-pick --onto release/2.7 -c releng |
❌ 🤖 pytorchbot command failed:
Try |
@pytorchbot cherry-pick --onto release/2.7 -c release |
We may want to skip numpy smoke tests. Hence making it optional Pull Request resolved: #149356 Approved by: https://github.com/ZainRizvi (cherry picked from commit 6e2b266)
Cherry picking #149356The cherry pick PR is at #153421 The following tracker issues are updated: Details for Dev Infra teamRaised by workflow job |
Make numpy check optional (#149356) We may want to skip numpy smoke tests. Hence making it optional Pull Request resolved: #149356 Approved by: https://github.com/ZainRizvi (cherry picked from commit 6e2b266) Co-authored-by: atalman <atalman@fb.com>
We may want to skip numpy smoke tests. Hence making it optional