Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
159f9b34
"...resnet50_tensorflow.git" did not exist on "d48d036af000339488ae17b02f51a35cbd19344b"
Unverified
Commit
159f9b34
authored
Jun 09, 2021
by
J-shang
Committed by
GitHub
Jun 09, 2021
Browse files
update sharedstorage config to v2 (#3733)
parent
d1b1e7b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
42 deletions
+40
-42
examples/trials/mnist-sharedstorage/config_azureblob.yml
examples/trials/mnist-sharedstorage/config_azureblob.yml
+20
-21
examples/trials/mnist-sharedstorage/config_nfs.yml
examples/trials/mnist-sharedstorage/config_nfs.yml
+20
-21
No files found.
examples/trials/mnist-sharedstorage/config_azureblob.yml
View file @
159f9b34
authorName
:
default
experimentName
:
example_mnist
searchSpaceFile
:
search_space.json
trialCommand
:
python3 mnist.py
trialGpuNumber
:
0
trialConcurrency
:
1
maxExecDuration
:
1h
maxTrialNum
:
10
trainingServicePlatform
:
aml
searchSpacePath
:
search_space.json
#choice: true, false
useAnnotation
:
false
maxTrialNumber
:
10
tuner
:
#choice: TPE, Random, Anneal, Evolution, BatchTuner, MetisTuner, GPTuner
#SMAC (SMAC should be installed through nnictl)
builtinTunerName
:
TPE
name
:
TPE
classArgs
:
#choice: maximize, minimize
optimize_mode
:
maximize
trial
:
command
:
python3 mnist.py
codeDir
:
.
image
:
msranni/nni
amlConfig
:
subscriptionId
:
${replace_to_your_subscriptionId}
resourceGroup
:
${replace_to_your_resourceGroup}
workspaceName
:
${replace_to_your_workspaceName}
computeTarget
:
${replace_to_your_computeTarget}
trainingService
:
platform
:
remote
machineList
:
-
host
:
${your server's IP or domain name}
user
:
${your user name}
ssh_key_file
:
~/.ssh/id_rsa
# We recommend public key over password, it's more secure and convenient.
# You can specify more than one SSH servers:
-
host
:
123.123.123.123
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
:
storageType
:
AzureBlob
localMountPoint
:
${your/local/mount/point}
...
...
examples/trials/mnist-sharedstorage/config_nfs.yml
View file @
159f9b34
authorName
:
default
experimentName
:
example_mnist
searchSpaceFile
:
search_space.json
trialCommand
:
python3 mnist.py
trialGpuNumber
:
0
trialConcurrency
:
1
maxExecDuration
:
1h
maxTrialNum
:
10
trainingServicePlatform
:
aml
searchSpacePath
:
search_space.json
#choice: true, false
useAnnotation
:
false
maxTrialNumber
:
10
tuner
:
#choice: TPE, Random, Anneal, Evolution, BatchTuner, MetisTuner, GPTuner
#SMAC (SMAC should be installed through nnictl)
builtinTunerName
:
TPE
name
:
TPE
classArgs
:
#choice: maximize, minimize
optimize_mode
:
maximize
trial
:
command
:
python3 mnist.py
codeDir
:
.
image
:
msranni/nni
amlConfig
:
subscriptionId
:
${replace_to_your_subscriptionId}
resourceGroup
:
${replace_to_your_resourceGroup}
workspaceName
:
${replace_to_your_workspaceName}
computeTarget
:
${replace_to_your_computeTarget}
trainingService
:
platform
:
remote
machineList
:
-
host
:
${your server's IP or domain name}
user
:
${your user name}
ssh_key_file
:
~/.ssh/id_rsa
# We recommend public key over password, it's more secure and convenient.
# You can specify more than one SSH servers:
-
host
:
123.123.123.123
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
:
storageType
:
NFS
localMountPoint
:
${your/local/mount/point}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment