Closed HydrogenSulfate closed 1 week ago
As descripted in https://github.com/PaddlePaddle/Paddle/pull/63842, dtype should be explicitly specified to float(16/32), or error will be raised. So setting dtype as same as stacked loss seems fine.
dtype
https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/guides/advanced/auto_type_promotion_cn.html#sanfeijiangdeyinshileixingtishengshiyongfangfashuoming
As descripted in https://github.com/PaddlePaddle/Paddle/pull/63842,
dtype
should be explicitly specified to float(16/32), or error will be raised. So settingdtype
as same as stacked loss seems fine.https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/guides/advanced/auto_type_promotion_cn.html#sanfeijiangdeyinshileixingtishengshiyongfangfashuoming