apache / tvm

Open deep learning compiler stack for cpu, gpu and specialized accelerators
https://tvm.apache.org/
Apache License 2.0
11.82k stars 3.48k forks source link

Revert "[FFI] Add python signal handler for ctypes FFI (#17181)" #17414

Closed MasterJH5574 closed 2 months ago

MasterJH5574 commented 2 months ago

This reverts commit 91e9c63b42fcccec196a8ef9ed7a7bc7f82c2e52.

We noticed that the function ctypes.pythonapi.PyErr_CheckSignals may unexpectedly run into error and terminate the running process. Therefore, we revert this PR to avoid such termination.

MasterJH5574 commented 2 months ago

Closing this PR as the issue is resolved by #17419