First round of refactoring #11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| build-deepquant: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/pulp-platform/deepquant:main | |
| steps: | |
| - name: Checkout Repo | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Build DeepQuant | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e . | |
| single-layer-tests: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/pulp-platform/deepquant:main | |
| steps: | |
| - name: Checkout Repo | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Build DeepQuant | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e . | |
| - name: Run Tests | |
| run: | | |
| pytest Tests/TestSimpleCNN.py | |
| pytest Tests/TestSimpleMHA.py | |
| pytest Tests/TestSimpleNN.py | |
| model-tests: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/pulp-platform/deepquant:main | |
| steps: | |
| - name: Checkout Repo | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Build DeepQuant | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e . | |
| - name: Run Tests | |
| run: | | |
| pytest Tests/TestMnist.py |