fix for pyTorch 1.1 (#552)

* min pyTorch 1.1

* try fixed test-tube

* try fixed test-tube

* try fixed test-tube

* cleaning

* Update requirements.txt
This commit is contained in:
Jirka Borovec 2019-12-01 09:42:33 +01:00 committed by William Falcon
parent 2b8475f590
commit 89ececb32b
3 changed files with 5 additions and 4 deletions

View File

@ -10,8 +10,8 @@ references:
run: run:
name: Install Dependences name: Install Dependences
command: | command: |
# PyPI
pip install "$TORCH_VERSION" --user pip install "$TORCH_VERSION" --user
# this is temporal fix til test-tube is not merged and released
pip install -r requirements.txt --user pip install -r requirements.txt --user
sudo pip install pytest pytest-cov pytest-flake8 sudo pip install pytest pytest-cov pytest-flake8
pip install -r ./tests/requirements.txt --user pip install -r ./tests/requirements.txt --user

View File

@ -1,8 +1,8 @@
scikit-learn>=0.20.2 scikit-learn>=0.20.2
tqdm>=4.35.0 tqdm>=4.35.0
numpy>=1.16.4 numpy>=1.16.4
torch>=1.2 torch>=1.1
torchvision>=0.4.0 torchvision>=0.4.0
pandas>=0.24 # lower version do not support py3.7 pandas>=0.24 # lower version do not support py3.7
test-tube>=0.6.9 test-tube>=0.7.5
# future>=0.17.1 # required for buildins in setup.py future>=0.17.1 # required for buildins in setup.py

View File

@ -31,6 +31,7 @@ basepython =
py37: python3.7 py37: python3.7
py38: python3.8 py38: python3.8
deps = deps =
# this is derived requirements
-r requirements-ci.txt -r requirements-ci.txt
-r ./tests/requirements.txt -r ./tests/requirements.txt
commands = commands =