devices.py - Update MPS FP16 check to account for upcoming MacOS Sonoma #350
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: style checks | |
# just formatting for now | |
# TODO: add isort and flake8 later | |
on: | |
pull_request: | |
push: | |
branches: main | |
jobs: | |
black: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies with pip | |
run: | | |
pip install black | |
# - run: isort --check-only . | |
- run: black --check . | |
# - run: flake8 |