config_pai.yml 996 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
authorName: default
experimentName: example_mnist-keras
trialConcurrency: 1
maxExecDuration: 1h
maxTrialNum: 10
#choice: local, remote, pai
trainingServicePlatform: pai
searchSpacePath: search_space.json
#choice: true, false
useAnnotation: false
tuner:
  #choice: TPE, Random, Anneal, Evolution, BatchTuner
  #SMAC (SMAC should be installed through nnictl)
  builtinTunerName: BatchTuner
trial:
  command: python3 mnist-keras.py
  codeDir: .
  gpuNum: 0
  cpuNum: 1
  memoryMB: 8196
  #The docker image to run nni job on pai
22
  image: msranni/nni:latest
23
  #The hdfs directory to store data on pai, format 'hdfs://host:port/directory'
chicm-ms's avatar
chicm-ms committed
24
  dataDir: hdfs://10.10.10.10:9000/username/nni
25
  #The hdfs directory to store output data generated by nni, format 'hdfs://host:port/directory'
chicm-ms's avatar
chicm-ms committed
26
  outputDir: hdfs://10.10.10.10:9000/username/nni
27
28
29
30
31
32
paiConfig:
  #The username to login pai
  userName: username
  #The password to login pai
  passWord: password
  #The host of restful server of pai
xuehui's avatar
xuehui committed
33
  host: 10.10.10.10