Skip to content

[Framework]Simplify profile output#10047

Merged
wz1qqx merged 4 commits intoPaddlePaddle:developfrom
wz1qqx:simplify-profile-output
Mar 2, 2023
Merged

[Framework]Simplify profile output#10047
wz1qqx merged 4 commits intoPaddlePaddle:developfrom
wz1qqx:simplify-profile-output

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