Repository: stable-diffusion-webui
Issue: [Bug]: Fatal Error on Mac when try generating the image!!! !
Labels: bug-report,platform:mac

### Is there an existing issue for this?

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

### What happened?

When I generate an image on my MacBook, I found this problem. Here is the error information in my terminal:

```
Applying attention optimization: InvokeAI... done.
Model loaded in 17.3s (calculate hash: 3.8s, load weights from disk: 2.5s, create model: 0.9s, apply weights to model: 3.5s, apply half(): 3.8s, move model to device: 1.1s, load textual inversion embeddings: 0.1s, calculate empty prompt: 1.5s).

  0%|                                                    | 0/20 [00:00<?, ?it/s]2023-08-27 14:59:38.118 

Python[77304:1946001] Error = Error Domain=com.apple.appleneuralengine Code=6 "createProgramInstanceForModel:modelToken:qos:isPreCompiled:enablePowerSaving:skipPreparePhase:statsMask:memoryPoolID:enableLateLatch:modelIdentityStr:owningPid:cacheUrlIdentifier:aotCacheUrlIdentifier:error:: Program load failure (0x5)" UserInfo={NSLocalizedDescription=createProgramInstanceForModel:modelToken:qos:isPreCompiled:enablePowerSaving:skipPreparePhase:statsMask:memoryPoolID:enableLateLatch:modelIdentityStr:owningPid:cacheUrlIdentifier:aotCacheUrlIdentifier:error:: Program load failure (0x5)}

2023-08-27 14:59:38.118 Python[77304:1946001] ANE load failed!
2023-08-27 14:59:38.119 Python[77304:1946001] Issues were found in compilation, falling back to GPU
```


### Steps to reproduce the problem

1. Open the WebUI on my MacBook Pro 14' (2021, Apple Silicon M1 Pro)
2. Generate any image
3. Then I could see the error information in my terminal

### What should have happened?

It should work normally.

### Version or Commit where the problem happens

latest version

### What Python version are you running on ?

Python 3.10.x

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

MacOS

### What device are you running WebUI on?

CPU

### Cross attention optimization

Automatic

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

_No response_

### Command Line Arguments

```Shell
Applying attention optimization: InvokeAI... done.
Model loaded in 17.3s (calculate hash: 3.8s, load weights from disk: 2.5s, create model: 0.9s, apply weights to model: 3.5s, apply half(): 3.8s, move model to device: 1.1s, load textual inversion embeddings: 0.1s, calculate empty prompt: 1.5s).

  0%|                                                    | 0/20 [00:00<?, ?it/s]2023-08-27 14:59:38.118 

Python[77304:1946001] Error = Error Domain=com.apple.appleneuralengine Code=6 "createProgramInstanceForModel:modelToken:qos:isPreCompiled:enablePowerSaving:skipPreparePhase:statsMask:memoryPoolID:enableLateLatch:modelIdentityStr:owningPid:cacheUrlIdentifier:aotCacheUrlIdentifier:error:: Program load failure (0x5)" UserInfo={NSLocalizedDescription=createProgramInstanceForModel:modelToken:qos:isPreCompiled:enablePowerSaving:skipPreparePhase:statsMask:memoryPoolID:enableLateLatch:modelIdentityStr:owningPid:cacheUrlIdentifier:aotCacheUrlIdentifier:error:: Program load failure (0x5)}

2023-08-27 14:59:38.118 Python[77304:1946001] ANE load failed!
2023-08-27 14:59:38.119 Python[77304:1946001] Issues were found in compilation, falling back to GPU
```


### List of extensions

None.

### Console logs

```Shell
None.
```


### Additional information

_No response_