Merged
Conversation
… it adds dependencies without any real improvement.
…e proper rebuilding
# Conflicts: # modelforge/tests/test_models.py
Member
Author
|
I think this is ready to go. I'm going to hold off on adding back in the multiple cutoffs and do that in a separate PR to keep this smaller and more focused. |
wiederm
requested changes
Sep 30, 2024
… on openmm interface.
Member
Author
|
I added in a basic doc page about the neighbor lists. We will still need to think about the API for controlling things. We might ultimately need a wrapper inside the setup model that allows us to change the neighbor list implementation, instead of it being something that we build the model with (if I built with it, we need to build different versions of the model with different neighbor lists). But we can address that as we work on the openmm interface. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This changes how we handle neighbor lists for inference. This includes a more efficient brute force routine and a verlet scheme (although based still on an N^2 building step). These changes will make it easier to support other libraries.
I included a version of the verlet scheme that builds the neighbor list using NNPOps; however I commented it out right now to avoid adding that dependency as it does not seem to provide any improvements in speed/memory utilization after changing around the approach in the pure pytorch versions. I think this can be made faster if we can push more of the required code pieces to the cuda kernel.
box vectors are now stored in the NNPInput class to properly support periodic system.
Todo
Status