-
Notifications
You must be signed in to change notification settings - Fork 4
48 lines (46 loc) · 1.47 KB
/
build-run-mlperf-tiny.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Build and run MLPerf Tiny Networks
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
inputs:
container-tag:
description: 'Container tag'
required: true
default: 'main'
jobs:
build-and-run-networks:
runs-on: ubuntu-latest
container:
image: ghcr.io/kuleuven-micas/snax-mlir:${{ github.event.inputs.container-tag || 'main' }}
steps:
- uses: actions/checkout@v3
- name: Install snax compiler
run: |
/opt/python3.11/bin/python3 -m pip install -e .
- name: Reinstall pip modules from requirements
run: |
/opt/python3.11/bin/python3 -m pip install -r requirements.txt
- name: Anomaly detection
run: |
export PATH=/opt/python3.11/bin:$PATH
make ad01_int8.preproc.mlir
xdsl-opt ad01_int8.preproc.mlir
working-directory: kernels/mlperf_tiny_ad01
- name: Image classfication
run: |
export PATH=/opt/python3.11/bin:$PATH
make pretrainedResnet_quant.preproc.mlir
working-directory: kernels/mlperf_tiny_ic
- name: Visual Wake Words
run: |
export PATH=/opt/python3.11/bin:$PATH
make vww_96_int8.preproc.mlir
working-directory: kernels/mlperf_tiny_vww
- name: Keyword spotting
run: |
export PATH=/opt/python3.11/bin:$PATH
make kws_ref_model.preproc.mlir
working-directory: kernels/mlperf_tiny_kws