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

[Fea] Support derivative nodes fusing for any order #745

Merged

Conversation

HydrogenSulfate
Copy link
Collaborator

@HydrogenSulfate HydrogenSulfate commented Jan 10, 2024

PR types

Function optimization

PR changes

APIs

Describe

  1. 通过融合微分结点,一次性计算出微分分子对其它变量的所有相关微分项,代替多次微分调用,提升微分计算速度
  2. 更新 线弹性方程文档 bracket 文档
  3. 解决 biharmonic2d 案例读取速度过慢的问题,并更新文档

Copy link

paddle-bot bot commented Jan 10, 2024

Thanks for your contribution!

@HydrogenSulfate HydrogenSulfate changed the title [Enh] Support merge derivative nodes for any order [Fea] Support merge derivative nodes for any order Jan 10, 2024
@HydrogenSulfate HydrogenSulfate changed the title [Fea] Support merge derivative nodes for any order [Fea] Support derivative nodes fusing for any order Jan 10, 2024
Copy link
Collaborator

@zhiminzhang0830 zhiminzhang0830 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zhiminzhang0830 zhiminzhang0830 merged commit 824e362 into PaddlePaddle:develop Jan 10, 2024
3 checks passed
@HydrogenSulfate HydrogenSulfate deleted the support_for_any_order branch January 10, 2024 07:36
huohuohuohuohuo123 pushed a commit to huohuohuohuohuo123/PaddleScience that referenced this pull request Aug 12, 2024
* support parallel grad to optimize grad computation with reducing common pathes in backward graph

* fix

* clean code

* update grad merge code for any common prefix numerator

* clean code

* update final code

* refine docstrings and variable & function name

* add graph_filename

* change heat_exchanger to sympy equation
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