You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix#4137.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Enhanced descriptor handling to support three-body interactions,
improving model flexibility.
- Introduced a new model configuration, `model_dpa2tebd`, with advanced
parameters for better performance.
- **Tests**
- Added a new test class, `TestMultiTaskDPA2Tebd`, to expand testing
coverage for the new model configuration.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Fix#4137.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Enhanced descriptor handling to support three-body interactions,
improving model flexibility.
- Introduced a new model configuration, `model_dpa2tebd`, with advanced
parameters for better performance.
- **Tests**
- Added a new test class, `TestMultiTaskDPA2Tebd`, to expand testing
coverage for the new model configuration.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Bug summary
In
share_params
function ofDescrptDPA2
module,repinit_three_body
module does not share params.Code:
if shared_level == 0:
self._modules["type_embedding"] = base_class._modules["type_embedding"]
self.repinit.share_params(base_class.repinit, 0, resume=resume)
self._modules["g1_shape_tranform"] = base_class._modules[
"g1_shape_tranform"
]
self.repformers.share_params(base_class.repformers, 0, resume=resume)
You can see only
repinit
andrepformer
share params.repinit_three_body
does not.DeePMD-kit Version
newest devel branch
Backend and its version
not related
How did you download the software?
Offline packages
Input Files, Running Commands, Error Log, etc.
No content
Steps to Reproduce
No content
Further Information, Files, and Links
No content
The text was updated successfully, but these errors were encountered: