Multi-token attention
Author: GolovnevaCreated Aug 14, 2025Updated Sep 23, 2026
The feature, motivation and pitch
Hi! Thank you for adding support for MTA (https://github.com/linkedin/Liger-Kernel/pull/689) ! Do I understand it correctly, that this implementation only covers post-sm key-query convolution? There is also pre-sm Q-K convolution, head convolution, and gated group norm (last one should probably not be part of the kernel). We have released reference code here: https://github.com/facebookresearch/RAM/blob/main/projects/mta/mta_transformer.py#L337
Alternatives
No response
Additional context
No response
Source: linkedin/Liger-Kernel