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

Commit

Permalink
Fix pai pipeline (#2123)
Browse files Browse the repository at this point in the history
  • Loading branch information
SparkSnail authored Mar 5, 2020
1 parent 475a57d commit 46342a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/generate_ts_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ def update_training_service_config(args):
config[args.ts]['paiConfig']['token'] = args.pai_token
if args.nni_docker_image is not None:
config[args.ts]['trial']['image'] = args.nni_docker_image
if args.nniManagerNFSMountPath is not None:
if args.nni_manager_nfs_mount_path is not None:
config[args.ts]['trial']['nniManagerNFSMountPath'] = args.nni_manager_nfs_mount_path
if args.containerNFSMountPath is not None:
if args.container_nfs_mount_path is not None:
config[args.ts]['trial']['containerNFSMountPath'] = args.container_nfs_mount_path
if args.paiStoragePlugin is not None:
if args.pai_storage_plugin is not None:
config[args.ts]['trial']['paiStoragePlugin'] = args.pai_storage_plugin
if args.vc is not None:
config[args.ts]['trial']['virtualCluster'] = args.vc
Expand Down

0 comments on commit 46342a7

Please sign in to comment.