Automatic 1111 SDK
  • Introduction
  • Auto 1111 SDK vs Huggingface Diffusers
  • Integrations
    • Downloading Real Esrgan Upscalers
    • Civit AI
  • Pipelines
    • Passing in custom arguments
    • Stable Diffusion XL
    • Text-to-Image
    • Image-to-Image
    • Inpainting
    • Outpainting
    • Upscaler Pipelines
    • Stable Diffusion Upscale
    • Setting a custom VAE
    • ControlNet
Powered by GitBook
On this page
  1. Pipelines

Setting a custom VAE

PreviousStable Diffusion UpscaleNextControlNet

Last updated 1 year ago

It's super easy to load custom VAE's with Auto 1111 SDK. You can find a list of VAE's to choose from Civit AI here: . To load a custom VAE in Auto 1111 SDK:

  1. Initialize your pipeline

from auto1111sdk import StableDiffusionPipeline

pipe = StableDiffusionPipeline("PATH TO YOUR MODEL SAFETENSORS FILE")
  1. Set the VAE

pipe.set_vae("PATH TO YOUR VAE SAFETENSORS FILE") # path to your vae safetensors file

And that's it! Once you change the VAE as per your specification, you shall see the changes.

https://civitai.com/models