@@ -77,22 +77,22 @@ jobs:
77
77
config :
78
78
- name : Fast PyTorch Pipeline CPU tests
79
79
framework : pytorch_pipelines
80
- runner : docker- cpu
80
+ runner : [ self-hosted, intel- cpu, 32-cpu, 256-ram, ci ]
81
81
image : diffusers/diffusers-pytorch-cpu
82
82
report : torch_cpu_pipelines
83
83
- name : Fast PyTorch Models & Schedulers CPU tests
84
84
framework : pytorch_models
85
- runner : docker- cpu
85
+ runner : [ self-hosted, intel- cpu, 8-cpu, ci ]
86
86
image : diffusers/diffusers-pytorch-cpu
87
87
report : torch_cpu_models_schedulers
88
88
- name : Fast Flax CPU tests
89
89
framework : flax
90
- runner : docker- cpu
90
+ runner : [ self-hosted, intel- cpu, 8-cpu, ci ]
91
91
image : diffusers/diffusers-flax-cpu
92
92
report : flax_cpu
93
93
- name : PyTorch Example CPU tests
94
94
framework : pytorch_examples
95
- runner : docker- cpu
95
+ runner : [ self-hosted, intel- cpu, 8-cpu, ci ]
96
96
image : diffusers/diffusers-pytorch-cpu
97
97
report : torch_example_cpu
98
98
@@ -130,7 +130,7 @@ jobs:
130
130
if : ${{ matrix.config.framework == 'pytorch_pipelines' }}
131
131
run : |
132
132
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
133
- python -m pytest -n 2 --max-worker-restart=0 --dist=loadfile \
133
+ python -m pytest -n 8 --max-worker-restart=0 --dist=loadfile \
134
134
-s -v -k "not Flax and not Onnx" \
135
135
--make-reports=tests_${{ matrix.config.report }} \
136
136
tests/pipelines
@@ -139,7 +139,7 @@ jobs:
139
139
if : ${{ matrix.config.framework == 'pytorch_models' }}
140
140
run : |
141
141
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
142
- python -m pytest -n 2 --max-worker-restart=0 --dist=loadfile \
142
+ python -m pytest -n 4 --max-worker-restart=0 --dist=loadfile \
143
143
-s -v -k "not Flax and not Onnx and not Dependency" \
144
144
--make-reports=tests_${{ matrix.config.report }} \
145
145
tests/models tests/schedulers tests/others
@@ -148,7 +148,7 @@ jobs:
148
148
if : ${{ matrix.config.framework == 'flax' }}
149
149
run : |
150
150
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
151
- python -m pytest -n 2 --max-worker-restart=0 --dist=loadfile \
151
+ python -m pytest -n 4 --max-worker-restart=0 --dist=loadfile \
152
152
-s -v -k "Flax" \
153
153
--make-reports=tests_${{ matrix.config.report }} \
154
154
tests
@@ -158,7 +158,7 @@ jobs:
158
158
run : |
159
159
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
160
160
python -m uv pip install peft
161
- python -m pytest -n 2 --max-worker-restart=0 --dist=loadfile \
161
+ python -m pytest -n 4 --max-worker-restart=0 --dist=loadfile \
162
162
--make-reports=tests_${{ matrix.config.report }} \
163
163
examples
164
164
@@ -181,7 +181,7 @@ jobs:
181
181
config :
182
182
- name : Hub tests for models, schedulers, and pipelines
183
183
framework : hub_tests_pytorch
184
- runner : docker- cpu
184
+ runner : [ self-hosted, intel- cpu, 8-cpu, ci ]
185
185
image : diffusers/diffusers-pytorch-cpu
186
186
report : torch_hub
187
187
0 commit comments