Skip to content

Commit

Permalink
update dependency to torch 1.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
KiddoZhu committed Nov 21, 2021
1 parent 909dd2d commit a710097
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ Installation
------------

TorchDrug can be installed on either Linux, Windows or macOS. It is compatible with
Python 3.7/3.8 and PyTorch >= 1.4.0.
Python 3.7/3.8 and PyTorch >= 1.8.0.

### From Conda ###

```bash
conda install -c milagraph -c conda-forge torchdrug
conda install torchdrug -c milagraph -c conda-forge -c pytorch -c pyg
```

### From Pip ###
Expand Down
4 changes: 2 additions & 2 deletions conda/torchdrug/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ requirements:
- pip
run:
- python >=3.7,<3.9
- pytorch >=1.4.0
- pytorch_scatter >=1.4.0
- pytorch >=1.8.0
- pytorch-scatter >=2.0.8
- decorator
- numpy >=1.11
- rdkit
Expand Down
4 changes: 2 additions & 2 deletions doc/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Installation
============

TorchDrug can be installed on either Linux, Windows or macOS. It is compatible with
Python 3.7/3.8 and PyTorch >= 1.4.0.
Python 3.7/3.8 and PyTorch >= 1.8.0.

For Windows

Expand All @@ -11,7 +11,7 @@ From Conda

.. code:: bash
conda install -c milagraph -c conda-forge torchdrug
conda install torchdrug -c milagraph -c conda-forge -c pytorch -c pyg
From Pip
--------
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
torch>=1.4.0
torch-scatter>=1.4.0
torch>=1.8.0
torch-scatter>=2.0.8
decorator
numpy>=1.11
rdkit-pypi
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
test_suite="nose.collector",
install_requires=
[
"torch>=1.4.0",
"torch-scatter>=1.4.0",
"torch>=1.8.0",
"torch-scatter>=2.0.8",
"decorator",
"numpy>=1.11",
"rdkit-pypi",
Expand Down

0 comments on commit a710097

Please sign in to comment.