Enable HF PretrainedModel loading for speculative model training #318
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: [pull_request] | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: psf/black@stable | |
with: | |
options: "--check --diff --color" | |
src: "." | |
version: "~= 23.3.0" | |
- uses: isort/isort-action@master | |
with: | |
sort-paths: . | |
requirementsFiles: "requirements.txt" # We don't need extra test requirements for linting |