[config preprocess pipeline] add config preprocess pipeline.sh#677
Merged
Conversation
|
Thanks for your contribution! |
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.
新增config配置预处理pipeline,可以将运行模型产出的原始 api_config_1024.txt、api_config_2048.txt、api_config_4096.txt、api_config_8192.txt,推导出1M.txt,并且合并、去重、处理异常配置(例如两个配置写成一行的情况)。
执行示例,在PaddleAPITest目录下运行:
bash tester/api_config/run_pipeline.sh -i ./tester/api_config/api_origin_config -o ./tester/api_config/0714_eb_model_api_config
-i 原始配置文件夹
-o 产物文件夹