Commit
•
207b116
1
Parent(s):
c2fda8d
attempt at a1111 instructions
Browse files
README.md
CHANGED
@@ -41,6 +41,15 @@ image
|
|
41 |
|
42 |
![](https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/lion_refined.png)
|
43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
## Details
|
45 |
|
46 |
SDXL-VAE generates NaNs in fp16 because the internal activation values are too big:
|
|
|
41 |
|
42 |
![](https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/lion_refined.png)
|
43 |
|
44 |
+
## Automatic1111 Usage
|
45 |
+
|
46 |
+
1. Download the fixed [sdxl.vae.safetensors](https://huggingface.co/madebyollin/sdxl-vae-fp16-fix/resolve/main/sdxl.vae.safetensors?download=true) file
|
47 |
+
2. Move this `sdxl.vae.safetensors` file into the webui folder under `stable-diffusion-webui/models/VAE`
|
48 |
+
3. In your webui settings, select the fixed VAE you just added
|
49 |
+
4. If you were using the `--no-half-vae` command line arg for SDXL (in `webui-user.bat` or wherever), you can now remove it
|
50 |
+
|
51 |
+
(Disclaimer - I haven't tested this, just aggregating various instructions I've seen elsewhere :P PRs to improve these instructions are welcomed!)
|
52 |
+
|
53 |
## Details
|
54 |
|
55 |
SDXL-VAE generates NaNs in fp16 because the internal activation values are too big:
|