compile traceback

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2025-01-31 09:11:11 -05:00
parent 10bdfd4c6e
commit d0d9759840
+2 -1
View File
@@ -1,7 +1,7 @@
import time
import logging
import torch
from modules import shared, devices, sd_models
from modules import shared, devices, sd_models, errors
from installer import setup_logging
@@ -208,6 +208,7 @@ def compile_torch(sd_model):
shared.log.info(f"Model compile: task=torch time={t1-t0:.2f}")
except Exception as e:
shared.log.warning(f"Model compile: task=torch {e}")
errors.display(e, 'Compile')
return sd_model