mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-12-18 02:23:06 +08:00
Made SVD work with optimized_attention_override
This commit is contained in:
parent
8be3edb606
commit
2d13bf1c7a
@ -1181,7 +1181,7 @@ class SpatialVideoTransformer(SpatialTransformer):
|
|||||||
|
|
||||||
B, S, C = x_mix.shape
|
B, S, C = x_mix.shape
|
||||||
x_mix = rearrange(x_mix, "(b t) s c -> (b s) t c", t=timesteps)
|
x_mix = rearrange(x_mix, "(b t) s c -> (b s) t c", t=timesteps)
|
||||||
x_mix = mix_block(x_mix, context=time_context) #TODO: transformer_options
|
x_mix = mix_block(x_mix, context=time_context, transformer_options=transformer_options)
|
||||||
x_mix = rearrange(
|
x_mix = rearrange(
|
||||||
x_mix, "(b s) t c -> (b t) s c", s=S, b=B // timesteps, c=C, t=timesteps
|
x_mix, "(b s) t c -> (b t) s c", s=S, b=B // timesteps, c=C, t=timesteps
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user