xyz grid optimizations

This commit is contained in:
Vladimir Mandic
2023-05-09 10:41:23 -04:00
parent 1288aec459
commit d8a2c32918
5 changed files with 84 additions and 139 deletions
+1 -1
View File
@@ -421,7 +421,7 @@ def reload_model_weights(sd_model=None, info=None):
shared.log.debug('Reload model weights skip')
skip_next_load = False
return
shared.log.debug(f'Reload model weights: {sd_model} {info}')
shared.log.debug(f'Reload model weights: {sd_model is not None} {info}')
from modules import lowvram, sd_hijack
checkpoint_info = info or select_checkpoint()
if not sd_model: