mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-06-07 21:20:49 +00:00
possible fix for fallback for fast model creation from config, attempt 2
This commit is contained in:
parent
4fdacd31e4
commit
1a23dc32ac
@ -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…
Reference in New Issue
Block a user