Differential Transformer V2
(For simplicity, we omit the batch dimension and assume that both the input and output of the following flash_attn_func are three-dimensional tensors (tokens, heads, head dimension) . Heads belonging to the same GQA group are arranged...
Read more: https://huggingface.co/blog/microsoft/diff-attn-v2
Scan with your phone
Scan with your phone