-
Notifications
You must be signed in to change notification settings - Fork 524
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix DeepGlobalPolar and DeepWFC initlization (#3834)
Fix #3561. Fix #3562. Not sure if some one uses them, but it's good to keep compatibility. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced support for "global_polar" and "wfc" mappings in evaluation backend. - Added `output_def` property to define model output for `DeepGlobalPolar` and `DeepWFC` classes. - **Bug Fixes** - Updated test setup to create temporary model files for `DeepGlobalPolar` and `DeepWFC`. - **Refactor** - `DeepGlobalPolar` and `DeepWFC` classes now inherit from `OldDeepTensor` for better structure and functionality. - **Tests** - Enhanced test coverage to include instantiation checks for `DeepGlobalPolar` and `DeepWFC` objects. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Jinzhe Zeng <[email protected]>
- Loading branch information
Showing
5 changed files
with
101 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters