config_pai.yml 1.07 KB
Newer Older
QuanluZhang's avatar
QuanluZhang committed
1
2
3
4
5
6
7
8
9
10
11
authorName: default
experimentName: example_mnist_hyperband
maxExecDuration: 1h
maxTrialNum: 10000
trialConcurrency: 10
#choice: local, remote, pai
trainingServicePlatform: pai
searchSpacePath: search_space.json
#choice: true, false
useAnnotation: false
advisor:
Shufan Huang's avatar
Shufan Huang committed
12
  #choice: Hyperband, BOHB
QuanluZhang's avatar
QuanluZhang committed
13
14
  builtinAdvisorName: Hyperband
  classArgs:
Shufan Huang's avatar
Shufan Huang committed
15
    #R: the maximum trial budget
QuanluZhang's avatar
QuanluZhang committed
16
17
18
19
20
21
22
23
24
25
26
27
    R: 100
    #eta: proportion of discarded trials
    eta: 3
    #choice: maximize, minimize
    optimize_mode: maximize
trial:
  command: python3 mnist.py
  codeDir: .
  gpuNum: 0
  cpuNum: 1
  memoryMB: 8196
  #The docker image to run nni job on pai
28
  image: msranni/nni:latest
QuanluZhang's avatar
QuanluZhang committed
29
30
31
32
33
34
35
36
37
38
39
  #The hdfs directory to store data on pai, format 'hdfs://host:port/directory'
  dataDir: hdfs://10.10.10.10:9000/username/nni
  #The hdfs directory to store output data generated by nni, format 'hdfs://host:port/directory'
  outputDir: hdfs://10.10.10.10:9000/username/nni
paiConfig:
  #The username to login pai
  userName: username
  #The password to login pai
  passWord: password
  #The host of restful server of pai
  host: 10.10.10.10