-
Notifications
You must be signed in to change notification settings - Fork 21.7k
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
CMake: Improve check and report of Magma #117858
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/117858
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 40531f4 with merge base 79655a1 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
94dde23
to
556fe43
Compare
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.
Looks good do me, but I wonder if it'll be better to make USE_MAGMA and cmake_dependent_option
in
Line 227 in bad5e1e
option(USE_MAGMA "Use MAGMA" ON) |
Makes sense yes, but that would be a possible behavior change I didn't want to introduce here. And with this change the change to dependent option is easy and much more obvious: Basically delete the |
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.
@malfet Not sure why it had the release notes: onnx
label in it, but LGTM
@pytorchbot merge -r |
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
- Only search for magma if it is used (GPU builds) - Don't report it was not found when it isn't searched for - Don't report if magma is disabled
Successfully rebased |
dd0ecfc
to
40531f4
Compare
Merge startedYour 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 |
- Only search for magma if it is used (GPU builds) - Don't report it was not found when it isn't searched for - Don't report if magma is disabled (currently: "MAGMA not found. Compiling without MAGMA support" is reported) Pull Request resolved: pytorch#117858 Approved by: https://github.com/malfet
cc @gujinghui @PenghuiCheng @XiaobingSuper @jianyuh @jgong5 @mingfeima @sanchitintel @ashokei @jingxu10 @min-jean-cho @yanbing-j @Guobing-Chen @Xia-Weiwen @snadampal