This repository has been archived by the owner on Aug 7, 2024. It is now read-only.
bring back torch.autograd.Function for float8 matmul #662
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: Ufmt | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.10"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
pip install black==23.3.0 usort==1.0.6 ufmt==2.1.0 libcst==1.0.1 | |
- name: Analyzing the code with ufmt | |
run: | | |
ufmt format . | |
git diff | |
git restore . | |
ufmt check . |