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

allow inference test to generate timeline #10526

Merged
merged 1 commit into from
May 18, 2018

Conversation

panyx0718
Copy link
Contributor

generate timeline file
PYTHONPATH=/paddle/dev/my/build2/python/ python /paddle/dev/my/Paddle2/tools/timeline.py --profile_path=train=run_inference_profiler --timeline_path=/tmp/timeline_infer
visualize it
open url chrome://tracing

generate timeline file
PYTHONPATH=/paddle/dev/my/build2/python/ python /paddle/dev/my/Paddle2/tools/timeline.py --profile_path=train=run_inference_profiler --timeline_path=/tmp/timeline_infer
visualize it
open url chrome://tracing
@panyx0718 panyx0718 requested a review from Xreki May 9, 2018 10:20
@Xreki Xreki added the 预测 原名Inference,包含Capi预测问题等 label May 9, 2018
Copy link
Contributor

@Xreki Xreki left a comment

Choose a reason for hiding this comment

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

LGTM. 我之前看过timeline,觉得不如直接看profile数据直观,所以维持使用kCUDAkCUDAkAll得到的profile数据差不多的,所以都可以。

@panyx0718
Copy link
Contributor Author

kAll的话profile和timeline都会生成

@panyx0718 panyx0718 merged commit 8e3e65f into PaddlePaddle:develop May 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
预测 原名Inference,包含Capi预测问题等
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants