FasterTransformer icon indicating copy to clipboard operation
FasterTransformer copied to clipboard

Are `fuseQKV masked attention` and Flash Attention the same?

Open likejazz opened this issue 2 years ago • 0 comments

In the GPT guide(https://github.com/NVIDIA/FasterTransformer/blob/main/docs/gpt_guide.md#workflow), Fig 2 shows fuseQKV masked attention, which looks very similar to Flash Attention. However, there's no longer any mention of fuseQKV masked attention or 'Flash Attention' in the text, so I'm wondering if it's the same technology as Flash Attention.

Am I understanding it correctly?

likejazz avatar Feb 04 '24 15:02 likejazz