-
Notifications
You must be signed in to change notification settings - Fork 24.5k
topk
on CUDA supports bfloat16
#59977
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
💊 CI failures summary and remediationsAs of commit 804c3a8 (more details on the Dr. CI page and at hud.pytorch.org/pr/59977):
This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.Please report bugs/suggestions to the (internal) Dr. CI Users group. |
running CI to see what happens on ROCM, probably need to add skips for the new tests |
ROCm is failing as expected, you need to adjust skips. |
@ngimel has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
small = 10 | ||
large = 8192 | ||
for curr_size in (small, large): | ||
self._test_topk_dtype(device, dtype, False, curr_size) | ||
|
||
@dtypesIfCUDA(*torch.testing.get_all_fp_dtypes()) |
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.
you probably should include_bfloat16=True
here, otherwise it's not tested
@ngimel has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Support for PR #[59977](#59977) in ROCm Fixes #[56176](#56176) in ROCm since ROCm 5.0 supports dtype bfloat16 for sorting. Dependency - PR #[72854](#72854) to be merged before CC Please review @jithunnair-amd @jeffdaily Pull Request resolved: #71913 Approved by: https://github.com/jithunnair-amd, https://github.com/osalpekar
Summary: Support for PR #[59977](#59977) in ROCm Fixes #[56176](#56176) in ROCm since ROCm 5.0 supports dtype bfloat16 for sorting. Dependency - PR #[72854](#72854) to be merged before CC Please review jithunnair-amd jeffdaily Pull Request resolved: #71913 Approved by: https://github.com/jithunnair-amd, https://github.com/osalpekar Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/6675f1e6970087cfc5ba67e7cf7690768e326464 Reviewed By: malfet Differential Revision: D35205235 fbshipit-source-id: 906575b43aa57d8674a774d812ebfcd0037f4617
Fixes #56176 via #58196
CC @zasdfgbnm @ngimel @ptrblck