config_pai.yml 880 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
authorName: default
experimentName: example_ga_squad
trialConcurrency: 1
maxExecDuration: 1h
maxTrialNum: 10
#choice: local, remote, pai
trainingServicePlatform: pai
#choice: true, false
useAnnotation: false
ShufanHuang's avatar
ShufanHuang committed
10
11
#Your nni_manager ip
nniManagerIp: 10.10.10.10
12
tuner:
ShufanHuang's avatar
ShufanHuang committed
13
  codeDir: ../../tuners/ga_customer_tuner
14
15
16
17
18
  classFileName: customer_tuner.py
  className: CustomerTuner
  classArgs:
    optimize_mode: maximize
trial:
ShufanHuang's avatar
ShufanHuang committed
19
  command: chmod +x ./download.sh && ./download.sh && python3 trial.py
20
21
22
  codeDir: .
  gpuNum: 0
  cpuNum: 1
ShufanHuang's avatar
ShufanHuang committed
23
  memoryMB: 32869
24
  #The docker image to run nni job on pai
25
  image: msranni/nni:latest
QuanluZhang's avatar
QuanluZhang committed
26
27
28
  nniManagerNFSMountPath: /home/user/mnt
  containerNFSMountPath: /mnt/data/user
  paiStoragePlugin: team_wise
29
30
31
paiConfig:
  #The username to login pai
  userName: username
QuanluZhang's avatar
QuanluZhang committed
32
33
  #The token to login pai
  token: token
34
  #The host of restful server of pai
ShufanHuang's avatar
ShufanHuang committed
35
  host: 10.10.10.10