From 1f8fe035b90b5742d4471a7132dbbf8f73269cfa Mon Sep 17 00:00:00 2001 From: baoachun <962571062@qq.com> Date: Mon, 10 Jan 2022 20:23:16 +0800 Subject: [PATCH] update mul_gru_fuse_pass ut timeout setting (#38763) --- .../tests/unittests/ir/inference/test_mul_gru_fuse_pass.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_mul_gru_fuse_pass.py b/python/paddle/fluid/tests/unittests/ir/inference/test_mul_gru_fuse_pass.py index 9b1400e45bb..b5a53770435 100644 --- a/python/paddle/fluid/tests/unittests/ir/inference/test_mul_gru_fuse_pass.py +++ b/python/paddle/fluid/tests/unittests/ir/inference/test_mul_gru_fuse_pass.py @@ -132,7 +132,8 @@ class TestMulGruFusePass(PassAutoScanTest): yield config, ["im2sequence", "fusion_gru"], (1e-5, 1e-5) def test(self): - self.run_and_statis(quant=False, passes=["mul_gru_fuse_pass"]) + self.run_and_statis( + quant=False, max_duration=300, passes=["mul_gru_fuse_pass"]) if __name__ == "__main__": -- GitLab