mirror of
https://github.com/huggingface/pytorch-image-models.git
synced 2025-06-03 15:01:08 +08:00
Update tests to run Python 3.9, PyTorch 1.10, torchvision 0.11.1
This commit is contained in:
parent
ee40b582bb
commit
9d6aad44f8
8
.github/workflows/tests.yml
vendored
8
.github/workflows/tests.yml
vendored
@ -16,9 +16,9 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macOS-latest]
|
||||
python: ['3.8']
|
||||
torch: ['1.9.0']
|
||||
torchvision: ['0.10.0']
|
||||
python: ['3.9']
|
||||
torch: ['1.10.0']
|
||||
torchvision: ['0.11.1']
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
@ -30,7 +30,7 @@ jobs:
|
||||
- name: Install testing dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install pytest pytest-timeout
|
||||
pip install pytest pytest-timeout expecttest
|
||||
- name: Install torch on mac
|
||||
if: startsWith(matrix.os, 'macOS')
|
||||
run: pip install --no-cache-dir torch==${{ matrix.torch }} torchvision==${{ matrix.torchvision }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user