Missing VAE keys
in Comfyui with vae downloaded from here I get the following:
got prompt
Missing VAE keys ['encoder.project_in.weight', 'encoder.project_in.bias' ...
as a result I get a black image
Hi Geoffrey,
The autoencoder is supposed to be downloaded automatically. Could you please elaborate on how you downloaded the autoencoder and got the error? Thanks!
Junyu
- I was following a youtube tutorial: https://www.youtube.com/watch?v=gxFRxwkwXnY&t=307s
using the workflow he created and linked (have to do a free sign up)
it showed missing vae when I thought everything would download automatically, which it did not. - I then tried this example: https://github.com/user-attachments/files/18027854/SanaV1.json
- I then tried this example I found: https://github.com/NVlabs/Sana/blob/main/asset/docs/ComfyUI/Sana_FlowEuler.json
For all three workflows:
- checkpoints do not download automatically, I have to manually download them
- vae do not download automatically, I have to manually download them
Model:
https://huggingface.co/Efficient-Large-Model/Sana_1600M_1024px/tree/main/checkpoints
The VAE I tried:
https://huggingface.co/mit-han-lab/dc-ae-f32c32-sana-1.0-diffusers/tree/main (updated 8days ago)
https://huggingface.co/mit-han-lab/dc-ae-f32c32-sana-1.0/tree/main (updated 2mo ago)
they have the same size but not bitwise identical
I always end up with a blacks image...
If you have a comfyui workflow with custom nodes that download the correct model that would be a great help, but so far nothing was automatic unfortunately, even though there are claims that it should be.
Appreciate the help!
found a solution, https://github.com/city96/ComfyUI_ExtraModels/issues/93
probably something faulty in the custom node that was used, uninstalling, remove the custom node folder, then installing it via git worked
if I choose model with prefix "Efficient-Large-Model", then the vae would auto download
Thanks for sharing the solution!
Guys, could you please follow this guidance to install and run?
Here is the guidance: https://github.com/NVlabs/Sana/blob/main/asset/docs/ComfyUI/comfyui.md
And this is our comfyUI code: https://github.com/Efficient-Large-Model/ComfyUI_ExtraModels
this is our comfyUI code: https://github.com/Efficient-Large-Model/ComfyUI_ExtraModels
this is our comfyUI code: https://github.com/Efficient-Large-Model/ComfyUI_ExtraModels
this is our comfyUI code: https://github.com/Efficient-Large-Model/ComfyUI_ExtraModels
git clone https://github.com/comfyanonymous/ComfyUI.git
cd ComfyUI
git clone https://github.com/Efficient-Large-Model/ComfyUI_ExtraModels.git custom_nodes/ComfyUI_ExtraModels
python main.py
Solution is here, refer to: city96/ComfyUI_ExtraModels#93