Feat: Extend ptq_evaluate to allow switching between torchvision and timm datsets #2159
Workflow file for this run
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: Pre-Commit Workflow | |
on: | |
push: | |
branches: [ master, dev ] | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- ready_for_review | |
- review_requested | |
jobs: | |
pre_commit: | |
name: pre-commit | |
runs-on: ubuntu-latest | |
if: ${{ !github.event.pull_request.draft }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.7' | |
- name: Run pre-commit | |
uses: pre-commit/action@v2.0.3 | |
with: | |
extra_args: --verbose --all-files |