Updated VAE Variational Auto Encoder (markdown)

cmdr2 2022-11-09 15:33:42 +05:30
parent 78948709eb
commit fc1d8dcd71

@ -6,7 +6,4 @@ In short, it improves the generated images. A VAE is trained for certain aspects
Stable Diffusion UI installs and starts using the `vae-ft-mse-840000-ema-pruned` VAE file that works with all Stable diffusion models. This uses the official one: https://huggingface.co/stabilityai/sd-vae-ft-mse-original Stable Diffusion UI installs and starts using the `vae-ft-mse-840000-ema-pruned` VAE file that works with all Stable diffusion models. This uses the official one: https://huggingface.co/stabilityai/sd-vae-ft-mse-original
You have two ways to use a custom VAE file: To use a custom VAE file, you can place any number of VAE files ending with `.ckpt` or `.vae.pt` inside the `models/vae` folder, and refresh your browser UI. After that, you can select that VAE in Image Settings.
1. Let's say you're using a model file named `my-model-1.ckpt`. You can now place a VAE file for that model, with the same name (i.e `my-model-1.vae.pt`) inside `models/stable-diffusion`, next to your `my-model-1.ckpt` file. The custom VAE file should have the same name, with `.vae.pt` instead of `.ckpt`. This will result in this VAE file being used (instead of the default) whenever you use `my-model-1` to generate your image.
2. You can place any number of VAE files ending with `.vae.pt` inside `models/stable-diffusion`, and refresh your browser UI. After that, you can set the Default VAE in System Settings (top-right corner of the UI). This VAE will now be used by default, unless a model has custom VAE (set in option 1, described above).