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

add profile record (infer_shape, compute) for dygraph #39023

Merged

Conversation

pangyoki
Copy link
Contributor

@pangyoki pangyoki commented Jan 18, 2022

PR types

Others

PR changes

Others

Describe

为动态图添加record,方便在timeline中展示:

  • 在op_function_generator中,为pybind绑定的imperative方法添加record。用于在timeline中展示其开销。
  • 为动态图添加OP执行时,infer_shape和compute方法的record。用于在timeline中展示其开销。

图片

@paddle-bot-old
Copy link

paddle-bot-old bot commented Jan 18, 2022

✅ This PR's description meets the template requirements!
Please wait for other CI results.

@paddle-bot-old
Copy link

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

Copy link
Contributor

@zhiqiu zhiqiu left a comment

Choose a reason for hiding this comment

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

LGTM

@pangyoki pangyoki merged commit d9acc87 into PaddlePaddle:develop Jan 26, 2022
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