This commit is contained in:
lllyasviel
2024-01-30 11:59:13 -08:00
parent 0f532823b2
commit d7991ca846
2 changed files with 86 additions and 0 deletions

View File

@@ -33,6 +33,9 @@ def initialize_forge():
import modules_forge.patch_basic
modules_forge.patch_basic.patch_all_basics()
import modules_forge.unet_patcher
modules_forge.unet_patcher.patch_all()
if model_management.directml_enabled:
model_management.lowvram_available = True
model_management.OOM_EXCEPTION = Exception