-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
[Hackathon 3rd No.22 ] add paddle.incubate.sparse.reshape #46242
[Hackathon 3rd No.22 ] add paddle.incubate.sparse.reshape #46242
Conversation
…dle.incubate.sparse.any
…dle.incubate.sparse.any
…dle.incubate.sparse.any
你的PR提交成功,感谢你对开源项目的贡献! |
If reshape_kernel.cc doesn't include sparse_utils_kernel.cc and reshape_kernel.cu includes sparse_utils_kernel.cu, then get the following: (pay attention to the template argument "bool")You can find that in the file paddle\phi\kernels\sparse\gpu\sparse_utils_kernel.cu, CooToCsrKernel is NOT registered with dtype bool, it is the same for other kernels in the corresponding .cc file.Caution: In paddle\phi\kernels\sparse\cpu\sparse_utils_kernel.cc and the corresponding .cu file, many kernels are not registered with dtype "bool" |
我把本PR中与reshape任务无关的修改内容删除后,创建了新的PR: #46333 。请看新PR, 本PR将被关闭。 |
很抱歉,经过我们的反复讨论,你的PR暂未达到合入标准,请阅读飞桨原生算子开发规范,你可以重新提交新的PR,我们先将此PR关闭,感谢你的贡献。 |
After adding infer_meta in the yaml files and registering CsrToCooKernel and CooToCsrKernel with dtype "bool" in sparse_utils_kernel.cc and sparse_utils_kernel.cu, finally the compilation is successful and there are 12 failing and 12 |
PR types
New features
PR changes
OPs
Describe
add paddle.incubate.sparse.reshape
本PR是在 #45849 的基础上修改forward kernel的计算逻辑得到的:
2022/9/20 15:00 : 本PR于9月19日初次提交时,我自认为已经完成了主体开发和计算逻辑的改写,但因为各种细节问题导致大量CI报错。我尽快解决大量CI报错的问题,然后再请飞桨专家审核