Fix model and cond transformer options merge

This commit is contained in:
logtd 2024-02-23 01:19:43 -07:00
parent 10847dfafe
commit e1cb93c383

View File

@ -208,6 +208,7 @@ def calc_cond_uncond_batch(model, cond, uncond, x_in, timestep, model_options):
cur_patches[p] = cur_patches[p] + patches[p] cur_patches[p] = cur_patches[p] + patches[p]
else: else:
cur_patches[p] = patches[p] cur_patches[p] = patches[p]
transformer_options["patches"] = cur_patches
else: else:
transformer_options["patches"] = patches transformer_options["patches"] = patches