Skip to content

allow inference test to generate timeline#10526

Merged
panyx0718 merged 1 commit into
PaddlePaddle:developfrom
panyx0718:infer_profile2
May 18, 2018
Merged

allow inference test to generate timeline#10526
panyx0718 merged 1 commit into
PaddlePaddle:developfrom
panyx0718:infer_profile2

Conversation

@panyx0718
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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