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

add autotune.set_config api doc #4687

Merged
merged 5 commits into from
Apr 29, 2022

Conversation

zhangting2020
Copy link
Contributor

@zhangting2020 zhangting2020 commented Apr 27, 2022

add autotune.set_config api doc

image

@paddle-bot-old
Copy link

Thanks for your contribution!

@zhangting2020 zhangting2020 force-pushed the autotune_api branch 2 times, most recently from dd3791a to 545f121 Compare April 27, 2022 05:31
Copy link
Collaborator

@gongweibao gongweibao left a comment

Choose a reason for hiding this comment

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

只有layout的调优目前不支持静态图
这个是否要写入文档?

- **enable** (bool) - 是否开启kernel的调优功能。
- **tuning_range** (list) - 自动调优开始和结束的迭代序号。默认值:[1, 10]。

2. layout:当开启自动调优,将根据设备和数据类型确定最优的数据布局如NCHW或者NHWC。当原始的layout设置并非最优时,将会自动进行layout的转换以提升模型的性能。该功能当前仅支持动态图模式。调优参数如下:
Copy link
Collaborator

Choose a reason for hiding this comment

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

该功能当前仅支持动态图模式 请加粗一下?

@zhangting2020 zhangting2020 merged commit b03f551 into PaddlePaddle:develop Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants