fix refiner batch size

This commit is contained in:
Vladimir Mandic
2023-07-25 07:53:44 -04:00
parent 43b9c52bd4
commit aa62f6d8d4
5 changed files with 13 additions and 10 deletions
+2
View File
@@ -150,6 +150,7 @@ class StableDiffusionProcessing:
self.is_hr_pass = False
self.enable_hr = None
self.refiner_denoise_start = 0
self.ops = []
shared.opts.data['clip_skip'] = clip_skip
@property
@@ -480,6 +481,7 @@ def create_infotext(p: StableDiffusionProcessing, all_prompts, all_seeds, all_su
"Denoise end": p.refiner_denoise_end if p.enable_hr else None,
# restore_faces
"Face restoration": shared.opts.face_restoration_model if p.restore_faces else None,
"Operations": ', '.join(p.ops),
}
token_merging_ratio = p.get_token_merging_ratio()
token_merging_ratio_hr = p.get_token_merging_ratio(for_hr=True) if p.enable_hr else None