paper-with-me

홈 › Papers

SparAMX: Accelerating Compressed LLMs Token Generation on AMX-powered CPUs

2025-02-18 · Ahmed F. AbouElhamayed, Jordan Dotzel, Yash Akhauri, Chi-Chih Chang, Sameh Gobriel, J. Pablo Muñoz, Vui Seng Chua, Nilesh Jain, Mohamed S. Abdelfattah

Large language models have high compute, latency, and memory requirements. While specialized accelerators such as GPUs and TPUs typically run these workloads, CPUs are more widely available and consume less energy. Accelerating LLMs with CPUs enables broader AI access at a lower cost and power consumption. This acceleration potential for CPUs is especially relevant during the memory-bound decoding stage of LLM inference, which processes one token at a time and is becoming increasingly utilized with reasoning models. We utilize Advanced Matrix Extensions (AMX) support on the latest Intel CPUs together with unstructured sparsity to achieve a $1.42 \times$ reduction in end-to-end latency compared to the current PyTorch implementation by applying our technique in linear layers. We provide a set of open-source customized sparse kernels that can speed up any PyTorch model by automatically replacing all linear layers with our custom sparse implementation. Furthermore, we demonstrate for the first time the use of unstructured sparsity in the attention computation achieving a $1.14 \times$ speedup over the current systems without compromising accuracy. Code: https://github.com/IntelLabs/Hardware-Aware-Automated-Machine-Learning/tree/main/SparAMX

📄 PDF Abstract BibTeX arXiv:2502.12444

Code (1)

intellabs/hardware-aware-automated-machine-learning 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음
SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…
SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

d$^2$Cache: Accelerating Diffusion-Based LLMs via Dual Adaptive Caching

2025-09-27 · Yuchu Jiang, Yue Cai, Xiangzhong Luo, Jiale Fu 외 arxiv

Diffusion-based large language models (dLLMs), despite their promising performance, still suffer from inferior inference efficiency. This is because dLLMs rely on bidirectional attention and cannot directly benefit from …

CoRoVA: Compressed Representations for Vector-Augmented Code Completion

2025-10-22 · Daria Cherniuk, Nikita Sukhorukov, Danil Gusak, Nikita Sushko 외 arxiv

Retrieval-augmented generation has emerged as one of the most effective approaches for code completion enhancement, especially when repository-level context is important. However, adding this extra retrieved context sign…

Code Completion

Training LLMs over Neurally Compressed Text

2024-04-04 · Brian Lester, Jaehoon Lee, Alex Alemi, Jeffrey Pennington 외

In this paper, we explore the idea of training large language models (LLMs) over highly compressed text. While standard subword tokenizers compress text by a small factor, neural text compressors can achieve much higher …

Detecting Overflow in Compressed Token Representations for Retrieval-Augmented Generation

2026-02-12 · Julia Belikova, Danila Rozhevskii, Dennis Svirin, Konstantin Polev 외 arxiv

Efficient long-context processing remains a crucial challenge for contemporary large language models (LLMs), especially in resource-constrained environments. Soft compression architectures promise to extend effective con…

Divide and Conquer: Accelerating Diffusion-Based Large Language Models via Adaptive Parallel Decoding

2026-02-27 · Xiangzhong Luo, Yilin An, Zhicheng Yu, Weichen Liu 외 arxiv

Diffusion-based large language models (dLLMs) have shown promising performance across various reasoning tasks, establishing themselves as an alternative to autoregressive large language models (LLMs). Unlike autoregressi…