Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality
paper
Fields
id
sources/arch-mamba2-ssdPublisher
Dao & Gu (arXiv)
Kind
paper
Published
2024-05-31
Accessed
2026-10-03
notes
THE key source for the SSM hardware problem. States directly that SSD 'thanks to its reformulation to use matrix multiplication as a subroutine, can exploit specialized matrix multiplication (matmul) units on GPUs, also known as tensor cores. As a result, it is 2-8x faster than Mamba's fused associative scan, which does not leverage matmul units.' Chunkwise decomposition of the semiseparable matrix; 8x larger recurrent state with minimal slowdown; crosses FlashAttention-2 at sequence length 2K and is 6x faster at 16K.
Notes
THE key source for the SSM hardware problem. States directly that SSD 'thanks to its reformulation to use matrix multiplication as a subroutine, can exploit specialized matrix multiplication (matmul) units on GPUs, also known as tensor cores. As a result, it is 2-8x faster than Mamba's fused associative scan, which does not leverage matmul units.' Chunkwise decomposition of the semiseparable matrix; 8x larger recurrent state with minimal slowdown; crosses FlashAttention-2 at sequence length 2K and is 6x faster at 16K.
Cross-references
This record references no other records.