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

【PaddlePaddle Hackathon 2】54、在 Paddle 中实现 Common Subexpression Elimination(公共子表达式删除)的图优化 pass #40278

Closed
TCChenlong opened this issue Mar 8, 2022 · 3 comments

Comments

@TCChenlong
Copy link
Contributor

TCChenlong commented Mar 8, 2022

(此 ISSUE 为 PaddlePaddle Hackathon 第二期活动的任务 ISSUE,更多详见 【PaddlePaddle Hackathon 第二期】任务总览

【任务说明】

  • 任务标题:在 Paddle 中实现 Common Subexpression Elimination(公共子表达式删除)的图优化 pass
  • 技术标签:深度学习框架,C++,图优化
  • 任务难度:困难
  • 详细描述: 在深度学习相关的计算图中,会存在一些公共的子串,例如 h = a + b + c,f = b + a+ e,那么在整个计算图中,根据加法算子的交换律,a + b = b + a,那么我们可以将上面公式化简为 n = a + b, h = n + c ,f = n + e,这样可以减少一次 kernel 的运算,进而提升整体的执行效率。

【提交内容】

【技术要求】

  • 熟练掌握 C++
  • 熟悉图操作
  • 了解 Paddle pass相关的技术背景

【答疑交流】

  • 如果在开发中对于上述任务有任何问题,欢迎在本 ISSUE 下留言交流。
  • 对于开发中的共性问题,在活动过程中,会定期组织答疑,请大家关注官网&QQ群的通知,及时参与。
@paddle-bot-old
Copy link

paddle-bot-old bot commented Mar 8, 2022

您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网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!

@gsq7474741
Copy link
Contributor

@chenwhql 您好,请问这个任务有在phi下对应的开发路径嘛,目前运行时的计算框架是基于fluid的还是phi呀

@paddle-bot paddle-bot bot closed this as completed May 2, 2023
@paddle-bot
Copy link

paddle-bot bot commented May 2, 2023

Since you haven't replied for more than a year, we have closed this issue/pr.
If the problem is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up.
由于您超过一年未回复,我们将关闭这个issue/pr。
若问题未解决或有后续问题,请随时重新打开,我们会继续跟进。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants