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 get profiler from config #41532

Merged

Conversation

rainyfly
Copy link
Contributor

@rainyfly rainyfly commented Apr 7, 2022

PR types

Others

PR changes

Others

Describe

加入从序列化的json配置文件中自动生成Profiler
json格式类似如下:
{
"targets": ["CPU", "GPU"],
"scheduler": [3,4],
"on_trace_ready": {
"export_chrome_tracing":{
"module": "paddle.profiler",
"use_direct": false,
"args": [],
"kwargs": {
"dir_name": "testdebug/"
}
}
},
"timer_only": true
}

@paddle-bot-old paddle-bot-old bot added contributor External developers status: proposed labels Apr 7, 2022
@paddle-bot-old
Copy link

paddle-bot-old bot commented Apr 7, 2022

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See [Paddle CI Manual(https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/dev_guides/git_guides/paddle_ci_manual_cn.html) for details.

zhangting2020
zhangting2020 previously approved these changes Apr 8, 2022
Copy link
Contributor

@zhangting2020 zhangting2020 left a comment

Choose a reason for hiding this comment

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

LGTM

@liutiexing liutiexing merged commit e1792a3 into PaddlePaddle:develop Apr 9, 2022
rainyfly added a commit to rainyfly/Paddle that referenced this pull request Apr 9, 2022
* no

* maintain old profiler

* add get profiler from serialization config

* add unit test

* improve coverage

* fix

* Revert "improve coverage"

This reverts commit 4a980bf.

* fix unit

* fix

* fix
rainyfly added a commit to rainyfly/Paddle that referenced this pull request Apr 9, 2022
* no

* maintain old profiler

* add get profiler from serialization config

* add unit test

* improve coverage

* fix

* Revert "improve coverage"

This reverts commit 4a980bf.

* fix unit

* fix

* fix
douch pushed a commit to douch/Paddle that referenced this pull request Apr 10, 2022
* no

* maintain old profiler

* add get profiler from serialization config

* add unit test

* improve coverage

* fix

* Revert "improve coverage"

This reverts commit 4a980bf.

* fix unit

* fix

* fix
XiaoguangHu01 pushed a commit that referenced this pull request Apr 11, 2022
* Refine statistic table (#41524)

* Add get profiler from config (#41532)

* no

* maintain old profiler

* add get profiler from serialization config

* add unit test

* improve coverage

* fix

* Revert "improve coverage"

This reverts commit 4a980bf.

* fix unit

* fix

* fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants