-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[inductor][test] Check if mkl dnn bf16 is supported when using bf16 #136290
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
Conversation
Differential Revision: D62984129
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/136290
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 589daeb with merge base 1a86d8a ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
This pull request was exported from Phabricator. Differential Revision: D62984129 |
|
@jgong5 @XuehaiPan can I get a stamp? |
|
@pytorchbot merge |
Merge failedReason: Approvers from one of the following sets are needed:
|
|
@pytorchbot merge |
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 |
…ytorch#136290) Sometimes the test is run with older cpu, e.g. Intel(R) Xeon(R) CPU E5-2680 v4. If we inspect its `lscpu`, in the flags, we don't see a `avx512_bf16`. So that probably means bf16 is not supported for those hardwares, and hence the unit test can fail. So we add the check in the code. Context: pytorch#135038 Differential Revision: D62984129 Pull Request resolved: pytorch#136290 Approved by: https://github.com/XuehaiPan, https://github.com/chenyang78
Sometimes the test is run with older cpu, e.g. Intel(R) Xeon(R) CPU E5-2680 v4. If we inspect its
lscpu, in the flags, we don't see aavx512_bf16. So that probably means bf16 is not supported for those hardwares, and hence the unit test can fail. So we add the check in the code.Context: #135038
Differential Revision: D62984129
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhang