[Eager] Refactor several sharding test (#42608)
* [Eager] fix sharding under eager mode * [Eager] fix several sharding test under eager mode * Recover using _test_eager_guard * Ensured fleet.init under legacy * Ensured fleet.init under legacy * Fix CI issue, re-definition strategy and call fleet.init() in stage2_offload * Modified dygraph_group_sharded_api.py, move fleet.init to a better line
Showing
想要评论请 注册 或 登录