Cong Wan

Results 2 issues of Cong Wan

Add SparseCausalAttention implementation to ./animatediff/models/attention.py If you want to use SparseCausalAttention in the self-attention part, simply set **_unet_use_cross_frame_attention = True._** If you want to further improve the code, you can...