full-test-hpo.yml 897 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
trigger: none
pr: none
# schedules:
# - cron: 0 16 * * *
#   branches:
#     include: [ master ]

jobs:
- job: linux
  pool: nni-it
11
  timeoutInMinutes: 60
12
13
14
15
16

  steps:
  - template: templates/install-dependencies.yml
    parameters:
      platform: ubuntu-latest-gpu
17
      python_env: venv
18
19
20

  - template: templates/install-nni.yml

21
  - template: templates/install-customized-tuner.yml
22
23
24
25
26
27
28
29
30
31
32
33
34

  - script: |
      set -e
      (cd test && python -m pytest ut)
      export PATH=$PATH:$PWD/toolchain/yarn/bin
      export CI=true
      (cd ts/nni_manager && yarn test)
    displayName: SDK unit test

  # TODO: this should be replaced with a dedicated HPO algo test suite

  - script: |
      cd test
35
      python training_service/nnitest/run_tests.py --config training_service/config/integration_tests.yml --ts local
36
37
38
    displayName: Integration test

# TODO: should add a test on platforms other than linux