-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
[DoubleGrad] Enabled test_imperative_triple_grad test cases under eager_mode #41612
[DoubleGrad] Enabled test_imperative_triple_grad test cases under eager_mode #41612
Conversation
…perative_double_grad
…0609/Paddle into add_double_grad_yamls_v4
你的PR提交成功,感谢你对开源项目的贡献! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
out_rank_info_ = EagerUtils::OutRankInfo(tensor); | ||
auto* tensor_autograd_meta = EagerUtils::nullable_autograd_meta(tensor); | ||
if (tensor_autograd_meta) { | ||
auto autograd_meta = std::make_shared<AutogradMeta>( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it's better to do a copy construction for AutogradMeta
} | ||
auto* intermediate_autograd_meta = | ||
EagerUtils::unsafe_autograd_meta(intermidiate_tensor_); | ||
auto p_ab_autograd_meta = std::make_shared<AutogradMeta>( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same above
…er_mode (PaddlePaddle#41612) * [DoubleGrad] Enabled double grad test cases in eager_mode for test_imperative_double_grad * Fixed elementwise issue * Addressed CI failures * [DoubleGrad] Enabled test_imperative_triple_grad test cases under eager_mode * Fixed minor issues
…er_mode (PaddlePaddle#41612) * [DoubleGrad] Enabled double grad test cases in eager_mode for test_imperative_double_grad * Fixed elementwise issue * Addressed CI failures * [DoubleGrad] Enabled test_imperative_triple_grad test cases under eager_mode * Fixed minor issues
…er_mode (PaddlePaddle#41612) * [DoubleGrad] Enabled double grad test cases in eager_mode for test_imperative_double_grad * Fixed elementwise issue * Addressed CI failures * [DoubleGrad] Enabled test_imperative_triple_grad test cases under eager_mode * Fixed minor issues
PR types
Others
PR changes
Others
Describe
[DoubleGrad] Enabled test_imperative_triple_grad test cases under eager_mode