-
Notifications
You must be signed in to change notification settings - Fork 568
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Support for ESMfold with newer Ubuntu and CUDA version #500
Comments
Hi, thanks for your effort in maintaining this project! 😄 |
@JoseEspinosa @Wan8uq1 Maybe you could use just the OpenFold itself in the Soloseq mode? It works fine for me with the |
Hi, @vaclavhanzl Thanks so much for the reply! I found the solution earlier myself and it seems the trick is to separate dependencies and pip in setting up conda env, and making sure the environment is using - PyTorch 1.12.1 + CUDA 11.3 + cuDNN 8.9 + GCC 7. Indeed Ubuntu 22.04 doesn't support CUDA 11.3 officially but with right gcc version it can be complied. @JoseEspinos , I hope this might help. My Env is as follow: Ubuntu 22.04 & Nvidia-smi is 12.2, and here is what I did: Save the following as conda_environment.yml
Run the following command to create the esmfold environment:
Save the following as pip_requirements.txt
Activate conda environment esmfold or whatever you name it, and Install the pip packages
And then run the esmfold installation command they provided:
Then it should be good to go. |
Happy to hear you made it work @Wan8uq1 and thanks as lot for sharing your solution. I'd still love to hear what does ESMfold provide and OpenFold's Soloseq does not? I guess it is using a different set of weights so you might get slightly different prediction sometimes? |
Hi, Using esmfold over Openfold soloseq is more on my end: I am trying to do structural cluster for some proteins, part of their structures are from esmfold repo so I just want to be consist for those that I have to predict. |
OK, thanks for the explanation @Wan8uq1 and good luck! |
Thanks both for the feedback! 😄 |
I don't see a way to run Soloseq for multimer prediction. |
Hi,
First of all, thanks for all works put in.
The system I have is Ubuntu 22.04
My issue is as follow. I am trying to use ESMfold which is depend on Openfold. What I did was installing https://github.com/aqlaboratory/openfold/tree/pl_upgrades to my environment and then install ESMfold via
pip install "fair-esm[esmfold]"
I run into this error when using the ESMFold Structure Prediction test script from ESMfold README
RuntimeError: Keys 'trunk.structure_module.ipa.linear_q_points.linear.weight, trunk.structure_module.ipa.linear_q_points.linear.bias, trunk.structure_module.ipa.linear_kv_points.linear.bias, trunk.structure_module.ipa.linear_kv_points.linear.weight' are missing.
From there I've found this thread on the issue: facebookresearch/esm#435
and the resolution is seems is to use openfold v1.
However, openfold v1 is using cuda 11.3 which is not supported on Ubuntu 22.04. It really seems this a dead end.
It is frustrating as I struggled for a week and couldn't find solution. Please spare some help.
Sincerely thanks!
The text was updated successfully, but these errors were encountered: