Skip to content

Installation Woes #9

@JacksonBurns

Description

@JacksonBurns

Hello,

I tried installing minimol according to the indicated instructions (from pip) and had this issue:

OSError: [...]/_version_cuda.so: undefined symbol: _ZN5torch3jit17parseSchemaOrNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE

which is caused by incompatible torch and torch-geometric versions.

After much debugging, I got things up and running with this series of commands:

conda env create --name minimol 'python==3.10.*'
pip install 'torch==2.6.0' 'numpy<2'
pip install pyg_lib torch_scatter torch_sparse torch_cluster torch_spline_conv -f https://data.pyg.org/whl/torch-2.6.0+cu124.html
pip install minimol 'torch==2.6.0' 'numpy<2' 'scipy==1.12.*' # force minimol to respect the installed version of pytorch and numpy

The version of torch suggested in the README isn't listed on the pytorch geometric install page with a version of CUDA that I use, so I bumped it.

Similar issues extend to the Google colab. On trying to execute the notebook it eventually crashes from an error related to the numpy version being >1 when 1 is expected

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions