Skip to content

Unify NMSs and FastPreProcess as FastVisionOps #7

Unify NMSs and FastPreProcess as FastVisionOps

Unify NMSs and FastPreProcess as FastVisionOps #7

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
jobs:
test:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install package
run: python -m pip install --upgrade pip && python -m pip install .
- name: Build native backend
run: python -m fastvisionops.build
- name: Run test suite
run: python -m unittest discover -s tests -v
- name: Smoke-test benchmark runners
run: |
python -m benchmarks.benchmark_bbox --sizes 16 64 --warmup 0 --repeats 1 --batch-size 2 --batch-boxes 32 --workers 2 --format json
python -m benchmarks.benchmark_preprocess --batches 1 2 --height 32 --width 32 --warmup 0 --repeats 1 --threads 2 --format json