-
Notifications
You must be signed in to change notification settings - Fork 5.9k
[CustomDevice] Support stride[Part 1, slice kernel] #62532
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
|
你的PR提交成功,感谢你对开源项目的贡献! |
YanhuiDua
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.
LGTM, 后续补充下其他kernel
YanhuiDua
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.
LGTM
wanghuancoder
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.
LGTM
PR types
Others
PR changes
Others
Description
让CustomDevice支持Stride,已在NPU初步验证了slice算子:PaddlePaddle/PaddleCustomDevice#988
基本思路:
本PR给所有backend注册了stride的slice和slice_grad用于测试。其他kernel下一个PR补充