FastMamba: A High-Speed and Efficient Mamba Accelerator on FPGA with Accurate Quantization
On the map: State-space sequence models (S4, Mamba) → Core SSM architectures for language
Abstract (arXiv)
State Space Models (SSMs), like recent Mamba2, have achieved remarkable performance and received extensive attention. However, deploying Mamba2 on resource-constrained edge devices encounters many problems: severe outliers within the linear layer challenging the quantization, diverse and irregular element-wise tensor operations, and hardware-unfriendly nonlinear functions in the SSM block. To address these issues, this paper presents FastMamba, a dedicated accelerator on FPGA with hardware-algorithm co-design to promote the deployment efficiency of Mamba2. Specifically, we successfully achieve 8-bit quantization for linear layers through Hadamard transformation to eliminate outliers. Moreover, a hardware-friendly and fine-grained power-of-two quantization framework is presented for the SSM block and convolution layer, and a first-order linear approximation is developed to optimize the nonlinear functions. Based on the accurate algorithm quantization, we propose an accelerator that integrates parallel vector processing units, pipelined execution dataflow, and an efficient SSM Nonlinear Approximation Unit, which enhances computational efficiency and reduces hardware complexity. Finally, we evaluate FastMamba on Xilinx VC709 FPGA. For the input prefill task on Mamba2-130M, FastMamba achieves 68.80× and 8.90× speedup over Intel Xeon 4210R CPU and NVIDIA RTX 3090 GPU, respectively. In the output decode experiment with Mamba2-2.7B, FastMamba attains 6× higher energy efficiency than RTX 3090 GPU.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Placed in Core SSM architectures for language, one of 10 directions in State-space sequence models (S4, Mamba). Builds on 10 of its 18 references that are in the map. First posted on arXiv 25 May 2025.
Builds on
10 of 18 references.
Closest ancestors · 2
Same direction, newest first
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality31 May
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spaces1 Dec
Other references · 8
- 2017Attention Is All You Needcited by 60,361
- 2019Root Mean Square Layer Normalizationcited by 1,480
- 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,386
- 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Modelcited by 1,056
- 2024VMamba: Visual State Space Modelcited by 969
- 2024QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMscited by 634
- 2024VideoMamba: State Space Model for Efficient Video Understandingcited by 328
- 2024MARCA: Mamba Accelerator with ReConfigurable Architecturecited by 13
Built on by
Citing papers per year: 2025: 2; 2026: 1.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2025LightMamba: Efficient Mamba Acceleration on FPGA with Quantization and Hardware Co-design
- 2026LowRank-SSM: Hardware-Software Co-Design for Rank-Reduced Mamba Acceleration on FPGA ↗
- 2025SpecMamba: Accelerating Mamba Inference on FPGA with Speculative Decoding
- 2025Mamba-X: An End-to-End Vision Mamba Accelerator for Edge Computing Devices
- 2026SSDi8: Accurate and Efficient 8-bit Quantization for State Space Duality
- 2024LlamaF: An Efficient Llama2 Architecture Accelerator on Embedded FPGAs
- 2025Characterizing the Behavior of Training Mamba-based State Space Models on GPUs
- 2025FPGA Co-Design for Efficient N:M Sparse and Quantized Model Inference