Replies: 1 comment 1 reply
-
|
Hi, this is a question and not an issue, so I'm moving it to the appropriate section. About your question, you don't provide the models so it's hard for us to test it, but it seems you're loading a vae, if it's in the original format, you should load it like this: from diffusers import AutoencoderKL
vae = AutoencoderKL.from_single_file(url, ...) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone, I'm currently learning to use diffusers and would like to ask all my friends a question. I saw a good lora on Civitai, but this lora has requirements for checkpoint and vea. So I downloaded both models as the author requested. However, when I ran the following code, an error occurred.
The specific code is as follows:
The errors are as follows:
I checked the documentation of diffusers. The documentation mentioned that it is possible to load the model in this way, but I don't know why an error occurred. I saw many convert scripts in the script folder of diffusers, but I don't know which one is the corresponding conversion script and what the requirements are. If there are any friends who know how to solve it, could you please tell me what it feels like
Beta Was this translation helpful? Give feedback.
All reactions