rework UI so that the toolbar is managed by Forge

This commit is contained in:
lllyasviel
2024-08-06 13:54:06 -07:00
committed by GitHub
parent b7878058f9
commit 71eaa5ca12
9 changed files with 105 additions and 28 deletions

View File

@@ -1502,8 +1502,7 @@ class StableDiffusionProcessingTxt2Img(StableDiffusionProcessing):
if self.enable_hr and self.hr_checkpoint_info is None:
if shared.opts.hires_fix_use_firstpass_conds:
self.calculate_hr_conds()
elif shared.sd_model.sd_checkpoint_info == sd_models.select_checkpoint(): # if in lowvram mode, we need to calculate conds right away, before the cond NN is unloaded
else:
with devices.autocast():
extra_networks.activate(self, self.hr_extra_network_data)