Skip to content

Commit a011997

Browse files
authored
Merge branch 'main' into pr-tests-fixes
2 parents a4f7080 + b7df4a5 commit a011997

File tree

5 files changed

+35
-12
lines changed

5 files changed

+35
-12
lines changed

.github/workflows/nightly_tests.yml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ jobs:
7373
run: |
7474
uv pip install -e ".[quality]"
7575
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
76+
#uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
77+
uv pip uninstall transformers huggingface_hub && uv pip install transformers==4.57.1
7678
uv pip install pytest-reportlog
7779
- name: Environment
7880
run: |
@@ -84,7 +86,7 @@ jobs:
8486
CUBLAS_WORKSPACE_CONFIG: :16:8
8587
run: |
8688
pytest -n 1 --max-worker-restart=0 --dist=loadfile \
87-
-k "not Flax and not Onnx" \
89+
-k "not Flax and not Onnx" \
8890
--make-reports=tests_pipeline_${{ matrix.module }}_cuda \
8991
--report-log=tests_pipeline_${{ matrix.module }}_cuda.log \
9092
tests/pipelines/${{ matrix.module }}
@@ -126,6 +128,8 @@ jobs:
126128
uv pip install -e ".[quality]"
127129
uv pip install peft@git+https://github.com/huggingface/peft.git
128130
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
132+
uv pip uninstall transformers huggingface_hub && uv pip install transformers==4.57.1
129133
uv pip install pytest-reportlog
130134
- name: Environment
131135
run: python utils/print_env.py
@@ -190,6 +194,8 @@ jobs:
190194
- name: Install dependencies
191195
run: |
192196
uv pip install -e ".[quality,training]"
197+
#uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
198+
uv pip uninstall transformers huggingface_hub && uv pip install transformers==4.57.1
193199
- name: Environment
194200
run: |
195201
python utils/print_env.py
@@ -232,6 +238,8 @@ jobs:
232238
uv pip install -e ".[quality]"
233239
uv pip install peft@git+https://github.com/huggingface/peft.git
234240
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
241+
#uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
242+
uv pip uninstall transformers huggingface_hub && uv pip install transformers==4.57.1
235243
uv pip install pytest-reportlog
236244
- name: Environment
237245
run: |
@@ -281,6 +289,8 @@ jobs:
281289
uv pip install -e ".[quality]"
282290
uv pip install peft@git+https://github.com/huggingface/peft.git
283291
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
292+
#uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
293+
uv pip uninstall transformers huggingface_hub && uv pip install transformers==4.57.1
284294
285295
- name: Environment
286296
run: |
@@ -358,6 +368,8 @@ jobs:
358368
uv pip install ${{ join(matrix.config.additional_deps, ' ') }}
359369
fi
360370
uv pip install pytest-reportlog
371+
#uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
372+
uv pip uninstall transformers huggingface_hub && uv pip install transformers==4.57.1
361373
- name: Environment
362374
run: |
363375
python utils/print_env.py
@@ -405,6 +417,8 @@ jobs:
405417
run: |
406418
uv pip install -e ".[quality]"
407419
uv pip install -U bitsandbytes optimum_quanto
420+
#uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
421+
uv pip uninstall transformers huggingface_hub && uv pip install transformers==4.57.1
408422
uv pip install pytest-reportlog
409423
- name: Environment
410424
run: |
@@ -531,7 +545,7 @@ jobs:
531545
# HF_HOME: /System/Volumes/Data/mnt/cache
532546
# HF_TOKEN: ${{ secrets.DIFFUSERS_HF_HUB_READ_TOKEN }}
533547
# run: |
534-
# ${CONDA_RUN} pytest -n 1 --make-reports=tests_torch_mps \
548+
# ${CONDA_RUN} pytest -n 1 --make-reports=tests_torch_mps \
535549
# --report-log=tests_torch_mps.log \
536550
# tests/
537551
# - name: Failure short reports
@@ -587,7 +601,7 @@ jobs:
587601
# HF_HOME: /System/Volumes/Data/mnt/cache
588602
# HF_TOKEN: ${{ secrets.DIFFUSERS_HF_HUB_READ_TOKEN }}
589603
# run: |
590-
# ${CONDA_RUN} pytest -n 1 --make-reports=tests_torch_mps \
604+
# ${CONDA_RUN} pytest -n 1 --make-reports=tests_torch_mps \
591605
# --report-log=tests_torch_mps.log \
592606
# tests/
593607
# - name: Failure short reports

.github/workflows/pr_modular_tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ jobs:
109109
- name: Install dependencies
110110
run: |
111111
uv pip install -e ".[quality]"
112-
uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
112+
#uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
113+
uv pip uninstall transformers huggingface_hub && uv pip install transformers==4.57.1
113114
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
114115
115116
- name: Environment

.github/workflows/pr_tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ jobs:
115115
- name: Install dependencies
116116
run: |
117117
uv pip install -e ".[quality]"
118-
uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
118+
#uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
119+
uv pip uninstall transformers huggingface_hub && uv pip install transformers==4.57.1
119120
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
120121
121122
- name: Environment
@@ -246,7 +247,8 @@ jobs:
246247
uv pip install -U peft@git+https://github.com/huggingface/peft.git --no-deps
247248
uv pip install -U tokenizers
248249
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
249-
uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
250+
#uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
251+
uv pip uninstall transformers huggingface_hub && uv pip install transformers==4.57.1
250252
251253
- name: Environment
252254
run: |

.github/workflows/pr_tests_gpu.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ jobs:
131131
run: |
132132
uv pip install -e ".[quality]"
133133
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
134-
uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
134+
#uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
135+
uv pip uninstall transformers huggingface_hub && uv pip install transformers==4.57.1
135136

136137
- name: Environment
137138
run: |
@@ -201,7 +202,8 @@ jobs:
201202
uv pip install -e ".[quality]"
202203
uv pip install peft@git+https://github.com/huggingface/peft.git
203204
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
204-
uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
205+
#uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
206+
uv pip uninstall transformers huggingface_hub && uv pip install transformers==4.57.1
205207
206208
- name: Environment
207209
run: |
@@ -262,7 +264,8 @@ jobs:
262264
nvidia-smi
263265
- name: Install dependencies
264266
run: |
265-
uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
267+
#uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
268+
uv pip uninstall transformers huggingface_hub && uv pip install transformers==4.57.1
266269
uv pip install -e ".[quality,training]"
267270
268271
- name: Environment

.github/workflows/push_tests.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ jobs:
7676
run: |
7777
uv pip install -e ".[quality]"
7878
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
79+
#uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
80+
uv pip uninstall transformers huggingface_hub && uv pip install transformers==4.57.1
8081
- name: Environment
8182
run: |
8283
python utils/print_env.py
@@ -128,7 +129,8 @@ jobs:
128129
uv pip install -e ".[quality]"
129130
uv pip install peft@git+https://github.com/huggingface/peft.git
130131
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
132+
#uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
133+
uv pip uninstall transformers huggingface_hub && uv pip install transformers==4.57.1
132134
133135
- name: Environment
134136
run: |
@@ -180,7 +182,8 @@ jobs:
180182
- name: Install dependencies
181183
run: |
182184
uv pip install -e ".[quality,training]"
183-
uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
185+
#uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
186+
uv pip uninstall transformers huggingface_hub && uv pip install transformers==4.57.1
184187
- name: Environment
185188
run: |
186189
python utils/print_env.py

0 commit comments

Comments
 (0)