Skip to content

[config preprocess pipeline] add config preprocess pipeline.sh#677

Merged
cangtianhuang merged 1 commit into
mainfrom
fix-config-tools-00
Jul 14, 2026
Merged

[config preprocess pipeline] add config preprocess pipeline.sh#677
cangtianhuang merged 1 commit into
mainfrom
fix-config-tools-00

Conversation

@Zeref996

Copy link
Copy Markdown
Collaborator

新增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 产物文件夹

@cangtianhuang cangtianhuang left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@cangtianhuang
cangtianhuang merged commit 8dd0ae7 into main Jul 14, 2026
1 check passed
@cangtianhuang
cangtianhuang deleted the fix-config-tools-00 branch July 14, 2026 09:22
@paddle-bot

paddle-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown

Thanks for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants