Skip to content

Commit fb19b4e

Browse files
committed
[CI] Update transformer version in release tests (#13296)
update
1 parent 009bcb5 commit fb19b4e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/release_tests_fast.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
name: (Release) Fast GPU Tests on main
55

66
on:
7+
workflow_dispatch:
78
push:
89
branches:
910
- "v*.*.*-release"
@@ -33,6 +34,7 @@ jobs:
3334
- name: Install dependencies
3435
run: |
3536
uv pip install -e ".[quality]"
37+
uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
3638
- name: Environment
3739
run: |
3840
python utils/print_env.py
@@ -74,6 +76,7 @@ jobs:
7476
run: |
7577
uv pip install -e ".[quality]"
7678
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
79+
uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
7780
- name: Environment
7881
run: |
7982
python utils/print_env.py
@@ -125,6 +128,7 @@ jobs:
125128
uv pip install -e ".[quality]"
126129
uv pip install peft@git+https://github.com/huggingface/peft.git
127130
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
131+
uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
128132
129133
- name: Environment
130134
run: |
@@ -175,6 +179,7 @@ jobs:
175179
uv pip install -e ".[quality]"
176180
uv pip install peft@git+https://github.com/huggingface/peft.git
177181
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
182+
uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
178183
179184
- name: Environment
180185
run: |
@@ -232,6 +237,7 @@ jobs:
232237
- name: Install dependencies
233238
run: |
234239
uv pip install -e ".[quality,training]"
240+
uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
235241
- name: Environment
236242
run: |
237243
python utils/print_env.py
@@ -274,6 +280,7 @@ jobs:
274280
- name: Install dependencies
275281
run: |
276282
uv pip install -e ".[quality,training]"
283+
uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
277284
- name: Environment
278285
run: |
279286
python utils/print_env.py
@@ -316,6 +323,7 @@ jobs:
316323
- name: Install dependencies
317324
run: |
318325
uv pip install -e ".[quality,training]"
326+
uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
319327
320328
- name: Environment
321329
run: |

0 commit comments

Comments
 (0)