Skip to content

Commit a710097

Browse files
committed
update dependency to torch 1.8.0
1 parent 909dd2d commit a710097

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ Installation
2626
------------
2727

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

3131
### From Conda ###
3232

3333
```bash
34-
conda install -c milagraph -c conda-forge torchdrug
34+
conda install torchdrug -c milagraph -c conda-forge -c pytorch -c pyg
3535
```
3636

3737
### From Pip ###

conda/torchdrug/meta.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ requirements:
1111
- pip
1212
run:
1313
- python >=3.7,<3.9
14-
- pytorch >=1.4.0
15-
- pytorch_scatter >=1.4.0
14+
- pytorch >=1.8.0
15+
- pytorch-scatter >=2.0.8
1616
- decorator
1717
- numpy >=1.11
1818
- rdkit

doc/source/installation.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Installation
22
============
33

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

77
For Windows
88

@@ -11,7 +11,7 @@ From Conda
1111

1212
.. code:: bash
1313
14-
conda install -c milagraph -c conda-forge torchdrug
14+
conda install torchdrug -c milagraph -c conda-forge -c pytorch -c pyg
1515
1616
From Pip
1717
--------

requirements.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
torch>=1.4.0
2-
torch-scatter>=1.4.0
1+
torch>=1.8.0
2+
torch-scatter>=2.0.8
33
decorator
44
numpy>=1.11
55
rdkit-pypi

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
test_suite="nose.collector",
3030
install_requires=
3131
[
32-
"torch>=1.4.0",
33-
"torch-scatter>=1.4.0",
32+
"torch>=1.8.0",
33+
"torch-scatter>=2.0.8",
3434
"decorator",
3535
"numpy>=1.11",
3636
"rdkit-pypi",

0 commit comments

Comments
 (0)