@@ -77,22 +77,22 @@ jobs:
7777 config :
7878 - name : Fast PyTorch Pipeline CPU tests
7979 framework : pytorch_pipelines
80- runner : docker- cpu
80+ runner : [ self-hosted, intel- cpu, 32-cpu, 256-ram, ci ]
8181 image : diffusers/diffusers-pytorch-cpu
8282 report : torch_cpu_pipelines
8383 - name : Fast PyTorch Models & Schedulers CPU tests
8484 framework : pytorch_models
85- runner : docker- cpu
85+ runner : [ self-hosted, intel- cpu, 8-cpu, ci ]
8686 image : diffusers/diffusers-pytorch-cpu
8787 report : torch_cpu_models_schedulers
8888 - name : Fast Flax CPU tests
8989 framework : flax
90- runner : docker- cpu
90+ runner : [ self-hosted, intel- cpu, 8-cpu, ci ]
9191 image : diffusers/diffusers-flax-cpu
9292 report : flax_cpu
9393 - name : PyTorch Example CPU tests
9494 framework : pytorch_examples
95- runner : docker- cpu
95+ runner : [ self-hosted, intel- cpu, 8-cpu, ci ]
9696 image : diffusers/diffusers-pytorch-cpu
9797 report : torch_example_cpu
9898
@@ -130,7 +130,7 @@ jobs:
130130 if : ${{ matrix.config.framework == 'pytorch_pipelines' }}
131131 run : |
132132 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 \
134134 -s -v -k "not Flax and not Onnx" \
135135 --make-reports=tests_${{ matrix.config.report }} \
136136 tests/pipelines
@@ -139,7 +139,7 @@ jobs:
139139 if : ${{ matrix.config.framework == 'pytorch_models' }}
140140 run : |
141141 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 \
143143 -s -v -k "not Flax and not Onnx and not Dependency" \
144144 --make-reports=tests_${{ matrix.config.report }} \
145145 tests/models tests/schedulers tests/others
@@ -148,7 +148,7 @@ jobs:
148148 if : ${{ matrix.config.framework == 'flax' }}
149149 run : |
150150 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 \
152152 -s -v -k "Flax" \
153153 --make-reports=tests_${{ matrix.config.report }} \
154154 tests
@@ -158,7 +158,7 @@ jobs:
158158 run : |
159159 python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
160160 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 \
162162 --make-reports=tests_${{ matrix.config.report }} \
163163 examples
164164
@@ -181,7 +181,7 @@ jobs:
181181 config :
182182 - name : Hub tests for models, schedulers, and pipelines
183183 framework : hub_tests_pytorch
184- runner : docker- cpu
184+ runner : [ self-hosted, intel- cpu, 8-cpu, ci ]
185185 image : diffusers/diffusers-pytorch-cpu
186186 report : torch_hub
187187
0 commit comments