"tests/configs/ocr_ppocr_rec_mobile_params.txt" did not exist on "c40de77ca5f43e1f03aeb01547938ab57f0ab631"
full-test-compression.yml 1.41 KB
Newer Older
1
trigger: none
J-shang's avatar
J-shang committed
2

Yuge Zhang's avatar
Yuge Zhang committed
3
4
5
6
schedules:
- cron: 0 18 * * *
  branches:
    include: [ master ]
7
  always: true
8

J-shang's avatar
J-shang committed
9
10
11
12
13
14
15
16
resources:
  repositories:
    - repository: azpfilter
      type: github
      name: microsoft/azure-pipeline-filter
      endpoint: github-filter-connection

variables:
17
  filter.modified.globs: 'examples/model_compress/**,nni/algorithms/compression/**,nni/compression/**,pipelines/full-test-compression.yml,test/algo/compression/**'
J-shang's avatar
J-shang committed
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
  filter.prbody.heading: '#### Test Options'
  filter.prbody.optionIndex: 3

stages:
- stage: filter
  jobs:
  - job: check
    pool:
      vmImage: ubuntu-latest
    steps:
    - template: templates/stage-filter.yml

- stage: test
  # dependencies.$(StageName).outputs['$(JobName).$(TaskName).$(VariableName)']
  condition: and(succeeded(), ne(dependencies.filter.outputs['check.execution.skipsubsequent'], 'true'))
  jobs:
  - job: linux
Yuge Zhang's avatar
Yuge Zhang committed
35
    pool: nni-it-1es-11
J-shang's avatar
J-shang committed
36
    timeoutInMinutes: 60
37

J-shang's avatar
J-shang committed
38
    steps:
39
    - template: templates/check-gpu-status.yml
Yuge Zhang's avatar
Yuge Zhang committed
40

J-shang's avatar
J-shang committed
41
42
    - template: templates/install-dependencies.yml
      parameters:
Yuge Zhang's avatar
Yuge Zhang committed
43
44
        platform: ubuntu-latest-gpu
        python_env: venv
45

J-shang's avatar
J-shang committed
46
    - template: templates/install-nni.yml
47

J-shang's avatar
J-shang committed
48
    - template: templates/download-test-data.yml
49

50
51
52
    - script: |
        cd test/algo
        python -m pytest compression
Yuge Zhang's avatar
Yuge Zhang committed
53
      displayName: Compression unit test
54

Yuge Zhang's avatar
Yuge Zhang committed
55
56
57
58
    - script: |
        cd test
        source scripts/model_compression.sh
      displayName: Model compression test