Skip to content
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

Update diffusers package #11

Open
pravdomil opened this issue Jul 17, 2023 · 0 comments
Open

Update diffusers package #11

pravdomil opened this issue Jul 17, 2023 · 0 comments

Comments

@pravdomil
Copy link

diffusers~=0.17.1

diff --git a/control_a_video/video_diffusion/models/attention.py b/control_a_video/video_diffusion/models/attention.py
index 9fac270..d554184 100755
--- a/control_a_video/video_diffusion/models/attention.py
+++ b/control_a_video/video_diffusion/models/attention.py
@@ -20,11 +20,12 @@
 
 from diffusers.configuration_utils import ConfigMixin, register_to_config
 from diffusers.models.modeling_utils import ModelMixin
-from diffusers.models.attention import FeedForward, CrossAttention, AdaLayerNorm
+from diffusers.models.attention import FeedForward, AdaLayerNorm
 from diffusers.utils import BaseOutput
 from diffusers.utils.import_utils import is_xformers_available
 from diffusers.models.cross_attention import XFormersCrossAttnProcessor
 from einops import rearrange
+from diffusers.models.cross_attention import CrossAttention
 
 
 @dataclass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant