update all todo statements

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2024-12-22 08:39:31 -05:00
parent dff846182f
commit ea6d3107ab
39 changed files with 46 additions and 113 deletions
-7
View File
@@ -330,13 +330,6 @@ def process_refine(p: processing.StableDiffusionProcessing, output):
errors.display(e, 'Processing')
modelstats.analyze()
""" # TODO decode using refiner
if not shared.state.interrupted and not shared.state.skipped:
refiner_images = processing_vae.vae_decode(latents=refiner_output.images, model=shared.sd_refiner, full_quality=True, width=max(p.width, p.hr_upscale_to_x), height=max(p.height, p.hr_upscale_to_y))
for refiner_image in refiner_images:
results.append(refiner_image)
"""
if shared.opts.diffusers_offload_mode == "balanced":
shared.sd_refiner = sd_models.apply_balanced_offload(shared.sd_refiner)
elif shared.opts.diffusers_move_refiner: