From 4d633bfe9a3830dfd50b3f70d8469a575dbaf75a Mon Sep 17 00:00:00 2001 From: Dhruv Nair Date: Mon, 3 Jun 2024 18:32:34 +0530 Subject: [PATCH] Update slow test actions (#8381) * update * update * update * update --- .github/workflows/nightly_tests.yml | 2 +- .github/workflows/push_tests.yml | 15 +-------------- .github/workflows/ssh-runner.yml | 2 +- 3 files changed, 3 insertions(+), 16 deletions(-) diff --git a/.github/workflows/nightly_tests.yml b/.github/workflows/nightly_tests.yml index 7ca065f69c..3862cfc7d7 100644 --- a/.github/workflows/nightly_tests.yml +++ b/.github/workflows/nightly_tests.yml @@ -59,7 +59,7 @@ jobs: runs-on: [single-gpu, nvidia-gpu, t4, ci] container: image: diffusers/diffusers-pytorch-cuda - options: --shm-size "16gb" --ipc host -v /mnt/hf_cache:/mnt/cache/ --gpus 0 + options: --shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface/diffusers:/mnt/cache/ --gpus 0 steps: - name: Checkout diffusers uses: actions/checkout@v3 diff --git a/.github/workflows/push_tests.yml b/.github/workflows/push_tests.yml index 7a194f7178..d6c11e0507 100644 --- a/.github/workflows/push_tests.yml +++ b/.github/workflows/push_tests.yml @@ -62,7 +62,7 @@ jobs: runs-on: [single-gpu, nvidia-gpu, t4, ci] container: image: diffusers/diffusers-pytorch-cuda - options: --shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface/diffusers:/mnt/cache/ --gpus 0 --privileged + options: --shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface/diffusers:/mnt/cache/ --gpus 0 steps: - name: Checkout diffusers uses: actions/checkout@v3 @@ -71,12 +71,6 @@ jobs: - name: NVIDIA-SMI run: | nvidia-smi - - name: Tailscale - uses: huggingface/tailscale-action@v1 - with: - authkey: ${{ secrets.TAILSCALE_SSH_AUTHKEY }} - slackChannel: ${{ secrets.SLACK_CIFEEDBACK_CHANNEL }} - slackToken: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }} - name: Install dependencies run: | python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH" @@ -95,18 +89,11 @@ jobs: -s -v -k "not Flax and not Onnx" \ --make-reports=tests_pipeline_${{ matrix.module }}_cuda \ tests/pipelines/${{ matrix.module }} - - name: Tailscale Wait - if: ${{ failure() || runner.debug == '1' }} - uses: huggingface/tailscale-action@v1 - with: - waitForSSH: true - authkey: ${{ secrets.TAILSCALE_SSH_AUTHKEY }} - name: Failure short reports if: ${{ failure() }} run: | cat reports/tests_pipeline_${{ matrix.module }}_cuda_stats.txt cat reports/tests_pipeline_${{ matrix.module }}_cuda_failures_short.txt - - name: Test suite reports artifacts if: ${{ always() }} uses: actions/upload-artifact@v2 diff --git a/.github/workflows/ssh-runner.yml b/.github/workflows/ssh-runner.yml index e5bbdd64f5..52950dfed2 100644 --- a/.github/workflows/ssh-runner.yml +++ b/.github/workflows/ssh-runner.yml @@ -25,7 +25,7 @@ jobs: runs-on: [single-gpu, nvidia-gpu, "${{ github.event.inputs.runner_type }}", ci] container: image: ${{ github.event.inputs.docker_image }} - options: --gpus all --privileged --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/ + options: --shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface/diffusers:/mnt/cache/ --gpus 0 --privileged steps: - name: Checkout diffusers