Skip to content

Conversation

Turingg
Copy link
Contributor

@Turingg Turingg commented Mar 16, 2024

补充了paddle.amp.debugging.collect_operator_stats、paddle.amp.debugging.check_numerics、paddle.amp.debugging.check_layer_numerics
中文文档链接:#6427
@sunzhongkai588 @ooooo-create

Copy link

paddle-bot bot commented Mar 16, 2024

感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-6523.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html
预览工具的更多说明,请参考:飞桨文档预览工具

@@ -72,6 +72,8 @@ Debug 相关辅助类
:header: "类名称", "辅助类功能"
:widths: 10, 30

" :ref:`check_layer_numerics <cn_api_paddle_amp_debugging_check_layer_numerics>` ", "输入输出数据的数值检查"
Copy link
Collaborator

Choose a reason for hiding this comment

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

上面的标题写的是类名称,方法不太合适放在这里~感觉可以新增一项<数值检查相关 API>

@@ -72,6 +72,8 @@ Debug 相关辅助类
:header: "类名称", "辅助类功能"
:widths: 10, 30

" :ref:`check_layer_numerics <cn_api_paddle_amp_debugging_check_layer_numerics>` ", "输入输出数据的数值检查"
" :ref:`check_numerics <cn_api_paddle_amp_debugging_check_numerics>` ", "精度调试方法"
Copy link
Collaborator

Choose a reason for hiding this comment

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

”精度调试方法“,看着这个像是也属于数值检查的,我感觉"调试 Tensor 数值"更好~

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Copy link
Collaborator

@sunzhongkai588 sunzhongkai588 left a comment

Choose a reason for hiding this comment

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

LGTM

@luotao1 luotao1 merged commit b499154 into PaddlePaddle:develop Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor HappyOpenSource 快乐开源活动issue与PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants