Skip to content

Commit

Permalink
rm dy2static eager tests part1 bert2loop (#48790)
Browse files Browse the repository at this point in the history
  • Loading branch information
yjjiang11 authored Dec 9, 2022
1 parent fe1f9c9 commit 4f10e94
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,5 +281,4 @@ def verify_predict(self):


if __name__ == '__main__':
with fluid.framework._test_eager_guard():
unittest.main()
unittest.main()
Original file line number Diff line number Diff line change
Expand Up @@ -880,5 +880,4 @@ def predict_analysis_inference(self, data):


if __name__ == "__main__":
with fluid.framework._test_eager_guard():
unittest.main()
unittest.main()
Original file line number Diff line number Diff line change
Expand Up @@ -292,5 +292,4 @@ def init_dygraph_func(self):


if __name__ == '__main__':
with fluid.framework._test_eager_guard():
unittest.main()
unittest.main()
Original file line number Diff line number Diff line change
Expand Up @@ -723,5 +723,4 @@ def test_train(self):


if __name__ == "__main__":
with fluid.framework._test_eager_guard():
unittest.main()
unittest.main()
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,4 @@ def test_ast_to_func(self):


if __name__ == '__main__':
with paddle.fluid.framework._test_eager_guard():
unittest.main()
unittest.main()
Original file line number Diff line number Diff line change
Expand Up @@ -509,5 +509,4 @@ def test_run_backward(self):


if __name__ == '__main__':
with paddle.fluid.framework._test_eager_guard():
unittest.main()
unittest.main()
Original file line number Diff line number Diff line change
Expand Up @@ -709,5 +709,4 @@ def predict_dygraph_jit(self, batch):


if __name__ == "__main__":
with fluid.framework._test_eager_guard():
unittest.main()
unittest.main()
Original file line number Diff line number Diff line change
Expand Up @@ -442,5 +442,4 @@ def _init_dyfunc(self):


if __name__ == '__main__':
with fluid.framework._test_eager_guard():
unittest.main()
unittest.main()

0 comments on commit 4f10e94

Please sign in to comment.