Skip to content

Commit 37404b2

Browse files
committed
update
1 parent 67dc65e commit 37404b2

File tree

5 files changed

+32
-16
lines changed

5 files changed

+32
-16
lines changed

.github/workflows/nightly_tests.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ 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
7677
uv pip install pytest-reportlog
7778
- name: Environment
7879
run: |
@@ -84,7 +85,7 @@ jobs:
8485
CUBLAS_WORKSPACE_CONFIG: :16:8
8586
run: |
8687
pytest -n 1 --max-worker-restart=0 --dist=loadfile \
87-
-k "not Flax and not Onnx" \
88+
-s -v -k "not Flax and not Onnx" \
8889
--make-reports=tests_pipeline_${{ matrix.module }}_cuda \
8990
--report-log=tests_pipeline_${{ matrix.module }}_cuda.log \
9091
tests/pipelines/${{ matrix.module }}
@@ -126,6 +127,7 @@ jobs:
126127
uv pip install -e ".[quality]"
127128
uv pip install peft@git+https://github.com/huggingface/peft.git
128129
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
130+
uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
129131
uv pip install pytest-reportlog
130132
- name: Environment
131133
run: python utils/print_env.py
@@ -138,7 +140,7 @@ jobs:
138140
CUBLAS_WORKSPACE_CONFIG: :16:8
139141
run: |
140142
pytest -n 1 --max-worker-restart=0 --dist=loadfile \
141-
-k "not Flax and not Onnx" \
143+
-s -v -k "not Flax and not Onnx" \
142144
--make-reports=tests_torch_${{ matrix.module }}_cuda \
143145
--report-log=tests_torch_${{ matrix.module }}_cuda.log \
144146
tests/${{ matrix.module }}
@@ -151,7 +153,7 @@ jobs:
151153
CUBLAS_WORKSPACE_CONFIG: :16:8
152154
run: |
153155
pytest -n 1 --max-worker-restart=0 --dist=loadfile \
154-
--make-reports=examples_torch_cuda \
156+
-s -v --make-reports=examples_torch_cuda \
155157
--report-log=examples_torch_cuda.log \
156158
examples/
157159
@@ -190,6 +192,7 @@ jobs:
190192
- name: Install dependencies
191193
run: |
192194
uv pip install -e ".[quality,training]"
195+
uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
193196
- name: Environment
194197
run: |
195198
python utils/print_env.py
@@ -198,7 +201,7 @@ jobs:
198201
HF_TOKEN: ${{ secrets.DIFFUSERS_HF_HUB_READ_TOKEN }}
199202
RUN_COMPILE: yes
200203
run: |
201-
pytest -n 1 --max-worker-restart=0 --dist=loadfile -k "compile" --make-reports=tests_torch_compile_cuda tests/
204+
pytest -n 1 --max-worker-restart=0 --dist=loadfile -s -v -k "compile" --make-reports=tests_torch_compile_cuda tests/
202205
- name: Failure short reports
203206
if: ${{ failure() }}
204207
run: cat reports/tests_torch_compile_cuda_failures_short.txt
@@ -232,6 +235,7 @@ jobs:
232235
uv pip install -e ".[quality]"
233236
uv pip install peft@git+https://github.com/huggingface/peft.git
234237
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
238+
uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
235239
uv pip install pytest-reportlog
236240
- name: Environment
237241
run: |
@@ -281,6 +285,7 @@ jobs:
281285
uv pip install -e ".[quality]"
282286
uv pip install peft@git+https://github.com/huggingface/peft.git
283287
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
288+
uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
284289
285290
- name: Environment
286291
run: |
@@ -293,7 +298,7 @@ jobs:
293298
CUBLAS_WORKSPACE_CONFIG: :16:8
294299
run: |
295300
pytest -n 1 --max-worker-restart=0 --dist=loadfile \
296-
-k "not Flax and not Onnx" \
301+
-s -v -k "not Flax and not Onnx" \
297302
--make-reports=tests_torch_minimum_version_cuda \
298303
tests/models/test_modeling_common.py \
299304
tests/pipelines/test_pipelines_common.py \
@@ -358,6 +363,7 @@ jobs:
358363
uv pip install ${{ join(matrix.config.additional_deps, ' ') }}
359364
fi
360365
uv pip install pytest-reportlog
366+
uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
361367
- name: Environment
362368
run: |
363369
python utils/print_env.py
@@ -405,6 +411,7 @@ jobs:
405411
run: |
406412
uv pip install -e ".[quality]"
407413
uv pip install -U bitsandbytes optimum_quanto
414+
uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
408415
uv pip install pytest-reportlog
409416
- name: Environment
410417
run: |
@@ -531,7 +538,7 @@ jobs:
531538
# HF_HOME: /System/Volumes/Data/mnt/cache
532539
# HF_TOKEN: ${{ secrets.DIFFUSERS_HF_HUB_READ_TOKEN }}
533540
# run: |
534-
# ${CONDA_RUN} pytest -n 1 --make-reports=tests_torch_mps \
541+
# ${CONDA_RUN} pytest -n 1 -s -v --make-reports=tests_torch_mps \
535542
# --report-log=tests_torch_mps.log \
536543
# tests/
537544
# - name: Failure short reports
@@ -587,7 +594,7 @@ jobs:
587594
# HF_HOME: /System/Volumes/Data/mnt/cache
588595
# HF_TOKEN: ${{ secrets.DIFFUSERS_HF_HUB_READ_TOKEN }}
589596
# run: |
590-
# ${CONDA_RUN} pytest -n 1 --make-reports=tests_torch_mps \
597+
# ${CONDA_RUN} pytest -n 1 -s -v --make-reports=tests_torch_mps \
591598
# --report-log=tests_torch_mps.log \
592599
# tests/
593600
# - 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)