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
de9adb90
Unverified
Commit
de9adb90
authored
Mar 20, 2024
by
Sayak Paul
Committed by
GitHub
Mar 20, 2024
Browse files
clean dep installation step in push_tests (#7382)
* clean dep installation step in push_tests * fix: deps
parent
bf861e65
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
14 deletions
+7
-14
.github/workflows/push_tests.yml
.github/workflows/push_tests.yml
+7
-14
No files found.
.github/workflows/push_tests.yml
View file @
de9adb90
...
@@ -21,10 +21,7 @@ env:
...
@@ -21,10 +21,7 @@ env:
jobs
:
jobs
:
setup_torch_cuda_pipeline_matrix
:
setup_torch_cuda_pipeline_matrix
:
name
:
Setup Torch Pipelines CUDA Slow Tests Matrix
name
:
Setup Torch Pipelines CUDA Slow Tests Matrix
runs-on
:
[
single-gpu
,
nvidia-gpu
,
t4
,
ci
]
runs-on
:
ubuntu-latest
container
:
image
:
diffusers/diffusers-pytorch-cpu
# this is a CPU image, but we need it to fetch the matrix
options
:
--shm-size "16gb" --ipc host
outputs
:
outputs
:
pipeline_test_matrix
:
${{ steps.fetch_pipeline_matrix.outputs.pipeline_test_matrix }}
pipeline_test_matrix
:
${{ steps.fetch_pipeline_matrix.outputs.pipeline_test_matrix }}
steps
:
steps
:
...
@@ -32,24 +29,20 @@ jobs:
...
@@ -32,24 +29,20 @@ jobs:
uses
:
actions/checkout@v3
uses
:
actions/checkout@v3
with
:
with
:
fetch-depth
:
2
fetch-depth
:
2
-
name
:
Set up Python
uses
:
actions/setup-python@v4
with
:
python-version
:
"
3.8"
-
name
:
Install dependencies
-
name
:
Install dependencies
run
:
|
run
:
|
apt-get update && apt-get install libsndfile1-dev libgl1 -y
pip install -e .
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
pip install huggingface_hub
python -m uv pip install -e [quality,test]
python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate.git
-
name
:
Environment
run
:
|
python utils/print_env.py
-
name
:
Fetch Pipeline Matrix
-
name
:
Fetch Pipeline Matrix
id
:
fetch_pipeline_matrix
id
:
fetch_pipeline_matrix
run
:
|
run
:
|
matrix=$(python utils/fetch_torch_cuda_pipeline_test_matrix.py)
matrix=$(python utils/fetch_torch_cuda_pipeline_test_matrix.py)
echo $matrix
echo $matrix
echo "pipeline_test_matrix=$matrix" >> $GITHUB_OUTPUT
echo "pipeline_test_matrix=$matrix" >> $GITHUB_OUTPUT
-
name
:
Pipeline Tests Artifacts
-
name
:
Pipeline Tests Artifacts
if
:
${{ always() }}
if
:
${{ always() }}
uses
:
actions/upload-artifact@v2
uses
:
actions/upload-artifact@v2
...
...
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