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

Add batched prediction to molecular dynamics #134

Merged
merged 2 commits into from
Mar 4, 2025

Conversation

miketynes
Copy link
Contributor

  • add a batch_size parameter to the MolecularDynamics class
  • pass it to the Predictor.__call__ method during each _step of molecular dynamics

The motivation for this is to prevent OOM errors encountered when doing large ensemble sampling runs.

@lubbersnick
Copy link
Collaborator

Looks good, just going to hold it open a bit in case you find something very similar and relevant for us to bundle in.

@lubbersnick lubbersnick merged commit 372a890 into lanl:development Mar 4, 2025
1 check passed
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.

2 participants