Skip to content

Conversation

@veyron95
Copy link
Contributor

@veyron95 veyron95 commented Feb 16, 2022

PR types

Function optimization

PR changes

Others

Describe

  1. Remove RunBackwardHooks() in backward.cc.
  2. Modify the auto code generator logic to support GradientHook before running separate GradeNode.
  3. Add related unite tests to make sure the intermediate GradNode in node.cc are real called and meet our expected hook result.
@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

jim19930609
jim19930609 previously approved these changes Feb 16, 2022
@veyron95 veyron95 changed the title [Eager] Support GradientHook before running seperate GradNode [Eager] Support GradientHook before running separate GradNode Feb 16, 2022
jim19930609
jim19930609 previously approved these changes Feb 17, 2022
@veyron95 veyron95 merged commit adf4b98 into PaddlePaddle:develop Feb 17, 2022
@veyron95 veyron95 changed the title [Eager] Support GradientHook before running separate GradNode [Eager Hook] Support GradientHook before running separate GradNode Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants