Skip to content

Commit b834f40

Browse files
committed
v0.2.0
1 parent 09ffe18 commit b834f40

File tree

9 files changed

+21
-11
lines changed

9 files changed

+21
-11
lines changed

Diff for: README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
</a>
77
</h1>
88

9-
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1Tbnr1Fog_YjkqU1MOhcVLuxqZ4DC-c8-#forceEdit=true&sandboxMode=true)
9+
[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1Tbnr1Fog_YjkqU1MOhcVLuxqZ4DC-c8-#forceEdit=true&sandboxMode=true)
1010
[![Contributions](https://img.shields.io/badge/contributions-welcome-blue)](https://github.com/DeepGraphLearning/torchdrug/blob/master/CONTRIBUTING.md)
1111
[![License Apache-2.0](https://img.shields.io/github/license/DeepGraphLearning/torchdrug?color=blue)](https://github.com/DeepGraphLearning/torchdrug/blob/master/LICENSE)
12+
[![PyPI downloads](https://static.pepy.tech/personalized-badge/torchdrug?period=total&units=international_system&left_color=grey&right_color=blue&left_text=downloads)](https://pypi.org/project/torchdrug/)
1213
[![TorchDrug Twitter](https://img.shields.io/twitter/url?label=TorchDrug&style=social&url=https%3A%2F%2Ftwitter.com%2FDrugTorch)](https://twitter.com/DrugTorch)
1314

1415
[Docs] | [Tutorials] | [Benchmarks] | [Papers Implemented]
@@ -42,7 +43,7 @@ conda install torchdrug -c milagraph -c conda-forge -c pytorch -c pyg
4243

4344
```bash
4445
pip3 install torch==1.9.0
45-
pip3 install torch-scatter -f https://pytorch-geometric.com/whl/torch-1.9.0+cu102.html
46+
pip3 install torch-scatter torch-cluster -f https://pytorch-geometric.com/whl/torch-1.9.0+cu102.html
4647
pip3 install torchdrug
4748
```
4849

Diff for: asset/graph/residues.png

9.87 KB
Loading

Diff for: conda/torchdrug/meta.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package:
22
name: torchdrug
3-
version: 0.1.3
3+
version: 0.2.0
44

55
source:
66
path: ../..
@@ -13,6 +13,7 @@ requirements:
1313
- python >=3.7,<3.10
1414
- pytorch >=1.8.0
1515
- pytorch-scatter >=2.0.8
16+
- pytorch-cluster >=1.5.9
1617
- decorator
1718
- numpy >=1.11
1819
- rdkit >=2020.09
@@ -21,6 +22,8 @@ requirements:
2122
- networkx
2223
- ninja
2324
- jinja2
25+
- python-lmdb
26+
- bio-embeddings-esm
2427

2528
build:
2629
noarch: python

Diff for: doc/source/installation.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ and CUDA is ``10.2``, the command should be
3030

3131
.. code:: bash
3232
33-
pip3 install torch-scatter -f https://pytorch-geometric.com/whl/torch-1.8.0+cu102.html
33+
pip3 install torch-scatter torch-cluster -f https://pytorch-geometric.com/whl/torch-1.8.0+cu102.html
3434
3535
Replace the versions in the above url according to your case. If you don't have GPUs
3636
or CUDA installed, treat the CUDA version in the url as ``cpu``. See

Diff for: docker/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM pytorch/pytorch:1.8.1-cuda11.1-cudnn8-devel
22

33
# metainformation
4-
LABEL org.opencontainers.image.version = "0.1.3"
4+
LABEL org.opencontainers.image.version = "0.2.0"
55
LABEL org.opencontainers.image.authors = "TorchDrug Team"
66
LABEL org.opencontainers.image.source = "https://github.com/DeepGraphLearning/torchdrug"
77
LABEL org.opencontainers.image.licenses = "Apache License 2.0"
@@ -11,5 +11,5 @@ RUN apt-get update && \
1111
apt-get install -y libxrender1 && \
1212
rm -rf /var/lib/apt/lists/*
1313

14-
RUN pip install torch-scatter -f https://pytorch-geometric.com/whl/torch-1.8.1+cu111.html && \
14+
RUN pip install torch-scatter torch-cluster -f https://pytorch-geometric.com/whl/torch-1.8.1+cu111.html && \
1515
pip install torchdrug

Diff for: requirements.txt

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
torch>=1.8.0
22
torch-scatter>=2.0.8
3+
torch-cluster>=1.5.9
34
decorator
45
numpy>=1.11
5-
rdkit-pypi
6+
rdkit-pypi>=2020.9
67
matplotlib
78
tqdm
89
networkx
910
ninja
10-
jinja2
11+
jinja2
12+
lmdb
13+
fair-esm

Diff for: setup.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
long_description_content_type="text/markdown",
1414
url="https://torchdrug.ai/",
1515
author="TorchDrug Team",
16-
version="0.1.3",
16+
version="0.2.0",
1717
license="Apache-2.0",
1818
keywords=["deep-learning", "pytorch", "drug-discovery"],
1919
packages=setuptools.find_packages(),
@@ -31,6 +31,7 @@
3131
install_requires=[
3232
"torch>=1.8.0",
3333
"torch-scatter>=2.0.8",
34+
"torch-cluster>=1.5.9",
3435
"decorator",
3536
"numpy>=1.11",
3637
"rdkit-pypi>=2020.9",
@@ -39,6 +40,8 @@
3940
"networkx",
4041
"ninja",
4142
"jinja2",
43+
"lmdb",
44+
"fair-esm",
4245
],
4346
python_requires=">=3.7,<3.10",
4447
classifiers=[

Diff for: torchdrug/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
handler.setFormatter(format)
1313
logger.addHandler(handler)
1414

15-
__version__ = "0.1.3"
15+
__version__ = "0.2.0"

Diff for: torchdrug/layers/common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def forward(self, input):
7474
class GaussianSmearing(nn.Module):
7575
r"""
7676
Gaussian smearing from
77-
`SchNet: A continuous-filter convolutional neural network for modeling quantum interactions`_.``
77+
`SchNet: A continuous-filter convolutional neural network for modeling quantum interactions`_.
7878
7979
There are two modes for Gaussian smearing.
8080

0 commit comments

Comments
 (0)