Skip to content

Commit cc4157d

Browse files
committed
add transformers 5.0 to CI
1 parent 0315031 commit cc4157d

File tree

8 files changed

+25
-23
lines changed

8 files changed

+25
-23
lines changed

.github/workflows/check-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
strategy:
1616
matrix:
1717
os: [ubuntu-latest, macOS-latest, windows-latest]
18-
python: ['3.11', '3.12']
19-
transformers: ['4.48.3', '4.52.4', '4.55.4', 'main']
20-
torch: ['2.7', '2.8', 'main']
18+
python: ['3.13']
19+
transformers: ['5.0', 'main']
20+
torch: ['2.10', 'main']
2121

2222
steps:
2323

.github/workflows/ci.yml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,41 +17,43 @@ jobs:
1717
matrix:
1818
os: [ubuntu-latest]
1919
python: ['3.10', '3.11', '3.12', '3.13']
20-
transformers: ['4.48.3', '4.51.3', '4.55.4', '4.56.2', '4.57.6', 'main']
20+
transformers: ['4.48.3', '4.51.3', '4.55.4', '4.57.6', '5.0', 'main']
2121
torch: ['2.10', 'main']
2222
exclude:
23-
- python: '3.10' # 3.10
24-
torch: 'main'
23+
# 3.10 - torch
2524
- python: '3.10'
26-
torch: '2.10'
25+
torch: 'main'
26+
# 3.10 - transformers
2727
- python: '3.10'
2828
transformers: '4.55.4'
29-
- python: '3.10'
30-
transformers: '4.56.2'
3129
- python: '3.10'
3230
transformers: '4.57.6'
31+
- python: '3.10'
32+
transformers: '5.0'
3333
- python: '3.10'
3434
transformers: 'main'
35-
- python: '3.11' # 3.11
35+
# 3.11 - torch
36+
- python: '3.11'
3637
torch: 'main'
38+
# 3.11 - transformers
3739
- python: '3.11'
3840
transformers: '4.55.4'
39-
- python: '3.11'
40-
transformers: '4.56.2'
4141
- python: '3.11'
4242
transformers: '4.57.6'
43+
- python: '3.11'
44+
transformers: '5.0'
4345
- python: '3.11'
4446
transformers: 'main'
45-
- python: '3.13' # 3.11
47+
# 3.13 - torch
48+
- python: '3.13'
4649
torch: '2.10'
50+
# 3.13 - transformers
4751
- python: '3.13'
4852
transformers: '4.48.3'
4953
- python: '3.13'
5054
transformers: '4.51.3'
5155
- python: '3.13'
5256
transformers: '4.55.4'
53-
- python: '3.13'
54-
transformers: '4.56.2'
5557
steps:
5658
- uses: actions/checkout@v3
5759

.github/workflows/documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
matrix:
1717
os: [ubuntu-latest]
18-
python: ['3.12']
18+
python: ['3.13']
1919

2020
steps:
2121
- uses: actions/checkout@v3

.github/workflows/models.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
os: [ubuntu-latest]
19-
python: ['3.12']
20-
transformers: ['4.57.6']
19+
python: ['3.13']
20+
transformers: ['5.0']
2121
torch: ['main']
2222
steps:
2323
- uses: actions/checkout@v3

.github/workflows/models448.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
os: [ubuntu-latest]
21-
python: ['3.12']
22-
transformers: ['4.48.3']
21+
python: ['3.13']
22+
transformers: ['5.0']
2323
torch: ['main']
2424
steps:
2525
- uses: actions/checkout@v3

.github/workflows/mypy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
- uses: actions/checkout@v3
88
- uses: actions/setup-python@v4
99
with:
10-
python-version: '3.12'
10+
python-version: '3.13'
1111
- name: Install mypy
1212
run: pip install mypy
1313
- name: Run mypy

.github/workflows/pyrefly.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
- uses: actions/setup-python@v5
1616
with:
17-
python-version: "3.11"
17+
python-version: "3.13"
1818
cache: "pip"
1919

2020
- name: Install dependencies

.github/workflows/wheels-any.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
- uses: actions/setup-python@v4
2121
with:
22-
python-version: '3.12'
22+
python-version: '3.13'
2323

2424
- name: build wheel
2525
run: python -m pip wheel . -v

0 commit comments

Comments
 (0)