Skip to content

Commit

Permalink
Fix PAI virtualCluster in non-reuse mode (#4061)
Browse files Browse the repository at this point in the history
  • Loading branch information
SparkSnail committed Aug 11, 2021
1 parent f93e774 commit 9a4d0d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ts/nni_manager/training_service/pai/paiTrainingService.ts
Expand Up @@ -410,9 +410,9 @@ class PAITrainingService implements TrainingService {
submitFrom: 'submit-job-v2'
}
}
if (this.config.deprecated && this.config.deprecated.virtualCluster) {
if (this.config.virtualCluster) {
nniJobConfig.defaults = {
virtualCluster: this.config.deprecated.virtualCluster
virtualCluster: this.config.virtualCluster
}
}
}
Expand Down

0 comments on commit 9a4d0d6

Please sign in to comment.