Skip to content

Commit

Permalink
Put torch in requirements-test.txt [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
kmkurn committed Feb 12, 2019
1 parent 676fddc commit 60a2319
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ dependencies and running the tests and linter.
Installing dependencies
-----------------------

Make sure you setup a virtual environment with Python and PyTorch
installed. Then, install all the dependencies in ``requirements.txt`` file and
install this package in development mode.
Make sure you setup a virtual environment with Python. Then, install all
the dependencies in ``requirements.txt`` file and install this package in
development mode.

::

Expand Down
4 changes: 4 additions & 0 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# This only installs PyTorch with a specific CUDA version which may not be
# compatible with yours. If so, install PyTorch with the correct CUDA version
# as instructed on https://pytorch.org/get-started/locally/
torch
pytest==3.2.5
pytest-cov==2.5.1

0 comments on commit 60a2319

Please sign in to comment.