Skip to content
This repository was archived by the owner on Sep 18, 2024. It is now read-only.

Commit 9a4d0d6

Browse files
authored
Fix PAI virtualCluster in non-reuse mode (#4061)
1 parent f93e774 commit 9a4d0d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ts/nni_manager/training_service/pai/paiTrainingService.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -410,9 +410,9 @@ class PAITrainingService implements TrainingService {
410410
submitFrom: 'submit-job-v2'
411411
}
412412
}
413-
if (this.config.deprecated && this.config.deprecated.virtualCluster) {
413+
if (this.config.virtualCluster) {
414414
nniJobConfig.defaults = {
415-
virtualCluster: this.config.deprecated.virtualCluster
415+
virtualCluster: this.config.virtualCluster
416416
}
417417
}
418418
}

0 commit comments

Comments
 (0)