Open sef43 opened 1 year ago
You can override the CUDA detection: https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-virtual.html#overriding-detected-packages
Should we put this workaround on the README install guide?
Users shouldn't need a workaround. It ought to automatically install compatible packages.
As I understand it that would require us providing a conda-forge build of openmm-torch that is built against, and depends on, conda-forge pytorch-*-cpu
. The pytorch-*-gpu
versions on conda-forge have a dependency on __cuda
so can only be installed by conda if the user has a CUDA installation or overrides the CUDA detection.
This is still a problem with the 1.4 release. It is the same as the issues on the feedstock: https://github.com/conda-forge/openmm-torch-feedstock/issues/37
I am using a linux machine which does not have CUDA and does not have NVIDIA GPUS. When I install the latest version of opemm-torch and openmm using this command:
I get errors when importing openmmtorch:
I think this is because conda installs these incompatible packages:
openmm-torch uses a pytorch cuda version, but the pytorch installed is a cpu only version.