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 Python interface (#4404)
Same as #4402 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced model initialization by ensuring the model is set to evaluation mode immediately after loading, improving inference accuracy. - **Bug Fixes** - Corrected the control flow during model setup to prevent potential issues during evaluation. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Jinzhe Zeng <[email protected]>
- Loading branch information