This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Huawei_Technology
/
mindspore
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
13
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
1.Fix server exit error in pytest.
2.Supports large tensor allocation in PS mode.
tags/v0.7.0-beta
ZPaC
5 years ago
parent
dc66663de4
commit
e3ee8da68d
1 changed files
with
1 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-2
mindspore/train/model.py
+ 1
- 2
mindspore/train/model.py
View File
@@ -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
Write
Preview
Loading…
Cancel
Save