You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by ma...@apache.org on 2021/12/29 07:26:49 UTC

[tvm] branch main updated: disable signal capture in unit test of paddle frontend (#9809)

This is an automated email from the ASF dual-hosted git repository.

masahi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/main by this push:
     new d56ca35  disable signal capture in unit test of paddle frontend (#9809)
d56ca35 is described below

commit d56ca358bb33a355d1af8dd974f5961e285f9204
Author: Jason <ji...@baidu.com>
AuthorDate: Wed Dec 29 15:26:28 2021 +0800

    disable signal capture in unit test of paddle frontend (#9809)
    
    * disable signal capture in unit test of paddle frontend
    
    * code format
---
 tests/python/frontend/paddlepaddle/test_forward.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/python/frontend/paddlepaddle/test_forward.py b/tests/python/frontend/paddlepaddle/test_forward.py
index ea74f94..dcc1646 100644
--- a/tests/python/frontend/paddlepaddle/test_forward.py
+++ b/tests/python/frontend/paddlepaddle/test_forward.py
@@ -27,6 +27,8 @@ from tvm.contrib import graph_executor
 import pytest
 
 import paddle
+
+paddle.disable_signal_handler()
 import paddle.nn as nn
 
 PADDLE_TEST_DATA_ROOT_PATH = Path(Path("~").expanduser(), ".tvm_test_data", "paddle")