@@ -321,57 +321,6 @@ jobs:
321
321
name : torch_minimum_version_cuda_test_reports
322
322
path : reports
323
323
324
- run_flax_tpu_tests :
325
- name : Nightly Flax TPU Tests
326
- runs-on :
327
- group : gcp-ct5lp-hightpu-8t
328
- if : github.event_name == 'schedule'
329
-
330
- container :
331
- image : diffusers/diffusers-flax-tpu
332
- options : --shm-size "16gb" --ipc host --privileged ${{ vars.V5_LITEPOD_8_ENV}} -v /mnt/hf_cache:/mnt/hf_cache
333
- defaults :
334
- run :
335
- shell : bash
336
- steps :
337
- - name : Checkout diffusers
338
- uses : actions/checkout@v3
339
- with :
340
- fetch-depth : 2
341
-
342
- - name : Install dependencies
343
- run : |
344
- python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
345
- python -m uv pip install -e [quality,test]
346
- pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
347
- python -m uv pip install pytest-reportlog
348
-
349
- - name : Environment
350
- run : python utils/print_env.py
351
-
352
- - name : Run nightly Flax TPU tests
353
- env :
354
- HF_TOKEN : ${{ secrets.DIFFUSERS_HF_HUB_READ_TOKEN }}
355
- run : |
356
- python -m pytest -n 0 \
357
- -s -v -k "Flax" \
358
- --make-reports=tests_flax_tpu \
359
- --report-log=tests_flax_tpu.log \
360
- tests/
361
-
362
- - name : Failure short reports
363
- if : ${{ failure() }}
364
- run : |
365
- cat reports/tests_flax_tpu_stats.txt
366
- cat reports/tests_flax_tpu_failures_short.txt
367
-
368
- - name : Test suite reports artifacts
369
- if : ${{ always() }}
370
- uses : actions/upload-artifact@v4
371
- with :
372
- name : flax_tpu_test_reports
373
- path : reports
374
-
375
324
run_nightly_onnx_tests :
376
325
name : Nightly ONNXRuntime CUDA tests on Ubuntu
377
326
runs-on :
@@ -545,7 +494,6 @@ jobs:
545
494
run_nightly_onnx_tests,
546
495
run_nightly_quantization_tests,
547
496
run_nightly_pipeline_level_quantization_tests,
548
- run_flax_tpu_tests
549
497
]
550
498
if : always()
551
499
runs-on :
0 commit comments