Skip to content
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

update hpi config #14076

Merged
merged 1 commit into from
Nov 8, 2024
Merged

Conversation

zhangyubo0722
Copy link
Collaborator

No description provided.

None,
if config["Global"].get("pdx_model_name", None):
infer_cfg["Global"] = {"model_name": config["Global"]["pdx_model_name"]}
if config["Global"].get("uniform_output_enabled", None):
Copy link
Member

Choose a reason for hiding this comment

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

如果uniform_output_enabled是用于控制“是否根据任务常见数据范围确定dynamic shape”,是不是不应该包含RecResizeImg这种固定形状的情形?毕竟这种好像并不算是“uniform_output”,而是根据前后处理以及模型input spec确定的

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

uniform_output_enabled是决定是否保存hpi config,这里也是需要将dynamic shape获取从transform改为input spec

@zhangyubo0722 zhangyubo0722 changed the title [WIP]update hpi config update hpi config Nov 8, 2024
@cuicheng01 cuicheng01 merged commit b153f10 into PaddlePaddle:main Nov 8, 2024
3 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants