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

[Framework]Simplify profile output #10047

Merged
merged 4 commits into from
Mar 2, 2023

Conversation

wz1qqx
Copy link
Collaborator

@wz1qqx wz1qqx commented Feb 28, 2023

PR devices

Framework

PR types

Performance optimization

PR changes

OP

Description

Before,every predictore->run() will call profiler->Summary() function to print Detailed (time and performance) info of every instruction(runtime op&&kernel),it will add total infer time which cause twice compile job(with_profile lib && no_profile lib)
Now,we call Summary() function when ~RuntimeProgram(). below is new terminal outputs:
image

@paddle-bot
Copy link

paddle-bot bot commented Feb 28, 2023

Thanks for your contribution!

Copy link
Collaborator

@zhupengyang zhupengyang left a comment

Choose a reason for hiding this comment

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

LGTM

@wz1qqx wz1qqx merged commit d043de8 into PaddlePaddle:develop Mar 2, 2023
@wz1qqx wz1qqx deleted the simplify-profile-output branch March 2, 2023 02:30
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