-
Notifications
You must be signed in to change notification settings - Fork 9
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
Support for UNet3DConditionModel
#4
Conversation
Amazing please join us on the t2v and zeroscope discord https://discord.gg/hQEjvgRQkY |
Hello, I use this code in animatediff, but there is an error:TypeError: register_free_upblock3d..up_forward..forward() got an unexpected keyword argument 'encoder_hidden_states' |
@YisuiTT Could you provide a bit more context - which AnimateDiff are you using and how do you register the FreeU blocks? |
Thanks for answer. I use this AnimateDiff:https://github.com/tumurzakov/AnimateDiff, and add FreeU like this: |
Thanks for the traceback @YisuiTT , I'll try to reproduce it and will let know when I figure it out 🤗 |
@YisuiTT Sorry for not checking this out for such a long time, it was a bit hectic for me. I think you should check out the newest You can check out the detailed changelog here. |
🆗, thanks for telling me. |
Thank you so much for this repository! As I am currently working with both image and video pipelines, I added the UNet 3D regsiter methods, so you could use FreeU in Zeroscope/Modelscope models.
Changelog:
UpBlock3D
andCrossAttnUpBlock3D
register methodsscale
argument required for newerdiffusers
versions (tested on v.0.21.2)