mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-04-30 11:11:15 +00:00
Update initialization.py
This commit is contained in:
@@ -22,4 +22,8 @@ def initialize_forge():
|
|||||||
import modules_forge.patch_precision
|
import modules_forge.patch_precision
|
||||||
modules_forge.patch_precision.patch_all_precision()
|
modules_forge.patch_precision.patch_all_precision()
|
||||||
|
|
||||||
|
if model_management.directml_enabled:
|
||||||
|
model_management.lowvram_available = True
|
||||||
|
model_management.OOM_EXCEPTION = Exception
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user