Skip to content

llama : revisit using flash attention for prompt processing (a.k.a. prefil) + GPU implementation #3365

Closed
@ggerganov

Description

@ggerganov

Sample Flash Attention usage on the CPU has been demonstrated here:

#778

Although it didn't provide improvement during text generation workloads, it might be beneficial during prompt processing.
Investigate if that is the case and attempt Metal and CUDA implementations

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions