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

Optimize performance of dygraph (v3) #42137

Merged
merged 1 commit into from
Apr 23, 2022
Merged

Conversation

zyfncg
Copy link
Contributor

@zyfncg zyfncg commented Apr 22, 2022

PR types

Performance optimization

PR changes

Others

Describe

动态图调度性能优化:

  • Phi kernel查找逻辑优化,减少重复的map查找
  • 将动态图执行时用到的RuntimeContext和Scope对象转为静态对象,减少每次调用的构造和析构开销

@paddle-bot-old
Copy link

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@chenwhql chenwhql merged commit c56fffb into PaddlePaddle:develop Apr 23, 2022
@zyfncg zyfncg deleted the perf_opt branch April 23, 2022 09:11
zyfncg added a commit to zyfncg/Paddle that referenced this pull request Apr 24, 2022
phlrain pushed a commit that referenced this pull request Apr 25, 2022
#42171)

* optimiaze performance of PreparePhiData (#42093)

* Dygraph performance optimization (v2) (#42103)

* optimiaze performance of PreparePhiData

* dygraph performance optimization

* optimize performance of dygraph (#42137)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants