Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
45e82b3e
Unverified
Commit
45e82b3e
authored
Nov 01, 2020
by
J-shang
Committed by
GitHub
Nov 01, 2020
Browse files
quick fix exp-duration pause timing under no_more_trial status (#3043)
Co-authored-by:
Ning Shang
<
nishang@microsoft.com
>
parent
bc0f8f33
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ts/nni_manager/core/nnimanager.ts
ts/nni_manager/core/nnimanager.ts
+1
-1
No files found.
ts/nni_manager/core/nnimanager.ts
View file @
45e82b3e
...
...
@@ -468,7 +468,7 @@ class NNIManager implements Manager {
let
count
:
number
=
1
;
while
(
!
[
'
ERROR
'
,
'
STOPPING
'
,
'
STOPPED
'
].
includes
(
this
.
status
.
status
))
{
await
delay
(
1000
*
1
);
// 1 seconds
if
(
this
.
status
.
status
===
'
RUNNING
'
)
{
if
([
'
RUNNING
'
,
'
NO_MORE_TRIAL
'
,
'
TUNER_NO_MORE_TRIAL
'
].
includes
(
this
.
status
.
status
)
)
{
this
.
experimentProfile
.
execDuration
+=
1
;
if
(
count
%
10
===
0
)
{
await
this
.
storeExperimentProfile
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment