-
Notifications
You must be signed in to change notification settings - Fork 22.9k
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
Reland: Fix CUDA device guard usage when first arg of kernel is scalar #39956
Reland: Fix CUDA device guard usage when first arg of kernel is scalar #39956
Conversation
💊 CI failures summary and remediationsAs of commit 928ac64 (more details on the Dr. CI page):
🚧 2 fixed upstream failures:These were probably caused by upstream breakages that were already fixed.
Please rebase on the
|
Turns out that I'm getting test failures on |
Yeah, that happens because you are changing device in your test and don't set it back. You can either explicitly set the device back to original, or, better, use
|
Oh right, that makes sense. |
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.
@ngimel has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
pytorch#39956) Summary: Reland PR pytorch#39870 Closes pytorch#38889 Pull Request resolved: pytorch#39956 Differential Revision: D22027956 Pulled By: ngimel fbshipit-source-id: e6029f450e2da3782b2d05bcc2012c19b82291da
Reland PR #39870
Closes #38889