Update initialization.py

This commit is contained in:
lllyasviel
2024-01-25 15:13:32 -08:00
parent ad778e688a
commit 16a3b4233d

View File

@@ -22,4 +22,8 @@ def initialize_forge():
import modules_forge.patch_precision
modules_forge.patch_precision.patch_all_precision()
if model_management.directml_enabled:
model_management.lowvram_available = True
model_management.OOM_EXCEPTION = Exception
return