Skip to content

error of flash attention #17

@tengjiayan20

Description

@tengjiayan20

'''
DCM/fastvideo/models/flash_attn_no_pad.py", line 16, in flash_attn_no_pad
x_unpad, indices, cu_seqlens, max_s, used_seqlens_in_batch = unpad_input(
ValueError: not enough values to unpack (expected 5, got 4)
'''

the function unpad_input returns only 4 values. I think used_seqlens_in_batch should be deleted?

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