File tree 1 file changed +7
-14
lines changed 1 file changed +7
-14
lines changed Original file line number Diff line number Diff line change 21
21
jobs :
22
22
setup_torch_cuda_pipeline_matrix :
23
23
name : Setup Torch Pipelines CUDA Slow Tests Matrix
24
- runs-on : [single-gpu, nvidia-gpu, t4, ci]
25
- container :
26
- image : diffusers/diffusers-pytorch-cpu # this is a CPU image, but we need it to fetch the matrix
27
- options : --shm-size "16gb" --ipc host
24
+ runs-on : ubuntu-latest
28
25
outputs :
29
26
pipeline_test_matrix : ${{ steps.fetch_pipeline_matrix.outputs.pipeline_test_matrix }}
30
27
steps :
31
28
- name : Checkout diffusers
32
29
uses : actions/checkout@v3
33
30
with :
34
31
fetch-depth : 2
32
+ - name : Set up Python
33
+ uses : actions/setup-python@v4
34
+ with :
35
+ python-version : " 3.8"
35
36
- name : Install dependencies
36
37
run : |
37
- apt-get update && apt-get install libsndfile1-dev libgl1 -y
38
- python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
39
- python -m uv pip install -e [quality,test]
40
- python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate.git
41
-
42
- - name : Environment
43
- run : |
44
- python utils/print_env.py
45
-
38
+ pip install -e .
39
+ pip install huggingface_hub
46
40
- name : Fetch Pipeline Matrix
47
41
id : fetch_pipeline_matrix
48
42
run : |
49
43
matrix=$(python utils/fetch_torch_cuda_pipeline_test_matrix.py)
50
44
echo $matrix
51
45
echo "pipeline_test_matrix=$matrix" >> $GITHUB_OUTPUT
52
-
53
46
- name : Pipeline Tests Artifacts
54
47
if : ${{ always() }}
55
48
uses : actions/upload-artifact@v2
You can’t perform that action at this time.
0 commit comments