Skip to content

add pyright CI

add pyright CI #1350

name: Build MLPerf Tiny Networks
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
build-and-run-networks:
runs-on: ubuntu-24.04
strategy:
matrix:
model:
- name: ad01_int8
dir: kernels/mlperf_tiny_ad01
- name: pretrainedResnet_quant
dir: kernels/mlperf_tiny_ic
- name: vww_96_int8
dir: kernels/mlperf_tiny_vww
- name: kws_ref_model
dir: kernels/mlperf_tiny_kws
steps:
- uses: actions/checkout@v3
- uses: prefix-dev/[email protected]
with:
cache: true
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
- name: snax-opt network compilation
run: |
pixi run make ${{ matrix.model.name }}.o
working-directory: ${{ matrix.model.dir }}
- name: vanilla network compilation
run: |
pixi run make ${{ matrix.model.name }}.no-snax-opt.o
working-directory: ${{ matrix.model.dir }}