deprecation_message="The `scale` argument is deprecated and will be ignored. Please remove it, as passing it will raise an error in the future. `scale` should directly be passed while calling the underlying pipeline component i.e., via `cross_attention_kwargs`."
deprecate("scale","1.0.0",deprecation_message)
#! ---------------------------------------- Fast Attention ----------------------------------------
ifget_fast_attn_enable():
returnself.fast_attn(
attn,
hidden_states,
encoder_hidden_states,
attention_mask,
temb,
*args,
**kwargs,
)
#! ---------------------------------------- Fast Attention ----------------------------------------
"It is currently not possible to generate videos at a different resolution that the defaults. This should only be the case with 'THUDM/CogVideoX-5b-I2V'."
"If you think this is incorrect, please open an issue at https://github.com/huggingface/diffusers/issues."