Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
4d633bfe
Unverified
Commit
4d633bfe
authored
Jun 03, 2024
by
Dhruv Nair
Committed by
GitHub
Jun 03, 2024
Browse files
Update slow test actions (#8381)
* update * update * update * update
parent
174cf868
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
16 deletions
+3
-16
.github/workflows/nightly_tests.yml
.github/workflows/nightly_tests.yml
+1
-1
.github/workflows/push_tests.yml
.github/workflows/push_tests.yml
+1
-14
.github/workflows/ssh-runner.yml
.github/workflows/ssh-runner.yml
+1
-1
No files found.
.github/workflows/nightly_tests.yml
View file @
4d633bfe
...
@@ -59,7 +59,7 @@ jobs:
...
@@ -59,7 +59,7 @@ jobs:
runs-on
:
[
single-gpu
,
nvidia-gpu
,
t4
,
ci
]
runs-on
:
[
single-gpu
,
nvidia-gpu
,
t4
,
ci
]
container
:
container
:
image
:
diffusers/diffusers-pytorch-cuda
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
:
steps
:
-
name
:
Checkout diffusers
-
name
:
Checkout diffusers
uses
:
actions/checkout@v3
uses
:
actions/checkout@v3
...
...
.github/workflows/push_tests.yml
View file @
4d633bfe
...
@@ -62,7 +62,7 @@ jobs:
...
@@ -62,7 +62,7 @@ jobs:
runs-on
:
[
single-gpu
,
nvidia-gpu
,
t4
,
ci
]
runs-on
:
[
single-gpu
,
nvidia-gpu
,
t4
,
ci
]
container
:
container
:
image
:
diffusers/diffusers-pytorch-cuda
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
:
steps
:
-
name
:
Checkout diffusers
-
name
:
Checkout diffusers
uses
:
actions/checkout@v3
uses
:
actions/checkout@v3
...
@@ -71,12 +71,6 @@ jobs:
...
@@ -71,12 +71,6 @@ jobs:
-
name
:
NVIDIA-SMI
-
name
:
NVIDIA-SMI
run
:
|
run
:
|
nvidia-smi
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
-
name
:
Install dependencies
run
:
|
run
:
|
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
...
@@ -95,18 +89,11 @@ jobs:
...
@@ -95,18 +89,11 @@ jobs:
-s -v -k "not Flax and not Onnx" \
-s -v -k "not Flax and not Onnx" \
--make-reports=tests_pipeline_${{ matrix.module }}_cuda \
--make-reports=tests_pipeline_${{ matrix.module }}_cuda \
tests/pipelines/${{ matrix.module }}
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
-
name
:
Failure short reports
if
:
${{ failure() }}
if
:
${{ failure() }}
run
:
|
run
:
|
cat reports/tests_pipeline_${{ matrix.module }}_cuda_stats.txt
cat reports/tests_pipeline_${{ matrix.module }}_cuda_stats.txt
cat reports/tests_pipeline_${{ matrix.module }}_cuda_failures_short.txt
cat reports/tests_pipeline_${{ matrix.module }}_cuda_failures_short.txt
-
name
:
Test suite reports artifacts
-
name
:
Test suite reports artifacts
if
:
${{ always() }}
if
:
${{ always() }}
uses
:
actions/upload-artifact@v2
uses
:
actions/upload-artifact@v2
...
...
.github/workflows/ssh-runner.yml
View file @
4d633bfe
...
@@ -25,7 +25,7 @@ jobs:
...
@@ -25,7 +25,7 @@ jobs:
runs-on
:
[
single-gpu
,
nvidia-gpu
,
"
${{
github.event.inputs.runner_type
}}"
,
ci
]
runs-on
:
[
single-gpu
,
nvidia-gpu
,
"
${{
github.event.inputs.runner_type
}}"
,
ci
]
container
:
container
:
image
:
${{ github.event.inputs.docker_image }}
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
:
steps
:
-
name
:
Checkout diffusers
-
name
:
Checkout diffusers
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment