| @@ -233,20 +233,20 @@ jobs: | |||
| fail-fast: false | |||
| matrix: | |||
| include: | |||
| - { python: '3.8', numpy: '1.24.4', torch: '1.8.1', torchvision: '0.9.1', torchaudio: '0.8.1' } | |||
| - { python: '3.8', numpy: '1.24.4', torch: '1.9.1', torchvision: '0.10.1', torchaudio: '0.9.1' } | |||
| - { python: '3.8', numpy: '1.24.4', torch: '1.10.0', torchvision: '0.11.1', torchaudio: '0.10.0+cpu' } | |||
| - { python: '3.9', numpy: '1.26.4', torch: '1.11.0', torchvision: '0.12.0', torchaudio: '0.11.0+cpu' } | |||
| - { python: '3.9', numpy: '1.26.4', torch: '1.12.0', torchvision: '0.13.0', torchaudio: '0.12.0+cpu' } | |||
| - { python: '3.10', numpy: '1.26.4', torch: '1.13.0', torchvision: '0.14.0', torchaudio: '0.13.0+cpu' } | |||
| - { python: '3.10', numpy: '1.26.4', torch: '2.0.0', torchvision: '0.15.1', torchaudio: '2.0.0+cpu' } | |||
| - { python: '3.10', numpy: '1.26.4', torch: '2.1.0', torchvision: '0.16.0', torchaudio: '2.1.0+cpu' } | |||
| - { python: '3.11', numpy: '1.26.4', torch: '2.2.1', torchvision: '0.17.1', torchaudio: '2.2.1+cpu' } | |||
| - { python: '3.11', numpy: '1.26.4', torch: '2.3.0', torchvision: '0.18.0', torchaudio: '2.3.0+cpu' } | |||
| - { python: '3.11', numpy: '2.2.5', torch: '2.4.0', torchvision: '0.19.0', torchaudio: '2.4.0+cpu' } | |||
| - { python: '3.12', numpy: '2.2.5', torch: '2.5.0', torchvision: '0.20.0', torchaudio: '2.5.0+cpu' } | |||
| - { python: '3.12', numpy: '2.2.5', torch: '2.6.0', torchvision: '0.21.0', torchaudio: '2.6.0+cpu' } | |||
| - { python: '3.12', numpy: '2.2.5', torch: '2.7.0', torchvision: '0.22.0', torchaudio: '2.7.0+cpu' } | |||
| - { python: '3.8', numpy: '1.24.4', opencv: '4.5.*', torch: '1.8.1', torchvision: '0.9.1', torchaudio: '0.8.1' } | |||
| - { python: '3.8', numpy: '1.24.4', opencv: '4.5.*', torch: '1.9.1', torchvision: '0.10.1', torchaudio: '0.9.1' } | |||
| - { python: '3.8', numpy: '1.24.4', opencv: '4.6.*', torch: '1.10.0', torchvision: '0.11.1', torchaudio: '0.10.0+cpu' } | |||
| - { python: '3.9', numpy: '1.26.4', opencv: '4.6.*', torch: '1.11.0', torchvision: '0.12.0', torchaudio: '0.11.0+cpu' } | |||
| - { python: '3.9', numpy: '1.26.4', opencv: '4.7.*', torch: '1.12.0', torchvision: '0.13.0', torchaudio: '0.12.0+cpu' } | |||
| - { python: '3.10', numpy: '1.26.4', opencv: '4.7.*', torch: '1.13.0', torchvision: '0.14.0', torchaudio: '0.13.0+cpu' } | |||
| - { python: '3.10', numpy: '1.26.4', opencv: '4.8.*', torch: '2.0.0', torchvision: '0.15.1', torchaudio: '2.0.0+cpu' } | |||
| - { python: '3.10', numpy: '1.26.4', opencv: '4.8.*', torch: '2.1.0', torchvision: '0.16.0', torchaudio: '2.1.0+cpu' } | |||
| - { python: '3.11', numpy: '1.26.4', opencv: '4.9.*', torch: '2.2.1', torchvision: '0.17.1', torchaudio: '2.2.1+cpu' } | |||
| - { python: '3.11', numpy: '1.26.4', opencv: '4.9.*', torch: '2.3.0', torchvision: '0.18.0', torchaudio: '2.3.0+cpu' } | |||
| - { python: '3.11', numpy: '2.2.5', opencv: '4.10.*', torch: '2.4.0', torchvision: '0.19.0', torchaudio: '2.4.0+cpu' } | |||
| - { python: '3.12', numpy: '2.2.5', opencv: '4.10.*', torch: '2.5.0', torchvision: '0.20.0', torchaudio: '2.5.0+cpu' } | |||
| - { python: '3.12', numpy: '2.2.5', opencv: '4.11.*', torch: '2.6.0', torchvision: '0.21.0', torchaudio: '2.6.0+cpu' } | |||
| - { python: '3.12', numpy: '2.2.5', opencv: '4.11.*', torch: '2.7.0', torchvision: '0.22.0', torchaudio: '2.7.0+cpu' } | |||
| name: test-${{ matrix.torch }}-py${{ matrix.python }} | |||
| @@ -313,7 +313,7 @@ jobs: | |||
| - name: setup-pytorch | |||
| run: | | |||
| export PATH=${{ env.PYTHONUSERBASE }}/bin:$PATH | |||
| pip3 install --user pytest wheel twine requests einops numpy==${{ matrix.numpy }} | |||
| pip3 install --user pytest wheel twine requests einops numpy==${{ matrix.numpy }} opencv-python==${{ matrix.opencv }} | |||
| pip3 install --user torch==${{ matrix.torch }}+cpu torchvision==${{ matrix.torchvision }}+cpu torchaudio==${{ matrix.torchaudio }} --index-url https://download.pytorch.org/whl/cpu | |||
| pip3 install --user onnx onnxscript | |||
| pip3 install --user "transformers<=4.52.1" diffusers | |||