未验证 提交 6bc855d8 编写于 作者: Z zhaoyingli 提交者: GitHub

[AutoParallel] fix amp when predict (#46637)

上级 09569323
......@@ -520,6 +520,7 @@ class AMPPass(PassBase):
self._loss_scaling = None
self._num_good_steps = None
self._num_bad_steps = None
self._loss = None
def _check_self(self):
if self.get_attr("init_loss_scaling") < 0:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册