Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

interrupt upscale #15380

Merged
merged 1 commit into from
Mar 30, 2024
Merged

Conversation

light-and-ray
Copy link
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
3 checks passed
@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