mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-04-20 03:13:30 +00:00
print stack traces for all threads on SIGUSR1
This commit is contained in:
parent
56e8f5e4fd
commit
4174ddba0c
3
main.py
3
main.py
@ -65,6 +65,9 @@ import gc
|
|||||||
import logging
|
import logging
|
||||||
import utils.extra_config
|
import utils.extra_config
|
||||||
|
|
||||||
|
import faulthandler, signal
|
||||||
|
faulthandler.register(signal.SIGUSR1)
|
||||||
|
|
||||||
if os.name == "nt":
|
if os.name == "nt":
|
||||||
logging.getLogger("xformers").addFilter(lambda record: 'A matching Triton is not available' not in record.getMessage())
|
logging.getLogger("xformers").addFilter(lambda record: 'A matching Triton is not available' not in record.getMessage())
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user