-
Notifications
You must be signed in to change notification settings - Fork 74k
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
[PluggableDevice] add DEVICE_DEFAULT for session/transpose ops #50623
[PluggableDevice] add DEVICE_DEFAULT for session/transpose ops #50623
Conversation
@saxenasaurabh Can you help to review it? there are also several other PRs related with DEVICE_DEFAULT, thanks.
|
Hey @jzhoulon,
Hey @jzhoulon, these are on my radar. I will try to review this week or next. Thanks for the patience! |
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.
Thank you for the PR!
@@ -91,6 +91,18 @@ REGISTER_KERNEL_BUILDER(Name("InvertPermutation") | |||
.HostMemory("y"), | |||
InvertPermutationOp<int64>); | |||
|
|||
REGISTER_KERNEL_BUILDER(Name("InvertPermutation") | |||
.Device(DEVICE_DEFAULT) |
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.
Can we just replace the registration for DEVICE_GPU
with DEVICE_DEFAULT
? The DEVICE_DEFAULT
rule would work for DEVICE_GPU
too. Same for other PRs.
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.
@penpornk Hi, I've changed all of my DEVICE_DEFAULT
PRs. Please review.
c881f88
to
2582f23
Compare
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.
Thank you for the changes!
Add DEVICE_DEFAULT for session/transpose ops. This PR is for PluggableDevice.