Unverified Commit 45e82b3e authored by J-shang's avatar J-shang Committed by GitHub
Browse files

quick fix exp-duration pause timing under no_more_trial status (#3043)


Co-authored-by: default avatarNing Shang <nishang@microsoft.com>
parent bc0f8f33
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment