diff --git a/.github/workflows/nightly_tests.yml b/.github/workflows/nightly_tests.yml index e2228fdacf30..b8fbf8f54362 100644 --- a/.github/workflows/nightly_tests.yml +++ b/.github/workflows/nightly_tests.yml @@ -238,12 +238,13 @@ jobs: run_flax_tpu_tests: name: Nightly Flax TPU Tests - runs-on: docker-tpu + runs-on: + group: gcp-ct5lp-hightpu-8t if: github.event_name == 'schedule' container: 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: run: shell: bash @@ -519,4 +520,4 @@ jobs: # if: always() # run: | # pip install slack_sdk tabulate -# python utils/log_reports.py >> $GITHUB_STEP_SUMMARY \ No newline at end of file +# python utils/log_reports.py >> $GITHUB_STEP_SUMMARY diff --git a/.github/workflows/push_tests.yml b/.github/workflows/push_tests.yml index 2289d1b5cad1..055c282e7c1e 100644 --- a/.github/workflows/push_tests.yml +++ b/.github/workflows/push_tests.yml @@ -161,11 +161,11 @@ jobs: flax_tpu_tests: name: Flax TPU Tests - runs-on: docker-tpu + runs-on: + group: gcp-ct5lp-hightpu-8t container: image: diffusers/diffusers-flax-tpu - options: --shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/ --privileged - defaults: + options: --shm-size "16gb" --ipc host --privileged ${{ vars.V5_LITEPOD_8_ENV}} -v /mnt/hf_cache:/mnt/hf_cache defaults: run: shell: bash steps: