add bfloat16 support for kl_div_backward_cuda#77676
add bfloat16 support for kl_div_backward_cuda#77676Aidyn-A wants to merge 3 commits intopytorch:masterfrom
Conversation
🔗 Helpful links
✅ No Failures (0 Pending)As of commit 97680c5 (more details on the Dr. CI page): Expand to see more💚 💚 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. |
|
Test failures are real, please fix supported dtypes in |
|
I believe now it is ready for review, the failed tests are not related to the changes in this PR |
jbschlosser
left a comment
There was a problem hiding this comment.
Confirmed spurious CI failures. LGTM!
|
@pytorchbot merge this please |
|
Merge failed due to Refusing to merge as mandatory check(s)linux-docs / build-docs (cpp), linux-docs / build-docs (python) failed for rule superuser |
|
@Aidyn-A Maybe a rebase will fix the CI failures? |
|
@pytorchbot merge on green |
|
Merge failed due to Refusing to merge as mandatory check(s) linux-docs / build-docs (cpp), linux-docs / build-docs (python), win-vs2019-cuda11.3-py3 / build are pending/not yet run for rule superuser |
|
@jbschlosser, rebase definitely worked. Thanks! |
|
@pytorchbot merge this |
|
Hey @Aidyn-A. |
Summary: This PR adds a feature requested in issue #77375. `kl_div_backward_cuda` now supports `bfloat16` cc ngimel ptrblck rosrad Pull Request resolved: #77676 Approved by: https://github.com/jbschlosser Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/f37ce948ff25bf70a52ab4b327c82925ddb4aa86 Reviewed By: mehtanirav Differential Revision: D36668740 fbshipit-source-id: 0f171ac2fdb66931f0a7ffe73a97517fe2abad02
This PR adds a feature requested in issue #77375.
kl_div_backward_cudanow supportsbfloat16cc @ngimel @ptrblck @rosrad