feat: simplify distiller config #296
This file contains 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: lint | |
on: push | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- python: "3.11" | |
torch: "2.0.1" | |
torchvision: "0.15.2" | |
steps: | |
- uses: LutingWang/todd/.github/actions/checkout-todd@main | |
- uses: actions/setup-python@master | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Lint | |
run: | | |
pip install torch==${{ matrix.torch }} torchvision==${{ matrix.torchvision }} | |
pip install .[optional,lint,doc,test] | |
mim install mmcv | |
pre-commit install | |
pre-commit run -a |