-
Notifications
You must be signed in to change notification settings - Fork 24.3k
[Inductor] Enable Inductor to support BF16 atomic_add #96620
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
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/96620
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 7d82107: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
test/inductor/test_torchinductor.py
Outdated
@@ -6103,6 +6103,48 @@ def test_cpu_vec_cosim(self): | |||
union = {*cpp_vec_op_list, *diff} | |||
self.assertTrue(set(cpp_op_list).issubset(union)) | |||
|
|||
def test_atomic_add(self): |
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.
If it is specific to bfloat16, add "bfloat16" suffix to the test function name? Otherwise, consider to make it general for other types.
cc jgong5 mingfeima XiaobingSuper sanchitintel ashokei jingxu10 soumith voznesenskym penguinwu anijain2305 Guobing-Chen zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx peterbell10 desertfire [ghstack-poisoned]
@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 |
Pull Request resolved: pytorch/pytorch#96620 Approved by: https://github.com/jansel, https://github.com/jgong5
Pull Request resolved: pytorch/pytorch#96620 Approved by: https://github.com/jansel, https://github.com/jgong5
Stack from ghstack (oldest at bottom):
cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 @soumith @voznesenskym @penguinwu @anijain2305 @Guobing-Chen @zhuhaozhe @blzheng @Xia-Weiwen @wenzhe-nrv @jiayisunx @peterbell10 @desertfire