mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-02-05 07:12:18 -08:00
possible fix for fallback for fast model creation from config, attempt 2
This commit is contained in:
parent
4fdacd31e4
commit
1a23dc32ac
1 changed files with 1 additions and 0 deletions
|
|
@ -333,6 +333,7 @@ def load_model(checkpoint_info=None):
|
|||
|
||||
timer = Timer()
|
||||
|
||||
sd_model = None
|
||||
try:
|
||||
with sd_disable_initialization.DisableInitialization():
|
||||
sd_model = instantiate_from_config(sd_config.model)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue