-
Notifications
You must be signed in to change notification settings - Fork 24.5k
[ROCm] Enable sort operator BF16 support #72854
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
- Solution needs to revert a line done in PR#67706
CI Flow Status⚛️ CI FlowRuleset - Version:
|
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit fb65be0 (more details on the Dr. CI page): 💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
Copied Jithun's comments @pruthvistony @dllehr-amd Can you please elaborate on the breakage? The argsort unit test was enabled for float16 on ROCm by this PR: https://github.com/pytorch/pytorch/pull/67706/files#diff-18a0c3e7cd07089b34760028c387d39de1aa393172f1d5f123692106b3a3d144R15390 but CI passed for that PR. And I'm not sure how PR #71226 impacted it since it was for bfloat16? --- There are 2 possible solutions add BF16 to the argsort ROCm dtype or removing the dtype specialization for ROCm. Dependency is due to
|
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 minus a few comments with dtypesIfROCM
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.
Changes are updated.
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.
Review comments are taken care.
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.
LGTM!
@malfet has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Summary: The changes add support for dtype BF16 for sort operator in ROCm. Relates - #58196 Relanding the change - #71226 jeffdaily jithunnair-amd dllehr-amd Please review this PR. Pull Request resolved: #72854 Reviewed By: zou3519 Differential Revision: D34284313 Pulled By: malfet fbshipit-source-id: abcfea84ea53874008d56416425849e990ebf15b
Hey @pruthvistony. |
Summary: The changes add support for dtype BF16 for sort operator in ROCm. Relates - pytorch/pytorch#58196 Relanding the change - pytorch/pytorch#71226 jeffdaily jithunnair-amd dllehr-amd Please review this PR. Pull Request resolved: pytorch/pytorch#72854 Reviewed By: zou3519 Differential Revision: D34284313 Pulled By: malfet fbshipit-source-id: abcfea84ea53874008d56416425849e990ebf15b (cherry picked from commit e9e7e3e0472b726ff2fd5f115962d3c835fb33db)
Summary: The changes add support for dtype BF16 for sort operator in ROCm. Relates - pytorch/pytorch#58196 Relanding the change - pytorch/pytorch#71226 jeffdaily jithunnair-amd dllehr-amd Please review this PR. Pull Request resolved: pytorch/pytorch#72854 Reviewed By: zou3519 Differential Revision: D34284313 Pulled By: malfet fbshipit-source-id: abcfea84ea53874008d56416425849e990ebf15b (cherry picked from commit e9e7e3e0472b726ff2fd5f115962d3c835fb33db)
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
The changes add support for dtype BF16 for sort operator in ROCm.
Relates - #58196
Relanding the change - #71226
@jeffdaily @jithunnair-amd @dllehr-amd Please review this PR.