[deps] update to transformers 4.52 (#8125)

This commit is contained in:
hoshi-hiyouga
2025-05-21 05:16:18 +08:00
committed by GitHub
parent 56926d76f9
commit 9ae17cd173
28 changed files with 365 additions and 109 deletions

View File

@@ -40,6 +40,9 @@ jobs:
- python: "3.9"
os: "ubuntu-latest"
transformers: "4.49.0"
- python: "3.9"
os: "ubuntu-latest"
transformers: "4.51.0"
runs-on: ${{ matrix.os }}
@@ -72,6 +75,11 @@ jobs:
run: |
python -m pip install "transformers==${{ matrix.transformers }}"
- name: Downgrade transformers
if: ${{ matrix.os == 'macos-13' }}
run: |
python -m pip install "transformers<4.52.0"
- name: Cache files
id: hf-hub-cache
uses: actions/cache@v4