How do I get the VAE to automatically load with each version?

#72
by wonderflex - opened

Normally I save a model's VAE in the models/stable-diffusion folder, using the same name as the model, but naming it .vae.pt. In this case there is just the one orangemix.vae.pt, but I have AOM3, A1, A2 and A3. How do I get it to automatically choose the oragemix.vae.pt without making four copies and renaming them all?

Thanks!

Assuming you're on Windows, I used symbolic links with the specific names that all point to the original VAE via the "mklink" command prompt command. You can do something like mklink ".\AOM3A1.vae.pt" "..\vae\orangemix.vae.pt" in your models folder. Repeat for all the versions, and you'll only need the original VAE file once with four separate links to it.

Other OSes may have a similar option, but I'm not as well-versed in them, but I hope this helps regardless!

Sign up or log in to comment