Skip to content

Setup: bump python & torch version #1502

Setup: bump python & torch version

Setup: bump python & torch version #1502

Workflow file for this run

name: Test Brevitas-ORT integration
on:
push:
branches: [ master, dev ]
pull_request:
types:
- review_requested
jobs:
build:
runs-on: ${{ matrix.platform }}
strategy:
fail-fast: false
matrix:
python_version: ['3.9', '3.10']
pytorch_version: ['1.11.0', '1.12.1', '1.13.0', '2.0.1', '2.1.0', '2.2.2', '2.3.1']
platform: ['windows-latest', 'ubuntu-latest', 'macos-latest']
if: ${{ !github.event.pull_request.draft }}
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python_version }}
- name: Install Nox dependencies
shell: bash
run: pip install -r requirements/requirements-nox.txt
- name: Install update
shell: bash
run: sudo apt-get update
if: startsWith(runner.os, 'Linux') == true
- name: Install libsndfile and libgomp1 on Ubuntu
shell: bash
run: sudo apt-get install -y libsndfile-dev libgomp1
if: startsWith(runner.os, 'Linux') == true
- name: Install libomp on macOS
shell: bash
run: brew install libomp
if: startsWith(runner.os, 'macOS') == true
- name: Run Nox session for Brevitas-ORT integration
shell: bash
run: nox -v -s tests_brevitas_ort_integration-${{ matrix.python_version }}\(\pytorch_${{ matrix.pytorch_version }}\)