-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
[Do not merge] Profiling inference unit-test for recognize digits #8497
[Do not merge] Profiling inference unit-test for recognize digits #8497
Conversation
… profile_mnist_inference_example
… profile_mnist_inference_example
@kexinzhao, @Xreki : Could you guys look at the usage of the profiling tool to make sure i did things in the proper way? |
@sidgoyal78 The usage of profiling tools generally looks good to me. |
Sorry for late reviewing. I have several suggestions:
Paddle/paddle/fluid/framework/operator.cc Lines 495 to 502 in 5b63568
A version of how to use the profiling tools, #8748 . |
Thanks for your reply @Xreki .
|
|
I run the test case 10 times programmatically, if you look at this line: https://github.com/PaddlePaddle/Paddle/pull/8497/files#diff-cd4ed9c3186a34c7d89b06ba5d5c932dR155 So the |
Sorry for not notice that. So, I think we mean the same thing. And indeed it is better to ignore the results of the first run. |
We use the the profiler created by @qingqing01 to time the c++ inference code for network corresponding to recognize digits.
For the results, please see: https://github.com/sidgoyal78/paddle_notes/blob/master/benchmark/recoginze_digits.md
Do not Merge!