Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add detailed messages to en_doc
Browse files Browse the repository at this point in the history
jim19930609 committed Aug 16, 2021
1 parent 4278997 commit c5a8cae
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion python/paddle/fluid/framework.py
Original file line number Diff line number Diff line change
@@ -60,7 +60,6 @@
'device_guard',
'set_flags',
'get_flags',
'disable_signal_handler',
]

EMPTY_VAR_NAME = core.kEmptyVarName()
@@ -403,6 +402,12 @@ def disable_signal_handler():
Paddle installs signal handlers at C++ level to log debug information upon failing.
However, conflicts can happen if another python module is making use of such signal.
Such being the case, one may disblae paddle signal handler via this interface.
Known frameworks that require disabling signal handler includes:
1. TVM
2. ADLIK
Make sure you called paddle.disable_signal_handler() before using above mentioned frameworks.
Returns: None

1 comment on commit c5a8cae

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulation! Your pull request passed all required CI. You could ask reviewer(s) to approve and merge. 🎉

Please sign in to comment.