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
- [X] 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
- [X] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet

### What happened?

i made sd3 4 step model  which use LCM scheduler , my community ask me if it work on A1111 , so i setup 1.10.0-RC version and its  work perfect with sd3  but unfortunately  when i use LCM scheduler it has this error ,
![image](https://github.com/user-attachments/assets/9f978085-1369-4c3e-830d-e9e7dcfb8537)


### Steps to reproduce the problem

make lcm work !

### What should have happened?

work

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

_No response_

### Sysinfo

[sysinfo-2024-07-24-18-34.json](https://github.com/user-attachments/files/16366259/sysinfo-2024-07-24-18-34.json)


### Console logs

```Shell
Applying attention optimization: Doggettx... done.
Model loaded in 2.9s (load weights from disk: 0.5s, create model: 1.3s, apply weights to model: 0.8s, calculate empty prompt: 0.1s).
*** Error completing request
*** Arguments: ('task(f7rv282mbluqrsw)', <gradio.routes.Request object at 0x785f1d96c7f0>, '', '', [], 1, 1, 7, 512, 512, False, 0.7, 2, 'Latent', 0, 0, 0, 'Use same checkpoint', 'Use same sampler', 'Use same scheduler', '', '', [], 0, 20, 'LCM', '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 "/home/abdallah/Desktop/webui/stable-diffusion-webuid/modules/call_queue.py", line 74, in f
        res = list(func(*args, **kwargs))
      File "/home/abdallah/Desktop/webui/stable-diffusion-webuid/modules/call_queue.py", line 53, in f
        res = func(*args, **kwargs)
      File "/home/abdallah/Desktop/webui/stable-diffusion-webuid/modules/call_queue.py", line 37, in f
        res = func(*args, **kwargs)
      File "/home/abdallah/Desktop/webui/stable-diffusion-webuid/modules/txt2img.py", line 109, in txt2img
        processed = processing.process_images(p)
      File "/home/abdallah/Desktop/webui/stable-diffusion-webuid/modules/processing.py", line 847, in process_images
        res = process_images_inner(p)
      File "/home/abdallah/Desktop/webui/stable-diffusion-webuid/modules/processing.py", line 988, in process_images_inner
        samples_ddim = p.sample(conditioning=p.c, unconditional_conditioning=p.uc, seeds=p.seeds, subseeds=p.subseeds, subseed_strength=p.subseed_strength, prompts=p.prompts)
      File "/home/abdallah/Desktop/webui/stable-diffusion-webuid/modules/processing.py", line 1308, in sample
        self.sampler = sd_samplers.create_sampler(self.sampler_name, self.sd_model)
      File "/home/abdallah/Desktop/webui/stable-diffusion-webuid/modules/sd_samplers.py", line 41, in create_sampler
        sampler = config.constructor(model)
      File "/home/abdallah/Desktop/webui/stable-diffusion-webuid/modules/sd_samplers_lcm.py", line 96, in <lambda>
        sd_samplers_common.SamplerData(label, lambda model, funcname=funcname: LCMSampler(funcname, model), aliases, options)
      File "/home/abdallah/Desktop/webui/stable-diffusion-webuid/modules/sd_samplers_lcm.py", line 91, in __init__
        self.model_wrap = self.model_wrap_cfg.inner_model
      File "/home/abdallah/anaconda3/envs/stablex/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1709, in __getattr__
        raise AttributeError(f"'{type(self).__name__}' object has no attribute '{name}'")
    AttributeError: 'CFGDenoiserLCM' object has no attribute 'inner_model'
```


### Additional information

_No response_