未验证 提交 bbdc1683 编写于 作者: P pangengzheng 提交者: GitHub

fix cuda mem in sharding parallel (#55653)

上级 07e788f1
......@@ -187,10 +187,11 @@ class HybridCommunicateGroup:
"data"
)
(
self.sharding_check_group,
self.sharding_check_comm_group,
) = self._set_check_group("sharding")
if self._sharding_degree > 1:
(
self.sharding_check_group,
self.sharding_check_comm_group,
) = self._set_check_group("sharding")
# create p2p group
self.is_first_stage = self.stage_id == 0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册