-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Enable deterministic support for oneDNN #127277
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
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/127277
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit d010a4d with merge base 9d06e37 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
@weishi-deng , please fix lint issue. |
Will we have PRs to enable the TF32, BF32 in oneDNN? @EikanWang |
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.
Besides the naming (use mkldnn instead of onednn for consistency), do we need to update the documentation somewhere since it is about API update?
Yes, we will. |
@gujinghui , @weishi-deng , https://github.com/pytorch/pytorch/pull/127294/files#diff-40b3d6cc2026cae8f139b15c4b0b05fd2e69c2715be0ce15648de79b0e15a4ebR365 FYI |
@desertfire , we're trying to enable deterministic for XPU and enable it in dynamo benchmarks for accuracy tests. |
@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 |
@pytorchbot rebase |
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
Successfully rebased |
fa03663
to
d010a4d
Compare
@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 |
Summary: This PR is a part of RFC pytorch/pytorch#114848. For the request for Torchbenchmark models, this PR enables the deterministic attribute for the oneDNN operators for XPU backends, like convolution, deconvolution and matmult. X-link: pytorch/pytorch#127277 Approved by: https://github.com/jgong5, https://github.com/EikanWang, https://github.com/desertfire, https://github.com/gujinghui Reviewed By: fbgheith Differential Revision: D58918395 fbshipit-source-id: 333cde99143d7e20ca838c82f5ffc0eb63f33a7c
This PR is a part of RFC #114848.
For the request for Torchbenchmark models, this PR enables the deterministic attribute for the oneDNN operators for XPU backends, like convolution, deconvolution and matmult.
cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 @voznesenskym @penguinwu @EikanWang @Guobing-Chen @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang