Open awaelchli opened 1 year ago
@awaelchli I think this would be great. Optimizations and new features aside (I think they're great btw!), I'm currently having to run openfold with both lightning
and pytorch_lightning
installed which is obviously not ideal.
Agreed. A PyTorch/Lighting 2.0 version of openfold
would be very welcome.
Lightning 2.0 is rolling out soon (mid march) and comes with PyTorch 2.0 support and other significant simplifications and UX improvements. I have been working on converting the OpenFold code to the latest version: https://github.com/awaelchli/openfold/pull/1. I currently investigate
torch.compile
on the model as well. As you can see in the linked draft PR, the user-facing changes are very minimal.Are you interested in a PR that updates the code to Lightning 2.0?
The TODOs left are:
Please let me know if there is interest, thanks!
cc @gahdritz @NZ99