Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(pt): use eval mode in the C++ interface (#4402)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced error handling for improved clarity during execution. - Added evaluation mode setting for models to ensure correct inference behavior. - **Improvements** - Streamlined device management in computation methods for better resource utilization. - Improved flexibility in handling tensor creation and data transfer. - Updated computation methods to support new logic for message passing and mapping tensors. - Introduced new methods for mixed-type computations, enhancing functionality. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: Jinzhe Zeng <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information