Repository: stable-diffusion-webui
Issue: [Bug]: AttributeError: 'NoneType' object has no attribute 'lowvram'
Labels: bug-report

### Checklist

- [ ] The issue exists after disabling all extensions
- [ ] 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
- [ ] 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?

Stable diffusion model failed to load
*** Error completing request
*** Arguments: ('task(1n1p6g2zqlg16g3)', <gradio.routes.Request object at 0x000001F98F696AA0>, 'trees', '', [], 1, 1, 7, 512, 512, False, 0.7, 2, 'Latent', 0, 0, 0, 'Use same checkpoint', 'Use same sampler', 'Use same scheduler', '', '', [], 0, 20, 'DPM++ 2M', 'Automatic', False, '', 0.8, -1, False, -1, 0, 0, 0, False, False, 'positive', 'comma', 0, False, False, 'start', '', 1, '', [], 0, '', [], 0, '', [], True, False, False, False, False, False, False, 0, False) {}
    Traceback (most recent call last):
      File "D:\stable diffusion\webui\modules\call_queue.py", line 57, in f
        res = list(func(*args, **kwargs))
      File "D:\stable diffusion\webui\modules\call_queue.py", line 36, in f
        res = func(*args, **kwargs)
      File "D:\stable diffusion\webui\modules\txt2img.py", line 109, in txt2img
        processed = processing.process_images(p)
      File "D:\stable diffusion\webui\modules\processing.py", line 832, in process_images
        sd_models.reload_model_weights()
      File "D:\stable diffusion\webui\modules\sd_models.py", line 860, in reload_model_weights
        sd_model = reuse_model_from_already_loaded(sd_model, checkpoint_info, timer)
      File "D:\stable diffusion\webui\modules\sd_models.py", line 793, in reuse_model_from_already_loaded
        send_model_to_cpu(sd_model)
      File "D:\stable diffusion\webui\modules\sd_models.py", line 662, in send_model_to_cpu
        if m.lowvram:
    AttributeError: 'NoneType' object has no attribute 'lowvram'

### Steps to reproduce the problem

I run the run.bat, the text showcased "Stable diffusion model failed to load" , "AttributeError: 'NoneType' object has no attribute 'lowvram'"

### What should have happened?

i am a rookie, i think it will run but not this error.

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

_No response_

### Sysinfo

Stable diffusion model failed to load
*** Error completing request
*** Arguments: ('task(1n1p6g2zqlg16g3)', <gradio.routes.Request object at 0x000001F98F696AA0>, 'trees', '', [], 1, 1, 7, 512, 512, False, 0.7, 2, 'Latent', 0, 0, 0, 'Use same checkpoint', 'Use same sampler', 'Use same scheduler', '', '', [], 0, 20, 'DPM++ 2M', 'Automatic', False, '', 0.8, -1, False, -1, 0, 0, 0, False, False, 'positive', 'comma', 0, False, False, 'start', '', 1, '', [], 0, '', [], 0, '', [], True, False, False, False, False, False, False, 0, False) {}
    Traceback (most recent call last):
      File "D:\stable diffusion\webui\modules\call_queue.py", line 57, in f
        res = list(func(*args, **kwargs))
      File "D:\stable diffusion\webui\modules\call_queue.py", line 36, in f
        res = func(*args, **kwargs)
      File "D:\stable diffusion\webui\modules\txt2img.py", line 109, in txt2img
        processed = processing.process_images(p)
      File "D:\stable diffusion\webui\modules\processing.py", line 832, in process_images
        sd_models.reload_model_weights()
      File "D:\stable diffusion\webui\modules\sd_models.py", line 860, in reload_model_weights
        sd_model = reuse_model_from_already_loaded(sd_model, checkpoint_info, timer)
      File "D:\stable diffusion\webui\modules\sd_models.py", line 793, in reuse_model_from_already_loaded
        send_model_to_cpu(sd_model)
      File "D:\stable diffusion\webui\modules\sd_models.py", line 662, in send_model_to_cpu
        if m.lowvram:
    AttributeError: 'NoneType' object has no attribute 'lowvram'

### Console logs

```Shell
Stable diffusion model failed to load
*** Error completing request
*** Arguments: ('task(1n1p6g2zqlg16g3)', <gradio.routes.Request object at 0x000001F98F696AA0>, 'trees', '', [], 1, 1, 7, 512, 512, False, 0.7, 2, 'Latent', 0, 0, 0, 'Use same checkpoint', 'Use same sampler', 'Use same scheduler', '', '', [], 0, 20, 'DPM++ 2M', 'Automatic', False, '', 0.8, -1, False, -1, 0, 0, 0, False, False, 'positive', 'comma', 0, False, False, 'start', '', 1, '', [], 0, '', [], 0, '', [], True, False, False, False, False, False, False, 0, False) {}
    Traceback (most recent call last):
      File "D:\stable diffusion\webui\modules\call_queue.py", line 57, in f
        res = list(func(*args, **kwargs))
      File "D:\stable diffusion\webui\modules\call_queue.py", line 36, in f
        res = func(*args, **kwargs)
      File "D:\stable diffusion\webui\modules\txt2img.py", line 109, in txt2img
        processed = processing.process_images(p)
      File "D:\stable diffusion\webui\modules\processing.py", line 832, in process_images
        sd_models.reload_model_weights()
      File "D:\stable diffusion\webui\modules\sd_models.py", line 860, in reload_model_weights
        sd_model = reuse_model_from_already_loaded(sd_model, checkpoint_info, timer)
      File "D:\stable diffusion\webui\modules\sd_models.py", line 793, in reuse_model_from_already_loaded
        send_model_to_cpu(sd_model)
      File "D:\stable diffusion\webui\modules\sd_models.py", line 662, in send_model_to_cpu
        if m.lowvram:
    AttributeError: 'NoneType' object has no attribute 'lowvram'
```


### Additional information

_No response_