Skip to content

Commit 81472dd

Browse files
committed
update
1 parent 9928b27 commit 81472dd

File tree

1 file changed

+0
-52
lines changed

1 file changed

+0
-52
lines changed

.github/workflows/nightly_tests.yml

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -321,57 +321,6 @@ jobs:
321321
name: torch_minimum_version_cuda_test_reports
322322
path: reports
323323

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-
375324
run_nightly_onnx_tests:
376325
name: Nightly ONNXRuntime CUDA tests on Ubuntu
377326
runs-on:
@@ -545,7 +494,6 @@ jobs:
545494
run_nightly_onnx_tests,
546495
run_nightly_quantization_tests,
547496
run_nightly_pipeline_level_quantization_tests,
548-
run_flax_tpu_tests
549497
]
550498
if: always()
551499
runs-on:

0 commit comments

Comments
 (0)