[ARM]Add profile script#10064
Merged
wz1qqx merged 6 commits intoPaddlePaddle:developfrom Mar 10, 2023
Merged
Conversation
|
Thanks for your contribution! |
hong19860320
reviewed
Mar 7, 2023
lite/tools/models_list.txt
Outdated
| @@ -0,0 +1,13 @@ | |||
| AlexNet;images:1,3,224,224 | |||
Collaborator
There was a problem hiding this comment.
是否以常量或字符串参数放在profile.sh里面?不要单独以文件形式存在。
| # can be customed from terminal input | ||
| MODELS_DIR=test | ||
| OPT_DIR=nb_models | ||
| ANDROID_DIR=/data/local/tmp/profile |
Collaborator
There was a problem hiding this comment.
是否支持 armlinux?建议后续参考
同时支持 ssh 和 adb
Collaborator
Author
There was a problem hiding this comment.
当前仅支持adb方式,目的是让普通用户快速测试模型性能,用户和rd间通过profile输出文档进行模型性能问题的沟通。后续发版再添加armlinux支持。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR devices
Arm
PR types
New features
PR changes
Docs
Description
add profile.sh under lite/tools, It supports one-click conversion of the model into an nb model and transfers it to the device for time profile testing, and finally saves the results in the specified directory to improve daily work efficiency