-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add function to disable paddle signal handler #34577
Conversation
✅ This PR's description meets the template requirements! |
Thanks for your contribution! |
0c9f26c
to
c056132
Compare
Add API doc and design doc |
python/paddle/fluid/tests/unittests/test_disable_signal_handler.py
Outdated
Show resolved
Hide resolved
Paddle used google::InstallFaultSignalHandler to handle selected system signals, mainly for debugging and bug report purposes. However, this can be conflicted with other python packages whoever captures similar signals. Such python package involves tvm and more To resolve this issue, we support a function to disable signal handler
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
除了api调用,是否可以通过环境变量来进行设置? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* Add CN doc for disable_signal_handler PR: PaddlePaddle/Paddle#34577 * Add detailed messages to cn_doc
* Add function to disable paddle signal handler Paddle used google::InstallFaultSignalHandler to handle selected system signals, mainly for debugging and bug report purposes. However, this can be conflicted with other python packages whoever captures similar signals. Such python package involves tvm and more To resolve this issue, we support a function to disable signal handler * Remove signal test from WIN32 platform * Remove redundant return from disable_signal_handler() function * Add detailed messages to en_doc
* Add CN doc for disable_signal_handler PR: PaddlePaddle/Paddle#34577 * Add detailed messages to cn_doc
* Add function to disable paddle signal handler Paddle used google::InstallFaultSignalHandler to handle selected system signals, mainly for debugging and bug report purposes. However, this can be conflicted with other python packages whoever captures similar signals. Such python package involves tvm and more To resolve this issue, we support a function to disable signal handler * Remove signal test from WIN32 platform * Remove redundant return from disable_signal_handler() function * Add detailed messages to en_doc
PR types
New features
PR changes
APIs
Describe
Paddle used google::InstallFaultSignalHandler to handle selected system signals,
mainly for debugging and bug report purposes.
However, this can be conflicted with other python packages whoever captures similar signals.
Such python package involves tvm and more
To resolve this issue, we support a function to disable signal handler
Note that Paddle does not register signal handlers on Windows platform. So this function is only needed on Linux/Unix.
CN doc: PaddlePaddle/docs#3700
CN preview:
EN preview: