Skip to content

Commit

Permalink
increment pytorch versions for testing (#133)
Browse files Browse the repository at this point in the history
* imcrement pytorch versions for testing

* cpu only tests
  • Loading branch information
ferrine committed May 23, 2020
1 parent 1f067dc commit 67f5a9e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
language : shell

env:
- PYTHON_VERSION=3.6 PYTORCH_CHANNEL='pytorch' PYTORCH_VERSION='=1.4.0' COVERAGE='--cov geoopt'
- PYTHON_VERSION=3.6 PYTORCH_CHANNEL='pytorch' PYTORCH_VERSION='=1.5.0' COVERAGE='--cov geoopt'
- PYTHON_VERSION=3.7 PYTORCH_CHANNEL='pytorch' PYTORCH_VERSION='=1.5.0' COVERAGE=''
- PYTHON_VERSION=3.6 PYTORCH_CHANNEL='pytorch' PYTORCH_VERSION='=1.4.0' COVERAGE=''
- PYTHON_VERSION=3.7 PYTORCH_CHANNEL='pytorch' PYTORCH_VERSION='=1.4.0' COVERAGE=''
- PYTHON_VERSION=3.6 PYTORCH_CHANNEL='pytorch' PYTORCH_VERSION='=1.3.1' COVERAGE=''
- PYTHON_VERSION=3.7 PYTORCH_CHANNEL='pytorch' PYTORCH_VERSION='=1.3.1' COVERAGE=''
- PYTHON_VERSION=3.7 PYTORCH_CHANNEL='pytorch-nightly' PYTORCH_VERSION='' COVERAGE=''

matrix:
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ New Features
------------
* BirkhoffPolytope (#125)

Maintenance
-----------
* Tests for pytorch>=1.4, cpuonly (#133)

geoopt v0.1.2
==============
Expand Down
2 changes: 1 addition & 1 deletion scripts/install_deps.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
conda install --yes pip numpy mkl-service
conda install --yes pytorch${PYTORCH_VERSION} -c ${PYTORCH_CHANNEL}
conda install --yes pytorch${PYTORCH_VERSION} cpuonly -c ${PYTORCH_CHANNEL}
pip install -r ./requirements-dev.txt

0 comments on commit 67f5a9e

Please sign in to comment.