Skip to content
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

Paddle Hackthon Grad Operators #42383

Closed
yangguohao opened this issue Apr 28, 2022 · 3 comments
Closed

Paddle Hackthon Grad Operators #42383

yangguohao opened this issue Apr 28, 2022 · 3 comments
Assignees
Labels
PFCC Paddle Framework Contributor Club,https://github.com/PaddlePaddle/community/tree/master/pfcc status/following-up 跟进中 type/question 用户提问

Comments

@yangguohao
Copy link
Contributor

请提出你的问题 Please ask your question

C++OP开发中提到反向算子

反向Kernel参数映射函数添加

现阶段,反向Kernel除了实现外,还需要添加一个参数映射函数。

仍然以trace op为例,首先在paddle/phi/ops/compat目录下新建trace_sig.cc文件,用于放置这里的映射函数。

注册GradOp始终不成功 PR地址

@paddle-bot-old
Copy link

您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网API文档常见问题历史IssueAI社区来寻求解答。祝您生活愉快~

Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the APIFAQGithub Issue and AI community to get the answer.Have a nice day!

@chenwhql
Copy link
Contributor

看CI的报错,好像是计算结果数值有问题,不是注册没成功,留了个评论

@Ligoml Ligoml added status/following-up 跟进中 and removed status/new-issue 新建 labels Apr 29, 2022
@yangguohao
Copy link
Contributor Author

看CI的报错,好像是计算结果数值有问题,不是注册没成功,留了个评论

谢谢,问题已经解决了。我反向传播算子的参数映射函数的文件放错位置了。应该和inplace无关,我将文件放置之后结果就正确了。

@luotao1 luotao1 added the PFCC Paddle Framework Contributor Club,https://github.com/PaddlePaddle/community/tree/master/pfcc label Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PFCC Paddle Framework Contributor Club,https://github.com/PaddlePaddle/community/tree/master/pfcc status/following-up 跟进中 type/question 用户提问
Projects
None yet
Development

No branches or pull requests

6 participants