Repository: stable-diffusion-webui
Issue: [Bug]: 
Labels: bug-report

### Checklist

- [X] The issue exists after disabling all extensions
- [X] The issue exists on a clean installation of webui
- [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
- [X] The issue exists in the current version of the webui
- [ ] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet

### What happened?

Errors when trying to use `4xUltrasharp_4xUltrasharpV10.pt` and `4xNMKDSuperscale_4xNMKDSuperscale.pt`.

### Steps to reproduce the problem

1. Enter any prompt.
2. turn on upscaling.
3. select `4xUltrasharp_4xUltrasharpV10` or `4xNMKDSuperscale_4xNMKDSuperscale` from the dropdown menu.
4. Press "Generate"
5. watch console output

### What should have happened?

Scaler should have loaded and properly executed without error, as per previous versions (I was on 1.7.0 until recently).

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

Mozilla Firefox, Google Chrome, Brave

### Sysinfo

[sysinfo-2024-04-28-09-23.json](https://github.com/AUTOMATIC1111/stable-diffusion-webui/files/15141549/sysinfo-2024-04-28-09-23.json)


### Console logs

```Shell
Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Version: v1.9.3
Commit hash: 1c0a0c4c26f78c32095ebc7f8af82f5c04fca8c0
Launching Web UI with arguments: --xformers --api --skip-python-version-check --gradio-allowed-path D:\SM\Data\Images
Loading weights [ce9ee58e2a] from D:\SM\Data\Packages\A1111_193_test\models\Stable-diffusion\animesh_FullV22.safetensors
Creating model from config: D:\SM\Data\Packages\A1111_193_test\configs\v1-inference.yaml
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 11.4s (prepare environment: 2.1s, import torch: 3.5s, import gradio: 0.8s, setup paths: 1.0s, initialize shared: 1.6s, other imports: 0.7s, load scripts: 0.7s, create ui: 0.4s, gradio launch: 0.4s, add APIs: 0.2s).
Applying attention optimization: xformers... done.
Model loaded in 4.3s (load weights from disk: 0.3s, create model: 0.6s, apply weights to model: 2.2s, calculate empty prompt: 0.9s).
100%|██████████| 20/20 [00:04<00:00,  4.54it/s]
*** Unable to load ESRGAN model D:\SM\Data\Packages\A1111_193_test\models\ESRGAN\4xUltrasharp_4xUltrasharpV10.pt
    Traceback (most recent call last):
      File "D:\SM\Data\Packages\A1111_193_test\modules\esrgan_model.py", line 31, in do_upscale
        model = self.load_model(selected_model)
      File "D:\SM\Data\Packages\A1111_193_test\modules\esrgan_model.py", line 49, in load_model
        return modelloader.load_spandrel_model(
      File "D:\SM\Data\Packages\A1111_193_test\modules\modelloader.py", line 150, in load_spandrel_model
        model_descriptor = spandrel.ModelLoader(device=device).load_from_file(str(path))
      File "D:\SM\Data\Packages\A1111_193_test\venv\lib\site-packages\spandrel\__helpers\loader.py", line 41, in load_from_file
        state_dict = self.load_state_dict_from_file(path)
      File "D:\SM\Data\Packages\A1111_193_test\venv\lib\site-packages\spandrel\__helpers\loader.py", line 58, in load_state_dict_from_file
        state_dict = self._load_torchscript(path)
      File "D:\SM\Data\Packages\A1111_193_test\venv\lib\site-packages\spandrel\__helpers\loader.py", line 89, in _load_torchscript
        return torch.jit.load(  # type: ignore
      File "D:\SM\Data\Packages\A1111_193_test\venv\lib\site-packages\torch\jit\_serialization.py", line 162, in load
        cpp_module = torch._C.import_ir_module(cu, str(f), map_location, _extra_files, _restore_shapes)  # type: ignore[call-arg]
    RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory

---
100%|██████████| 20/20 [00:21<00:00,  1.08s/it]
Total progress: 100%|██████████| 40/40 [00:29<00:00,  1.36it/s]t]
100%|██████████| 20/20 [00:04<00:00,  4.73it/s]
*** Unable to load ESRGAN model D:\SM\Data\Packages\A1111_193_test\models\ESRGAN\4xNMKDSuperscale_4xNMKDSuperscale.pt
    Traceback (most recent call last):
      File "D:\SM\Data\Packages\A1111_193_test\modules\esrgan_model.py", line 31, in do_upscale
        model = self.load_model(selected_model)
      File "D:\SM\Data\Packages\A1111_193_test\modules\esrgan_model.py", line 49, in load_model
        return modelloader.load_spandrel_model(
      File "D:\SM\Data\Packages\A1111_193_test\modules\modelloader.py", line 150, in load_spandrel_model
        model_descriptor = spandrel.ModelLoader(device=device).load_from_file(str(path))
      File "D:\SM\Data\Packages\A1111_193_test\venv\lib\site-packages\spandrel\__helpers\loader.py", line 41, in load_from_file
        state_dict = self.load_state_dict_from_file(path)
      File "D:\SM\Data\Packages\A1111_193_test\venv\lib\site-packages\spandrel\__helpers\loader.py", line 58, in load_state_dict_from_file
        state_dict = self._load_torchscript(path)
      File "D:\SM\Data\Packages\A1111_193_test\venv\lib\site-packages\spandrel\__helpers\loader.py", line 89, in _load_torchscript
        return torch.jit.load(  # type: ignore
      File "D:\SM\Data\Packages\A1111_193_test\venv\lib\site-packages\torch\jit\_serialization.py", line 162, in load
        cpp_module = torch._C.import_ir_module(cu, str(f), map_location, _extra_files, _restore_shapes)  # type: ignore[call-arg]
    RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory

---
100%|██████████| 20/20 [00:21<00:00,  1.08s/it]
Total progress: 100%|██████████| 40/40 [00:28<00:00,  1.40it/s]t]
```


### Additional information

_No response_