mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-03-05 21:19:49 +00:00
forge 2.0.0
see also discussions
This commit is contained in:
@@ -54,6 +54,10 @@ def initialize_forge():
|
||||
torch.zeros((1, 1)).to(device, torch.float32)
|
||||
memory_management.soft_empty_cache()
|
||||
|
||||
if memory_management.can_install_bnb():
|
||||
from modules_forge.bnb_installer import try_install_bnb
|
||||
try_install_bnb()
|
||||
|
||||
import modules_forge.patch_basic
|
||||
modules_forge.patch_basic.patch_all_basics()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user