fix(pt): fix global bias stat with different natom#3944
fix(pt): fix global bias stat with different natom#3944iProzd merged 1 commit intodeepmodeling:develfrom
Conversation
WalkthroughWalkthroughThe recent changes focus on improving how model predictions are computed and processed in the Changes
Sequence Diagram(s)sequenceDiagram
participant A as Model Predictions
participant B as Atomic Dimensions
participant C as Frames within Systems
participant D as Testing Function
A->>B: Sum over atomic dimensions
A->>C: Concatenate frames
Note right of A: Remove redundant summation
D->>A: Sample multiple frames with different atom numbers
D->>A: Scale atom data
D->>A: Concatenate energy calculations
Tip AI model upgrade
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files☔ View full report in Codecov by Sentry. |
- fix global bias stat with different natom in frames - add ut to reveal this bug polar/dipole need further check from @anyangml <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Improved computation and processing of model predictions for better accuracy and performance. - **Tests** - Enhanced testing to include scenarios with multiple frames and varying atom numbers, ensuring robustness in energy calculations. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
polar/dipole need further check from @anyangml
Summary by CodeRabbit
New Features
Tests