Closed sef43 closed 1 year ago
@sef43 Openmmtools shouldn't be pulling jax as a dependency, I think that should be coming from pymbar
. That's the only dependency I can think of that could be pulling jax.
A way of installing pymbar without jax is discussed in https://github.com/choderalab/pymbar . But I think another way is to just use pymbar=3
when you create your environment. I hope that helps.
Thanks @ijpulidos, telling mamba to install pymbar=3
works. Also should note that this problem only happens on google Colab so definitely conda to blame for it.
Hello, how can I install the latest Openmmtools without the JAX dependency?
I just want to use the OpenMM test systems but I encounter an error from jaxlib version. I think openmmtools is importing pymbar which imports JAX? I don't believe jax functionality should be needed for the testsystems. Combined with PyTorch packaged needed for OpenMM torch this becomes a heavy conda install. Here is a Colab notebook that demonstrates the problem when run on the T4 GPU runtime: https://colab.research.google.com/drive/1O28OGU3HG2d04xKVLPwGYNl-mpEPs0XM?usp=sharing
Ideally I would not need to install Jax at all.
error: