提交 b8a66a17 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!4812 Fix server exit error.

Merge pull request !4812 from ZPaC/master-fix-server-exit-error-and-parameter-alloc-for-large-tensor
......@@ -16,7 +16,6 @@
from collections.abc import Iterable
import os
import sys
import math
import numpy as np
......@@ -498,7 +497,7 @@ class Model:
list_callback.step_end(run_context)
if os.getenv("MS_ROLE") == "MS_PSERVER":
sys.exit(0)
os._exit(0)
should_stop = should_stop or run_context.get_stop_requested()
if should_stop:
break
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册