Skip to content

Commit 4d633bf

Browse files
authored
Update slow test actions (#8381)
* update * update * update * update
1 parent 174cf86 commit 4d633bf

File tree

3 files changed

+3
-16
lines changed

3 files changed

+3
-16
lines changed

.github/workflows/nightly_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
runs-on: [single-gpu, nvidia-gpu, t4, ci]
6060
container:
6161
image: diffusers/diffusers-pytorch-cuda
62-
options: --shm-size "16gb" --ipc host -v /mnt/hf_cache:/mnt/cache/ --gpus 0
62+
options: --shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface/diffusers:/mnt/cache/ --gpus 0
6363
steps:
6464
- name: Checkout diffusers
6565
uses: actions/checkout@v3

.github/workflows/push_tests.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
runs-on: [single-gpu, nvidia-gpu, t4, ci]
6363
container:
6464
image: diffusers/diffusers-pytorch-cuda
65-
options: --shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface/diffusers:/mnt/cache/ --gpus 0 --privileged
65+
options: --shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface/diffusers:/mnt/cache/ --gpus 0
6666
steps:
6767
- name: Checkout diffusers
6868
uses: actions/checkout@v3
@@ -71,12 +71,6 @@ jobs:
7171
- name: NVIDIA-SMI
7272
run: |
7373
nvidia-smi
74-
- name: Tailscale
75-
uses: huggingface/tailscale-action@v1
76-
with:
77-
authkey: ${{ secrets.TAILSCALE_SSH_AUTHKEY }}
78-
slackChannel: ${{ secrets.SLACK_CIFEEDBACK_CHANNEL }}
79-
slackToken: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}
8074
- name: Install dependencies
8175
run: |
8276
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
@@ -95,18 +89,11 @@ jobs:
9589
-s -v -k "not Flax and not Onnx" \
9690
--make-reports=tests_pipeline_${{ matrix.module }}_cuda \
9791
tests/pipelines/${{ matrix.module }}
98-
- name: Tailscale Wait
99-
if: ${{ failure() || runner.debug == '1' }}
100-
uses: huggingface/tailscale-action@v1
101-
with:
102-
waitForSSH: true
103-
authkey: ${{ secrets.TAILSCALE_SSH_AUTHKEY }}
10492
- name: Failure short reports
10593
if: ${{ failure() }}
10694
run: |
10795
cat reports/tests_pipeline_${{ matrix.module }}_cuda_stats.txt
10896
cat reports/tests_pipeline_${{ matrix.module }}_cuda_failures_short.txt
109-
11097
- name: Test suite reports artifacts
11198
if: ${{ always() }}
11299
uses: actions/upload-artifact@v2

.github/workflows/ssh-runner.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: [single-gpu, nvidia-gpu, "${{ github.event.inputs.runner_type }}", ci]
2626
container:
2727
image: ${{ github.event.inputs.docker_image }}
28-
options: --gpus all --privileged --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/
28+
options: --shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface/diffusers:/mnt/cache/ --gpus 0 --privileged
2929

3030
steps:
3131
- name: Checkout diffusers

0 commit comments

Comments
 (0)