feat: Logging Improvements

This commit is contained in:
blessedcoolant
2023-05-13 02:13:49 +12:00
parent e5b7dd63e9
commit d796ea7bec
2 changed files with 52 additions and 49 deletions

View File

@ -2,6 +2,9 @@
# Copyright (c) 2022 Kyle Schouviller (https://github.com/kyle0654)
import logging
logging.getLogger("xformers").addFilter(lambda record: 'A matching Triton is not available' not in record.getMessage())
import os
import sys