VAE Loading Doesn't Seem to Work (similar but not identical to #5910) #13323
-
This is very similar (but not exact) to what happened with post #5910, but as that question was officially closed (and none of the options worked for me) last year, I'm opening a new post. Hello. To clarify my title (as I didn't have room), third-party VAEs do show up in the drop-down menu (SD_VAE quicksetting), but when I select one to be used, it "processes" then just defaults back to either None, Automatic or the 840000/560000 depending on what had been selected most recently. The official 840000 and 560000 VAEs seem to load properly, but then load in place of every other VAE as well. The 84/56 files were downloaded from https://stable-diffusion-art.com/how-to-use-vae/. I have VAEs that I want to use across multiple models. I do have all of my VAEs stored in the VAE folder, all but 560000 are .safetensors files (56 is a .ckpt). Again, they appear to be selected from the drop-down, and seem to load, because it does show the "processing" key when any VAE is selected in the drop-down. However, it always goes back to showing the 840000/560000 VAE, Auto or None. This happens no matter which model is selected, even an "official" such as v1-5-pruned-emaonly.safetensors downloaded from https://stable-diffusion-art.com/models/ . No txt2img settings seem to trigger it one way or another. Under Settings >> VAE, all options are default state. I have tried the setting to override the model's default, it did nothing. I also saw somewhat similar issues on posts from last year (#3986,#4214,#4851) and have tried the trick of putting the VAE file in the same directory as the model file and renaming it to the same name as a model (with a ."vae.pt" extension), but this just changed the name of the VAE file in the drop-down. Selecting it defaults to one of those three previous states. I don't actually want to associate a model with one VAE anyway, as I have some VAEs that I like to use across multiple models. Automatic1111 does recognize all VAEs stored in the VAE folder as actual VAE files, no matter what their filename extension is (ckpt, safetensors, vae.pt). It just doesn't seem to want to use them. Is Automatic1111 loading them properly but just not showing the correct name? That's the only thing that I can think of, but I really don't have any way of testing this. Just for reference, the VAEs function properly under the "Easy Diffusion" UI. Thank you all for your hard work, it is much appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
what VAE are you using just because something shows up in the VAE list doesn't mean that it is a VAE |
Beta Was this translation helpful? Give feedback.
-
Ah, I see. Yes, I tested it and you are indeed correct... the files that I thought were actually VAEs turn out to just be regular models. Well, I suppose that I took a long time to investigate a problem that actually didn't exist. Do I at least get points for being thorough? Seriously, this is very embarrassing, but thank you for clearing this up for me. |
Beta Was this translation helpful? Give feedback.
what VAE are you using
just because something shows up in the VAE list doesn't mean that it is a VAE
that is just a list of files that's being found when scanning for VAE