-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Add Half support for reflection and replication padding on CPU #135931
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/135931
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit a1394be with merge base 3bebc09 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Skylion007
left a comment
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.
I was about to tackle these ops myself.
| supports_fwgrad_bwgrad=True, | ||
| dtypes=all_types_and_complex_and(torch.bfloat16), | ||
| dtypesIfCUDA=all_types_and_complex_and(torch.half, torch.bfloat16), | ||
| dtypes=all_types_and_complex_and(torch.bfloat16, torch.half), |
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.
Need to add to nn.functional.pad as well for replicate_negative
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.
Thanks for the comments. Add it.
|
@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 |
|
The merge job was canceled or timed out. This most often happen if two merge requests were issued for the same PR, or if merge job was waiting for more than 6 hours for tests to finish. In later case, please do not hesitate to reissue the merge command |
|
@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 |
Fixes #135680
cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10