未验证 提交 fcec31ab 编写于 作者: H Haohongxiang 提交者: GitHub

fix pp release_output (#54673)

上级 3a8484c4
......@@ -675,6 +675,7 @@ class PipelineParallel(MetaParallelBase):
return (
t is not None
and isinstance(t, paddle.Tensor)
and t._is_initialized()
and t.inplace_version == 0
)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册