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
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
0 commit comments