Skip to content
Discussion options

You must be logged in to vote

I may have found the culprit. CP2K was setting the positions as float32 because the model dtype was float32. I think that was a remnant of the previous NequiP code structure. I am able to get Double precision for forces and atomic_energy by disabling CP2K's conversion of the positions from double to single precision which may be how the forces were being set to float32 in the ForceStressOutput function. Thanks for confirming that forces and atomic_energies should be in float64, it helped me trace the issue back to CP2K.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@krarmd
Comment options

@krarmd
Comment options

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