config_pai.yml 750 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
authorName: default
experimentName: example_mnist
trialConcurrency: 1
maxExecDuration: 1h
maxTrialNum: 10
#choice: local, remote, pai
trainingServicePlatform: pai
#choice: true, false
useAnnotation: true
tuner:
xuehui's avatar
xuehui committed
11
  #choice: TPE, Random, Anneal, Evolution, BatchTuner, MetisTuner
12
13
14
15
16
17
18
19
20
21
22
23
  #SMAC (SMAC should be installed through nnictl)
  builtinTunerName: TPE
  classArgs:
    #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
24
  image: msranni/nni:latest
25
26
27
28
29
30
31
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