[Fix] Make autocast compatible with mps (#587)
* [Fix] Make autocast compatible with mps * Enhance unit test * fix unit test * clean the code * fix unit test
Please register or sign in to comment
* [Fix] Make autocast compatible with mps * Enhance unit test * fix unit test * clean the code * fix unit test