Skip to content

Fix (quantize): fix and improvements for fx quantize #711

Fix (quantize): fix and improvements for fx quantize

Fix (quantize): fix and improvements for fx quantize #711

name: Test develop install
on:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
jobs:
build:
runs-on: ${{ matrix.platform }}
strategy:
fail-fast: false
matrix:
python_version: ['3.8']
pytorch_version: ['1.9.1', '1.10.1', '1.13.0']
platform: ['ubuntu-latest']
if: ${{ !github.event.pull_request.draft }}
steps:
- name: Checkout repo
uses: actions/checkout@v2
- 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 libsndfile and libgomp1 on Ubuntu
shell: bash
run: sudo apt-get update
run: sudo apt-get install -y libsndfile-dev libgomp1

Check failure on line 45 in .github/workflows/reduced_develop_install.yml

View workflow run for this annotation

GitHub Actions / Test develop install

Invalid workflow file

The workflow is not valid. .github/workflows/reduced_develop_install.yml (Line: 45, Col: 7): 'run' is already defined
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 testing brevitas develop install and imports
shell: bash
run: nox -v -s tests_brevitas_install_dev-${{ matrix.python_version }}\(\pytorch_${{ matrix.pytorch_version }}\)
- name: Run Nox session for testing brevitas_examples develop install and imports
shell: bash
run: nox -v -s tests_brevitas_examples_install_dev-${{ matrix.python_version }}\(\pytorch_${{ matrix.pytorch_version }}\)