Skip to content

Conversation

@chen2016013
Copy link
Contributor

@chen2016013 chen2016013 commented Jan 14, 2025

PR Category

CINN

PR Types

Improvements

Description

pcard-67164
Accelerate recompute algorithm time 511s --> 30s

  1. Find upstream and downstream ops recursively for every uncomputable op ----> Traversal all ops twice
  2. Find all parent ops for cloned ops ----> use map to record first grad user

@paddle-bot
Copy link

paddle-bot bot commented Jan 14, 2025

你的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.

Copy link
Contributor

@zhangbo9674 zhangbo9674 left a comment

Choose a reason for hiding this comment

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

LGTM

@chen2016013 chen2016013 merged commit 30492ee into PaddlePaddle:develop Jan 16, 2025
32 checks passed
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