Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed installation from source (Python 3.8) #113

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
FROM pytorch/pytorch:1.8.1-cuda11.1-cudnn8-devel

# metainformation
LABEL org.opencontainers.image.version = "0.1.3"
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"
LABEL org.opencontainers.image.base.name="docker.io/pytorch/pytorch:1.8.1-cuda11.1-cudnn8-devel"

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 && \
pip install torchdrug
pip install torchdrug
10 changes: 0 additions & 10 deletions requirements.txt

This file was deleted.

21 changes: 21 additions & 0 deletions requirements.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: torchdrug-env
channels:
- conda-forge
- defaults
- pyg
dependencies:
- python=3.8
- decorator
- numpy>=1.11
- rdkit
- matplotlib
- tqdm
- networkx
- ninja
- jinja2
- pip
- torch-scatter>=2.0.8
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Installation of torch-scatter is now available via conda. See update.


# pip only
- pip:
- torch==1.5.0