未验证 提交 2e3c6803 编写于 作者: K kangguangli 提交者: GitHub

fix bug about no graph_optimizer (#51273)

上级 a729cb9c
......@@ -1367,6 +1367,10 @@ class Fleet:
copy_user_defined_strategy,
)
can_not_apply_optimizer_list.append(meta_optimizer)
# meaningless, just for compatibility with other code
graph_optimizer = None
else:
# compile time
distributed_optimizer_list = (
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册