Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support AIMNet2 #64

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Support AIMNet2 #64

wants to merge 1 commit into from

Conversation

peastman
Copy link
Member

@peastman peastman commented Nov 1, 2023

Implements #63.

This is a first draft of AIMNet2 support. The current implementation assumes that you have downloaded the file aimnet2_wb97m-d3_ens.jpt from https://github.com/isayevlab/AIMNet2 and it's in your current working directory. Once conda packages become available, I'll modify it to use them instead. AIMNet2 does not currently support cutoffs or periodic boundary conditions. Hopefully they will be coming soon.

To test the performance, I tried simulating alanine dipeptide in vacuum (22 atoms) and compared it to ANI-2x. It takes 25.9 ms per step, compared to 0.97 ms for ANI. Hopefully there's room for it to be optimized.

@jchodera
Copy link
Member

jchodera commented Mar 7, 2024

Is this PR blocked by something on the AIMNet2 or TorchMD-Net sides?

@peastman
Copy link
Member Author

peastman commented Mar 7, 2024

It's blocked on the issues described above. AIMNet2 doesn't yet support cutoffs or periodic boundary conditions, and it isn't yet conda installable.

@jthorton
Copy link

@peastman I have recently added aimnet2 to conda-forge as pyaimnet2, once installed the models can be loaded using

from pyaimnet2 import load_model

model = load_model("wb97m-d3")  # can also load b973c

I hope this helps!

@peastman
Copy link
Member Author

Thanks! I'll give it a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants