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】17、在 Paddle 中实现 Common Subexpression Elimination(公共子表达式删除)的图优化 pass #35993

Closed
TCChenlong opened this issue Sep 23, 2021 · 0 comments

Comments

@TCChenlong
Copy link
Contributor

(此 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 的运算,进而提升整体的执行效率。

【提交内容】

  • 任务提案

  • 任务 PR 到 Paddle

  • 相关技术文档

  • 任务单测文件

【技术要求】

  • 熟练掌握 C++

  • 熟悉图操作

  • 了解 Paddle pass相关的技术背景

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