Skip to content

fix: serialize model/tokenizer loading across ranks to avoid HF cache… #127

fix: serialize model/tokenizer loading across ranks to avoid HF cache…

fix: serialize model/tokenizer loading across ranks to avoid HF cache… #127

Workflow file for this run

name: Linting and formatting
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
types: [opened, synchronize, reopened, edited]
jobs:
run-pre-commit-on-all-files:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Python 3.13
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install pre-commit
run: |
pip install pre-commit
pre-commit install
- name: Run pre-commit
run: |-
pre-commit run --all-files