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
OpenDAS
diffusers
Commits
e23c27e9
Unverified
Commit
e23c27e9
authored
Apr 18, 2024
by
Guillaume LEGENDRE
Committed by
GitHub
Apr 18, 2024
Browse files
Add tailscale action to push_test (#7709)
parent
7635d3d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
.github/workflows/push_tests.yml
.github/workflows/push_tests.yml
+13
-2
No files found.
.github/workflows/push_tests.yml
View file @
e23c27e9
...
@@ -60,7 +60,7 @@ jobs:
...
@@ -60,7 +60,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/hf_cache:/mnt/cache/ --gpus 0
--privileged
steps
:
steps
:
-
name
:
Checkout diffusers
-
name
:
Checkout diffusers
uses
:
actions/checkout@v3
uses
:
actions/checkout@v3
...
@@ -69,6 +69,12 @@ jobs:
...
@@ -69,6 +69,12 @@ 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"
...
@@ -87,6 +93,11 @@ jobs:
...
@@ -87,6 +93,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
-
name
:
Failure short reports
-
name
:
Failure short reports
if
:
${{ failure() }}
if
:
${{ failure() }}
run
:
|
run
:
|
...
@@ -425,4 +436,4 @@ jobs:
...
@@ -425,4 +436,4 @@ jobs:
uses
:
actions/upload-artifact@v2
uses
:
actions/upload-artifact@v2
with
:
with
:
name
:
examples_test_reports
name
:
examples_test_reports
path
:
reports
path
:
reports
\ No newline at end of file
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