未验证 提交 7ba843e6 编写于 作者: Z zhaoyingli 提交者: GitHub

bug fix (#43153)

上级 d05b940a
...@@ -1307,7 +1307,7 @@ class Completer: ...@@ -1307,7 +1307,7 @@ class Completer:
if serial_main_program is None: if serial_main_program is None:
serial_main_program = self._dist_context.serial_main_program serial_main_program = self._dist_context.serial_main_program
else: else:
self._dist_context.serial_main_program = serial_main_program self._dist_context._serial_main_program = serial_main_program
import time import time
......
...@@ -32,4 +32,5 @@ if(WITH_DISTRIBUTE AND WITH_GPU) ...@@ -32,4 +32,5 @@ if(WITH_DISTRIBUTE AND WITH_GPU)
py_test_modules(test_comm_cost MODULES test_comm_cost ENVS ${dist_ENVS}) py_test_modules(test_comm_cost MODULES test_comm_cost ENVS ${dist_ENVS})
py_test_modules(test_comp_cost MODULES test_comp_cost ENVS ${dist_ENVS}) py_test_modules(test_comp_cost MODULES test_comp_cost ENVS ${dist_ENVS})
py_test_modules(test_dist_context MODULES test_dist_context ENVS ${dist_ENVS}) py_test_modules(test_dist_context MODULES test_dist_context ENVS ${dist_ENVS})
py_test_modules(test_prim_dist_op MODULES test_prim_dist_op ENVS ${dist_ENVS})
endif() endif()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册