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
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:
jobs
:
setup_torch_cuda_pipeline_matrix
:
name
:
Setup Torch Pipelines CUDA Slow Tests Matrix
runs-on
:
[
single-gpu
,
nvidia-gpu
,
t4
,
ci
]
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
runs-on
:
ubuntu-latest
outputs
:
pipeline_test_matrix
:
${{ steps.fetch_pipeline_matrix.outputs.pipeline_test_matrix }}
steps
:
...
...
@@ -32,24 +29,20 @@ jobs:
uses
:
actions/checkout@v3
with
:
fetch-depth
:
2
-
name
:
Set up Python
uses
:
actions/setup-python@v4
with
:
python-version
:
"
3.8"
-
name
:
Install dependencies
run
:
|
apt-get update && apt-get install libsndfile1-dev libgl1 -y
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
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
pip install -e .
pip install huggingface_hub
-
name
:
Fetch Pipeline Matrix
id
:
fetch_pipeline_matrix
run
:
|
matrix=$(python utils/fetch_torch_cuda_pipeline_test_matrix.py)
echo $matrix
echo "pipeline_test_matrix=$matrix" >> $GITHUB_OUTPUT
-
name
:
Pipeline Tests Artifacts
if
:
${{ always() }}
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