Skip to content

Commit

Permalink
v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
KiddoZhu committed Sep 19, 2022
1 parent 09ffe18 commit cd73e22
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ conda install torchdrug -c milagraph -c conda-forge -c pytorch -c pyg

```bash
pip3 install torch==1.9.0
pip3 install torch-scatter -f https://pytorch-geometric.com/whl/torch-1.9.0+cu102.html
pip3 install torch-scatter torch-cluster -f https://pytorch-geometric.com/whl/torch-1.9.0+cu102.html
pip3 install torchdrug
```

Expand Down
Binary file added asset/graph/residues.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions conda/torchdrug/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package:
name: torchdrug
version: 0.1.3
version: 0.2.0

source:
path: ../..
Expand All @@ -13,6 +13,7 @@ requirements:
- python >=3.7,<3.10
- pytorch >=1.8.0
- pytorch-scatter >=2.0.8
- pytorch-cluster >=1.5.9
- decorator
- numpy >=1.11
- rdkit >=2020.09
Expand All @@ -21,6 +22,8 @@ requirements:
- networkx
- ninja
- jinja2
- python-lmdb
- bio-embeddings-esm

build:
noarch: python
Expand All @@ -35,7 +38,7 @@ test:
- torchdrug.datasets
- torchdrug.layers
- torchdrug.metrics
- torchdrug.models
- torchdrug.models1
- torchdrug.tasks
- torchdrug.transforms
- torchdrug.utils
Expand Down
2 changes: 1 addition & 1 deletion doc/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ and CUDA is ``10.2``, the command should be

.. code:: bash
pip3 install torch-scatter -f https://pytorch-geometric.com/whl/torch-1.8.0+cu102.html
pip3 install torch-scatter torch-cluster -f https://pytorch-geometric.com/whl/torch-1.8.0+cu102.html
Replace the versions in the above url according to your case. If you don't have GPUs
or CUDA installed, treat the CUDA version in the url as ``cpu``. See
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM pytorch/pytorch:1.8.1-cuda11.1-cudnn8-devel

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

RUN pip install torch-scatter -f https://pytorch-geometric.com/whl/torch-1.8.1+cu111.html && \
RUN pip install torch-scatter torch-cluster -f https://pytorch-geometric.com/whl/torch-1.8.1+cu111.html && \
pip install torchdrug
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
long_description_content_type="text/markdown",
url="https://torchdrug.ai/",
author="TorchDrug Team",
version="0.1.3",
version="0.2.0",
license="Apache-2.0",
keywords=["deep-learning", "pytorch", "drug-discovery"],
packages=setuptools.find_packages(),
Expand All @@ -31,6 +31,7 @@
install_requires=[
"torch>=1.8.0",
"torch-scatter>=2.0.8",
"torch-cluster>=1.5.9",
"decorator",
"numpy>=1.11",
"rdkit-pypi>=2020.9",
Expand All @@ -39,6 +40,8 @@
"networkx",
"ninja",
"jinja2",
"lmdb",
"fair-esm",
],
python_requires=">=3.7,<3.10",
classifiers=[
Expand Down
2 changes: 1 addition & 1 deletion torchdrug/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
handler.setFormatter(format)
logger.addHandler(handler)

__version__ = "0.1.3"
__version__ = "0.2.0"

0 comments on commit cd73e22

Please sign in to comment.