Unverified Commit 159f9b34 authored by J-shang's avatar J-shang Committed by GitHub
Browse files

update sharedstorage config to v2 (#3733)

parent d1b1e7b3
authorName: default searchSpaceFile: search_space.json
experimentName: example_mnist trialCommand: python3 mnist.py
trialGpuNumber: 0
trialConcurrency: 1 trialConcurrency: 1
maxExecDuration: 1h maxTrialNumber: 10
maxTrialNum: 10
trainingServicePlatform: aml
searchSpacePath: search_space.json
#choice: true, false
useAnnotation: false
tuner: tuner:
#choice: TPE, Random, Anneal, Evolution, BatchTuner, MetisTuner, GPTuner name: TPE
#SMAC (SMAC should be installed through nnictl)
builtinTunerName: TPE
classArgs: classArgs:
#choice: maximize, minimize
optimize_mode: maximize optimize_mode: maximize
trial: trainingService:
command: python3 mnist.py platform: remote
codeDir: . machineList:
image: msranni/nni - host: ${your server's IP or domain name}
amlConfig: user: ${your user name}
subscriptionId: ${replace_to_your_subscriptionId} ssh_key_file: ~/.ssh/id_rsa # We recommend public key over password, it's more secure and convenient.
resourceGroup: ${replace_to_your_resourceGroup} # You can specify more than one SSH servers:
workspaceName: ${replace_to_your_workspaceName} - host: 123.123.123.123
computeTarget: ${replace_to_your_computeTarget} port: 10022
user: nniuser
password: 12345
pythonPath: /usr/bin # Other examples:
# /opt/python3.9/bin
# C:/Python39
# C:/Users/USERNAME/.conda/envs/ENVNAME;C:/Users/USERNAME/.conda/envs/ENVNAME/Scripts;C:/Users/USERNAME/.conda/envs/ENVNAME/Library/bin
sharedStorage: sharedStorage:
storageType: AzureBlob storageType: AzureBlob
localMountPoint: ${your/local/mount/point} localMountPoint: ${your/local/mount/point}
......
authorName: default searchSpaceFile: search_space.json
experimentName: example_mnist trialCommand: python3 mnist.py
trialGpuNumber: 0
trialConcurrency: 1 trialConcurrency: 1
maxExecDuration: 1h maxTrialNumber: 10
maxTrialNum: 10
trainingServicePlatform: aml
searchSpacePath: search_space.json
#choice: true, false
useAnnotation: false
tuner: tuner:
#choice: TPE, Random, Anneal, Evolution, BatchTuner, MetisTuner, GPTuner name: TPE
#SMAC (SMAC should be installed through nnictl)
builtinTunerName: TPE
classArgs: classArgs:
#choice: maximize, minimize
optimize_mode: maximize optimize_mode: maximize
trial: trainingService:
command: python3 mnist.py platform: remote
codeDir: . machineList:
image: msranni/nni - host: ${your server's IP or domain name}
amlConfig: user: ${your user name}
subscriptionId: ${replace_to_your_subscriptionId} ssh_key_file: ~/.ssh/id_rsa # We recommend public key over password, it's more secure and convenient.
resourceGroup: ${replace_to_your_resourceGroup} # You can specify more than one SSH servers:
workspaceName: ${replace_to_your_workspaceName} - host: 123.123.123.123
computeTarget: ${replace_to_your_computeTarget} port: 10022
user: nniuser
password: 12345
pythonPath: /usr/bin # Other examples:
# /opt/python3.9/bin
# C:/Python39
# C:/Users/USERNAME/.conda/envs/ENVNAME;C:/Users/USERNAME/.conda/envs/ENVNAME/Scripts;C:/Users/USERNAME/.conda/envs/ENVNAME/Library/bin
sharedStorage: sharedStorage:
storageType: NFS storageType: NFS
localMountPoint: ${your/local/mount/point} localMountPoint: ${your/local/mount/point}
......
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