You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
你的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.
❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
SigureMo
changed the title
[Dy2St] Move run program op implementation to .cc file
[Dy2St] Move run program ad func implementation to .cc file
Jun 23, 2025
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Category
Execute Infrastructure
PR Types
Devs
Description
将原本
run_program_op_func.h
和run_program_op_node.h
两个文件实现移动到.cc
中,避免每次修改后增量编译都非常慢共拆分为如下几个文件:
run_program_utils.{h,cc}
少数共用的工具函数run_program_impl.{h,cc}
原本run_program_op_node.h
中的主要执行逻辑,放在run_program_op_node.h
不合理,run_program_op_node.h
只应保留 grad node 结构run_program_node.{h,cc}
原本run_program_op_node.h
中的 node 结构,只保留 grad node 结构run_program_func.{h,cc}
原本run_program_op_func.h
,ad func 逻辑,该模块的最顶层 API拆分前修改
run_program_op_node.h
重新编译需要 5.5min,拆分后需要 3min另外规范了下相关命名,老 IR 相关以
Legacy
开头,PIR 相关删除PIR
前缀,以便后续退场