You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This could be complicated by the fact that the installation of PyTorch-Geometric is not as trivial as pip install torch-geometric.
This is particularly true for the torch-scatter, torch-sparse, ... dependencies of torch-geometric. For these packages, it seems like wheels are not on PyPI but must be found instead on https://data.pyg.org/whl/torch-${TORCH}+${CUDA}.html.
Notice that we do need such dependencies for our project:
If Yes, then why does PyTorch-Geometric tells you to install its dependcies like torch-scatter with -f https://data.pyg.org/whl/torch-${TORCH}+${CUDA}.html instead?
Maybe everything works fine on CPU doing pip install ... from PyPI, but it breaks for GPUs?
If Yes, then maybe we can have our package on PyPI for CPU only, and then rely on our install.sh for GPU install and usage.
It turns out that torch-scatter, etc. are indeed on PyPI. But only the source tarball is there, so pip install torch-scatter will take some time to compile the C extensions!
On the other hand, torch-geometric is quick to install with pip install torch-geometric even if only the source tarball is on PyPI because torch-geometric is a pure-Python package.
This could be complicated by the fact that the installation of PyTorch-Geometric is not as trivial as
pip install torch-geometric
.This is particularly true for the
torch-scatter
,torch-sparse
, ... dependencies oftorch-geometric
. For these packages, it seems like wheels are not on PyPI but must be found instead onhttps://data.pyg.org/whl/torch-${TORCH}+${CUDA}.html
.Notice that we do need such dependencies for our project:
morphoclass/install.sh
Lines 54 to 57 in 72f59fa
The text was updated successfully, but these errors were encountered: