-
Notifications
You must be signed in to change notification settings - Fork 68
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
NVE ensemble is added #266
Conversation
…in TensorNet class
…oat_th and including linear layer in TensorNet to match the original implementations
WalkthroughThe recent changes focus on enhancing the consistency of units in the PES training for MatGL and expanding the capabilities of molecular dynamics simulations. Specifically, the updates include the addition of the Changes
Recent Review DetailsConfiguration used: .coderabbit.yaml Files selected for processing (3)
Additional Context UsedLanguageTool (4)
Additional comments not posted (2)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
In the PES training, the unit of energies, forces and stresses (optional) in the training, validation and test sets is extremely important to be consistent with the unit used in MatGL. | ||
|
||
- energies: a list of energies with unit eV. | ||
- forces: a list of nx3 force matrix with unit eV/Å, where n is the number of atom in each structure. n does not need to be the same for all structures. | ||
- stresses: a list of 3x3 stress matrices with unit GPa (optional) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The emphasis on unit consistency in the PES training documentation is crucial and well-explained. Consider using a less frequent alternative to "extremely" to enhance the readability.
- The unit of energies, forces and stresses in the training, validation and test sets is extremely important to be consistent with the unit used in MatGL.
+ The unit of energies, forces and stresses in the training, validation and test sets is critically important to be consistent with the unit used in MatGL.
Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.
In the PES training, the unit of energies, forces and stresses (optional) in the training, validation and test sets is extremely important to be consistent with the unit used in MatGL. | |
- energies: a list of energies with unit eV. | |
- forces: a list of nx3 force matrix with unit eV/Å, where n is the number of atom in each structure. n does not need to be the same for all structures. | |
- stresses: a list of 3x3 stress matrices with unit GPa (optional) | |
In the PES training, the unit of energies, forces and stresses (optional) in the training, validation and test sets is critically important to be consistent with the unit used in MatGL. | |
- energies: a list of energies with unit eV. | |
- forces: a list of nx3 force matrix with unit eV/Å, where n is the number of atom in each structure. n does not need to be the same for all structures. | |
- stresses: a list of 3x3 stress matrices with unit GPa (optional) | |
Summary
NVE ensemble is added
Checklist
ruff
.mypy
.duecredit
@due.dcite
decorators to reference relevant papers by DOI (example)Tip: Install
pre-commit
hooks to auto-check types and linting before every commit: