config_pai.yml 1.01 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
Shufan Huang's avatar
Shufan Huang committed
13
  #(BOHB should be installed through nnictl)
QuanluZhang's avatar
QuanluZhang committed
14
15
  builtinAdvisorName: Hyperband
  classArgs:
Shufan Huang's avatar
Shufan Huang committed
16
    #R: the maximum trial budget
QuanluZhang's avatar
QuanluZhang committed
17
18
19
20
21
    R: 100
    #eta: proportion of discarded trials
    eta: 3
    #choice: maximize, minimize
    optimize_mode: maximize
J-shang's avatar
J-shang committed
22
23
    #choice: serial, parallelism
    exec_mode: parallelism
QuanluZhang's avatar
QuanluZhang committed
24
25
26
27
28
29
30
trial:
  command: python3 mnist.py
  codeDir: .
  gpuNum: 0
  cpuNum: 1
  memoryMB: 8196
  #The docker image to run nni job on pai
31
  image: msranni/nni:latest
SparkSnail's avatar
SparkSnail committed
32
33
  nniManagerNFSMountPath: /home/user/mnt
  containerNFSMountPath: /mnt/data/user
34
  paiStorageConfigName: confignfs-data
QuanluZhang's avatar
QuanluZhang committed
35
36
37
paiConfig:
  #The username to login pai
  userName: username
SparkSnail's avatar
SparkSnail committed
38
39
  #The token to login pai
  token: token
QuanluZhang's avatar
QuanluZhang committed
40
41
  #The host of restful server of pai
  host: 10.10.10.10