Skip to content

fix: add proper min_lr break condition #368

fix: add proper min_lr break condition

fix: add proper min_lr break condition #368

Workflow file for this run

name: Pytest Testing
on: [push]
jobs:
changes:
uses: ./.github/workflows/filter.yaml
test-python:
name: HalutConv2d and HalutLinear tests
needs: changes
if: ${{ needs.changes.outputs.algorithmic == 'true' }}
strategy:
fail-fast: false
matrix:
split: [1, 2, 3, 4, 5]
runs-on: ubuntu-latest
container:
image: ghcr.io/joennlae/halutmatmul-conda-gpu:latest
defaults:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v3
- name: Test with pytest
run: |
source /venv/bin/activate
pytest -srPA -m "not heavy" -k "not gpu" --splits 5 --group ${{ matrix.split }}
e2e-python:
name: E2E test using ResNet18
needs: changes
if: ${{ needs.changes.outputs.algorithmic == 'true' }}
runs-on: ubuntu-latest
container:
image: ghcr.io/joennlae/halutmatmul-conda-gpu:latest
defaults:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v3
- name: E2E test using ResNet18
run: |
source /venv/bin/activate
pytest -srPA -m "heavy"