Repository: stable-diffusion-webui
Issue: [Bug]: Interrupt does not stop LDSR upscaler
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

The "Interrupt" button does not stop the image generation during the sampling or pre-upscaling stage if LDSR is selected as the upscaler.

### Steps to reproduce the problem

1. Select LDSR as upscaler
2. Press "Generate"
3. Press "Interrupt". Instantly or during LDSR processing.
4. Generation will stop only after the LDSR has done its work.


### What should have happened?

Instant generation interruption

### Commit where the problem happens

0cc0ee1b 

### What platforms do you use to access the UI ?

Windows

### What browsers do you use to access the UI ?

Google Chrome

### Command Line Arguments

```Shell
--autolaunch --medvram --xformers --theme dark --no-half-vae
```


### List of extensions

ebsynth_utility
sd-dynamic-prompts
sd-webui-controlnet
sd_save_intermediate_images
table-diffusion-webui-Prompt_Generator
stable-diffusion-webui-images-browser
stable-diffusion-webui-inspiration
LDSR
Lora
ScuNET
SwinIR
prompt-bracket-checker	

### Console logs

```Shell
venv "D:\Stable UI\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Commit hash: 0cc0ee1bcb4c24a8c9715f66cede06601bfc00c8
Installing requirements for Web UI

Installing sd-dynamic-prompts requirements.txt




Launching Web UI with arguments: --autolaunch --medvram --xformers --theme dark --no-half-vae
Loading weights [9aba26abdf] from D:\Stable UI\stable-diffusion-webui\models\Stable-diffusion\deliberate_v2.safetensors
Creating model from config: D:\Stable UI\stable-diffusion-webui\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Loading VAE weights specified in settings: D:\Stable UI\stable-diffusion-webui\models\VAE\vae-ft-mse-840000-ema-pruned.ckpt
Applying xformers cross attention optimization.
Textual inversion embeddings loaded(31): bad-artist-anime, bad-artist, bad-hands-3, bad-hands-5, bad-image-v2-39000, bad_prompt, bad_prompt_version2, bad_quality, cloudport, corneo_bound_missionary, corneo_brigitte, corneo_covering_breasts_two_hands, corneo_paizuri, corneo_pov_oral, corneo_side_deepthroat, corneo_spitroast, emb-rrf2, eonn, negprompt5, neg_anime512, neg_facelift512, neg_realism512, NG_DeepNegative_V1_16T, NG_DeepNegative_V1_2T, NG_DeepNegative_V1_32T, NG_DeepNegative_V1_4T, NG_DeepNegative_V1_64T, NG_DeepNegative_V1_75T, purukogi_anime, Style-Empire, Style-Glass
Textual inversion embeddings skipped(2): HorrorByDave, pixelart-hard
Model loaded in 44.7s (load weights from disk: 2.6s, create model: 0.5s, apply weights to model: 36.0s, apply half(): 0.3s, load VAE: 4.5s, load textual inversion embeddings: 0.7s).
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Total progress: 0it [00:00, ?it/s]
Loading model: controlnetPreTrained_openposeV10 [9ca67cc5]
Loaded state_dict from [D:\Stable UI\stable-diffusion-webui\extensions\sd-webui-controlnet\models\controlnetPreTrained_openposeV10.safetensors]
ControlNet model controlnetPreTrained_openposeV10 [9ca67cc5] loaded.
Loading preprocessor: openpose
 12%|██████████▍                                                                        | 4/32 [00:07<00:50,  1.81s/it]
Loading model from D:\Stable UI\stable-diffusion-webui\models\LDSR\model.ckpt           | 4/72 [03:41<34:49, 30.73s/it]
LatentDiffusionV1: Running in eps-prediction mode
DiffusionWrapperV1 has 113.62 M params.
Keeping EMAs of 308.
Applying xformers cross attention optimization.
Downsampling from [856, 360] to [430, 181]
Plotting: Switched to EMA weights
Sampling with eta = 1.0; steps: 150
Data shape for DDIM sampling is (1, 3, 192, 448), eta 1.0
Running DDIM Sampling with 167 timesteps
DDIM Sampler: 100%|██████████████████████████████████████████████████████████████████| 167/167 [01:00<00:00,  2.75it/s]
Plotting: Restored training weights
  0%|                                                                                           | 0/40 [00:00<?, ?it/s]
Total progress:   6%|███▌                                                             | 4/72 [05:27<1:32:47, 81.87s/it]
```


### Additional information

_No response_