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#4308.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Introduced a new function to dynamically determine the backend
framework based on the model file type.
- **Improvements**
- Enhanced backend detection logic in multiple classes, allowing for
more flexible model initialization.
- Simplified control flow in the initialization methods of various
components.
- **Bug Fixes**
- Improved error handling for unsupported backends and model formats
during initialization processes.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
The addition of JAX to the
DPBackend
enum requires updates in multiple files to maintain consistency across the codebase:source/api_cc/src/DeepTensor.cc
: Backend type checks need JAX handlingsource/api_cc/src/DeepPot.cc
: Missing JAX case in backend comparisonssource/api_cc/src/DataModifier.cc
: Backend switch statements need JAX supportThis issue was identified in PR #4307 (link) during the code review discussion here.
cc @njzjz
The text was updated successfully, but these errors were encountered: