Skip to content

Formatting

Formatting #8531

Workflow file for this run

name: Formatting
on:
pull_request:
branches:
'**'
merge_group:
branches: [ master ]
schedule:
- cron: "0 0 * * *"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
# formatting and basic install on cpu-only machine
formatting:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: environment
run: |
which python
python --version
- name: Install deepspeed
run: |
pip install .[dev,autotuning,triton]
ds_report
- name: Formatting checks
run: |
pip show pre-commit clang-format
pre-commit run --all-files