Skip to content

interrupt upscale#15380

Merged
AUTOMATIC1111 merged 1 commit intoAUTOMATIC1111:devfrom
light-and-ray:interrupt_upscale
Mar 30, 2024
Merged

interrupt upscale#15380
AUTOMATIC1111 merged 1 commit intoAUTOMATIC1111:devfrom
light-and-ray:interrupt_upscale

Conversation

@light-and-ray
Copy link
Copy Markdown
Contributor

@light-and-ray light-and-ray commented Mar 26, 2024

Description

after pressing "interrupt" button, for example inside inpaint tab, upscaling with ai still will be used, if opts.upscaler_for_img2img is overridden. It takes a ton of time for upscaling e.g. 512p -> 4k, especially for DAT upscalers. It can be stopped only is server is stopped

I've added two checks for interruption flag inside do_upscale and upscale. It still upscales images, but with Lanczos

Checklist:

@AUTOMATIC1111 AUTOMATIC1111 merged commit 642bca4 into AUTOMATIC1111:dev Mar 30, 2024
@light-and-ray light-and-ray deleted the interrupt_upscale branch March 30, 2024 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants