Skip to content

[Bug] Why is VSA slower than Flash_attention when I run the training script examples/training/finetune/Wan2.1-VSA/Wan-Syn-Data/T2V-14B-VSA.slurm? #859

@pengyige123

Description

@pengyige123

Describe the bug

The phenomenon is as follows:
vsa
Image
When using VSA, each step takes 11.91 seconds.

Fa

Image When using Flash attention, each step takes 9.39 seconds.

thank you very much, Looking forward to your reply

Reproduction

examples/training/finetune/Wan2.1-VSA/Wan-Syn-Data/T2V-14B-VSA.slurm ,
Only the environment variable FASTVIDEO_ATTENTION_BACKEND was modified.

Environment

GPU: L40s
cuda: 12.8
Driver Version: 535.230.02

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions