Skip to content

Commit

Permalink
v0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
KiddoZhu committed Jul 16, 2023
1 parent 17ab229 commit 6066fbd
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 13 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ conda install torchdrug -c milagraph -c conda-forge -c pytorch -c pyg
### From Pip ###

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

To install `torch-scatter` for other PyTorch or CUDA versions, please see the
Expand Down
2 changes: 1 addition & 1 deletion conda/torchdrug/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package:
name: torchdrug
version: 0.2.0
version: 0.2.1

source:
path: ../..
Expand Down
2 changes: 1 addition & 1 deletion doc/source/api/utils.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,6 @@ Decorator
Helper functions
----------------

.. currentmodule:: torchdrug.utils.doc
.. currentmodule:: torchdrug.utils

.. autofunction:: copy_args
13 changes: 8 additions & 5 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/3.9 and PyTorch >= 1.8.0.
3.7 <= Python <= 3.10 and PyTorch >= 1.8.0.

For Windows

Expand All @@ -20,7 +20,7 @@ First, let's install PyTorch.

.. code:: bash
pip3 install torch
pip install torch
To install ``torch-scatter``, we need to check the version of PyTorch and CUDA.

Expand All @@ -30,7 +30,7 @@ and CUDA is ``10.2``, the command should be

.. code:: bash
pip3 install torch-scatter torch-cluster -f https://pytorch-geometric.com/whl/torch-1.8.0+cu102.html
pip 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 All @@ -40,7 +40,7 @@ Finally, install TorchDrug via

.. code:: bash
pip3 install torchdrug
pip install torchdrug
From Source
-----------
Expand Down Expand Up @@ -89,7 +89,10 @@ create the profile if you use it for the first time.
Apple Silicon (M1/M2 Chips)
---------------------------

PyTorch supports Apple silicon from version 1.13. While `torch-scatter` and `torch-cluster` don't have pre-compiled binaries for Apple silicon, we can compile them from their sources. See https://github.com/rusty1s/pytorch_scatter/issues/241 for more details.
PyTorch supports Apple silicon from version 1.13. While `torch-scatter` and
`torch-cluster` don't have pre-compiled binaries for Apple silicon, we can compile
them from their sources. See https://github.com/rusty1s/pytorch_scatter/issues/241
for more details.

.. code:: bash
Expand Down
2 changes: 1 addition & 1 deletion 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.2.0"
LABEL org.opencontainers.image.version = "0.2.1"
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 Down
2 changes: 1 addition & 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.2.0",
version="0.2.1",
license="Apache-2.0",
keywords=["deep-learning", "pytorch", "drug-discovery"],
packages=setuptools.find_packages(),
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.2.0"
__version__ = "0.2.1"

0 comments on commit 6066fbd

Please sign in to comment.