set min PT 1.3 (#1917)

* set min PT 1.3

* circleCI

* mergify

* min

* chlog

* skip
This commit is contained in:
Jirka Borovec
2020-05-22 07:14:08 -04:00
committed by GitHub
parent 868dde2223
commit d610f3bb53
6 changed files with 16 additions and 14 deletions
+3 -3
View File
@@ -23,7 +23,7 @@ jobs:
python-version: [3.6, 3.7, 3.8]
requires: ['minimal', 'latest']
exclude:
# excludes node 4 on macOS
# excludes PT 1.3 as it is missing on pypi
- python-version: 3.8
requires: 'minimal'
@@ -52,13 +52,13 @@ jobs:
- name: Setup Windows on Latest
if: runner.os == 'windows' && matrix.requires == 'latest'
run: |
python -c "req = open('requirements.txt').read().replace('torch>=1.1', 'torch<1.5') ; open('requirements.txt', 'w').write(req)"
python -c "req = open('requirements.txt').read().replace('torch>=1.3', 'torch<1.5') ; open('requirements.txt', 'w').write(req)"
# versions <= 1.3 may have issues on mac with some BLAS ops due to missing mkl (https://github.com/pytorch/pytorch/issues/18996)
- name: Setup MacOS Minimal
if: runner.os == 'macOS' && matrix.requires == 'minimal'
run : |
python -c "req = open('requirements.txt').read().replace('torch>=1.1', 'torch>=1.4') ; open('requirements.txt', 'w').write(req)"
python -c "req = open('requirements.txt').read().replace('torch>=1.3', 'torch>=1.4') ; open('requirements.txt', 'w').write(req)"
- name: Set min. dependencies
if: matrix.requires == 'minimal'