Update _utils.py
This commit is contained in:
parent
66e07ede3b
commit
f687d7afc2
1 changed files with 1 additions and 1 deletions
|
|
@ -764,7 +764,7 @@ elif DEVICE_TYPE == "xpu":
|
|||
# Silence xformers CUDA mismatch warnings before import
|
||||
try:
|
||||
_xformers_logger = logging.getLogger("xformers")
|
||||
_xformers_logger.setLevel(_logging.ERROR)
|
||||
_xformers_logger.setLevel(logging.ERROR)
|
||||
del _xformers_logger
|
||||
except:
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue