Replies: 1 comment 2 replies
-
The DP native neighbor list OP calculates distances in deepmd-kit/source/lib/src/cuda/neighbor_list.cu Lines 67 to 94 in 92ca097 So I suggest passing the neighbor list from OpenMM to DP, or do you want to implement a more effect way to calculate distances when P.S. I am surprised that you said the speed is similar. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I’m currently profiling the simulation performance of OpenMM+DP and comparing it with LAMMPS+DP. Interestingly, I found that the simulation speed of OpenMM is similar to LAMMPS. However, there is a significant difference in GPU memory usage between OpenMM+DP and LAMMPS+DP. While LAMMPS+DP fetches the neighbor list information from LAMMPS, OpenMM+DP relies on the neighbor list construction algorithm in DeePMD-kit.
To illustrate this point, I’ve created a table below showing the GPU memory usage for simulations with 1024 water molecules:
Is it reasonable to expect these results for simulations with DP models? If so, are there any plans to reduce the GPU memory usage during inference in the future? Currently, the high memory usage of DP limits the maximum number of atoms that can be simulated, particularly when compared with the neighbor list construction implementation in OpenMM which can typically support simulations with millions of atoms.
Are there any ongoing efforts to address this issue and improve the scalability of DP simulations in terms of the number of atoms that can be simulated?
Beta Was this translation helpful? Give feedback.
All reactions