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…
Reference in a new issue