Unverified Commit c002724d authored by Pauline Bailly-Masson's avatar Pauline Bailly-Masson Committed by GitHub
Browse files

Ci update tpu (#10197)

* Update nightly_tests.yml for TPU CI

* Update push_tests.yml
parent 96c376a5
...@@ -238,12 +238,13 @@ jobs: ...@@ -238,12 +238,13 @@ jobs:
run_flax_tpu_tests: run_flax_tpu_tests:
name: Nightly Flax TPU Tests name: Nightly Flax TPU Tests
runs-on: docker-tpu runs-on:
group: gcp-ct5lp-hightpu-8t
if: github.event_name == 'schedule' if: github.event_name == 'schedule'
container: container:
image: diffusers/diffusers-flax-tpu image: diffusers/diffusers-flax-tpu
options: --shm-size "16gb" --ipc host -v /mnt/hf_cache:/mnt/cache/ --privileged options: --shm-size "16gb" --ipc host --privileged ${{ vars.V5_LITEPOD_8_ENV}} -v /mnt/hf_cache:/mnt/hf_cache
defaults: defaults:
run: run:
shell: bash shell: bash
...@@ -519,4 +520,4 @@ jobs: ...@@ -519,4 +520,4 @@ jobs:
# if: always() # if: always()
# run: | # run: |
# pip install slack_sdk tabulate # pip install slack_sdk tabulate
# python utils/log_reports.py >> $GITHUB_STEP_SUMMARY # python utils/log_reports.py >> $GITHUB_STEP_SUMMARY
\ No newline at end of file
...@@ -161,11 +161,11 @@ jobs: ...@@ -161,11 +161,11 @@ jobs:
flax_tpu_tests: flax_tpu_tests:
name: Flax TPU Tests name: Flax TPU Tests
runs-on: docker-tpu runs-on:
group: gcp-ct5lp-hightpu-8t
container: container:
image: diffusers/diffusers-flax-tpu image: diffusers/diffusers-flax-tpu
options: --shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/ --privileged options: --shm-size "16gb" --ipc host --privileged ${{ vars.V5_LITEPOD_8_ENV}} -v /mnt/hf_cache:/mnt/hf_cache defaults:
defaults:
run: run:
shell: bash shell: bash
steps: steps:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment