Skip to content

Commit cd73e22

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

File tree

7 files changed

+14
-8
lines changed

7 files changed

+14
-8
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ conda install torchdrug -c milagraph -c conda-forge -c pytorch -c pyg
4242

4343
```bash
4444
pip3 install torch==1.9.0
45-
pip3 install torch-scatter -f https://pytorch-geometric.com/whl/torch-1.9.0+cu102.html
45+
pip3 install torch-scatter torch-cluster -f https://pytorch-geometric.com/whl/torch-1.9.0+cu102.html
4646
pip3 install torchdrug
4747
```
4848

asset/graph/residues.png

9.87 KB
Loading

conda/torchdrug/meta.yaml

+5-2
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
@@ -35,7 +38,7 @@ test:
3538
- torchdrug.datasets
3639
- torchdrug.layers
3740
- torchdrug.metrics
38-
- torchdrug.models
41+
- torchdrug.models1
3942
- torchdrug.tasks
4043
- torchdrug.transforms
4144
- torchdrug.utils

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

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

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=[

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"

0 commit comments

Comments
 (0)