SoftmAP: Software-Hardware Co-design for Integer-Only Softmax on Associative Processors

Mariam Rakka, Jinhao Li, Guohao Dai, Ahmed Eltawil, Mohammed E. Fouda +1 more
11/26/2024
cs.ARcs.AI

No confident code implementation found for this paper.

Abstract

Recent research efforts focus on reducing the computational and memory overheads of Large Language Models (LLMs) to make them feasible on resource-constrained devices. Despite advancements in compression techniques, non-linear operators like Softmax and Layernorm remain bottlenecks due to their sensitivity to quantization. We propose SoftmAP, a software-hardware co-design methodology that implements an integer-only low-precision Softmax using In-Memory Compute (IMC) hardware. Our method achieves up to three orders of magnitude improvement in the energy-delay product compared to A100 and RTX3090 GPUs, making LLMs more deployable without compromising performance.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{rakka2024softmap,
  title  = {SoftmAP: Software-Hardware Co-design for Integer-Only Softmax on Associative Processors},
  author = {Mariam Rakka and Jinhao Li and Guohao Dai and Ahmed Eltawil and Mohammed E. Fouda and Fadi Kurdahi},
  year   = {2024},
  eprint = {2411.17847},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.17847v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.17847.svg)](https://codeofpaper.com/paper/2411.17847)

Discussion