Skip to content

Hyperparameter suggestions considering the speed in lammps #26

Answered by simonbatzner
Hongyu-yu asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Hongyu-yu, thanks for your interest in our code. You're right there is always a trade-off between accuracy and computational efficiency. The parameters you laid out are all important, here is what I usually scan:

  • r_max is by far the most important one, Allegro scales linear with # of edges, so reducing that will make a big difference
  • make sure you use a large enough latent mlp, often we see that a large, nonlinear latent mlp results in much better networks. Scalar MLPs are also super cheap so you won't pay much for it, I usually set latent_mlp_latent_dimensions: [128, 128, 128] and use a silu nonlinearity in that MLP.
  • make sure your 2-body MLP is large enough, so the example.yaml one…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by simonbatzner
Comment options

You must be logged in to vote
2 replies
@Linux-cpp-lisp
Comment options

@Hongyu-yu
Comment options

Comment options

You must be logged in to vote
1 reply
@Hongyu-yu
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants