This repository has been archived by the owner on Aug 7, 2024. It is now read-only.
add unit tests for FSDP2 + torch.compile(transformer block) #609
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: 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 check . |