-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mismatch diffusers version & Wrong VAE checkpoint loading on 22.09.2023 #12
Comments
Secondly, under diffusers==0.21.0, I failed at final inference step. I got an unexpected VAE checkpoint loading error: =================================================================== /usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py in load_state_dict(self, state_dict, strict) RuntimeError: Error(s) in loading state_dict for AutoencoderKL: =================================================================== This also happened when I tried to reproduce official inference results using the yaml configs. I'm not familiar with your codes. Compare to original AnimateDiff, did you modify the VAE model structure somewhere? Or maybe I overlooked something. Thanks in advance and best regards. |
Hi, first of all thanks for sharing your improved codes!
While I was testing your jupyter notebook on CoLab, I have the following problems:
Firstly, I would like to know if you are certain that diffusers==0.11.0 can successfully run the codes? Since
from diffusers.models.attention_processor import AttentionProcessor, AttnProcessor
here is requiring version >= 0.14.0 at least. Currently I'm using diffusers==0.21.0 instead and only need to modify one importfrom diffusers.utils.torch_utils import is_compiled_module
here. And after installing some missed packages likewandb
,compel
,ffmpeg
, I can successfully finish the training part.The text was updated successfully, but these errors were encountered: