中文
相关论文

相关论文: Accelerating a Triton Fused Kernel for W4A16 Quant…

200 篇论文

Kernel matrix-vector multiplication (KMVM) is a foundational operation in machine learning and scientific computing. However, as KMVM tends to scale quadratically in both memory and time, applications are often limited by these…

数值分析 · 数学 2025-02-25 Robert Hu , Siu Lun Chau , Dino Sejdinovic , Joan Alexis Glaunès

We present an optimized single-precision implementation of the Sparse Approximate Matrix Multiply (\SpAMM{}) [M. Challacombe and N. Bock, arXiv {\bf 1011.3534} (2010)], a fast algorithm for matrix-matrix multiplication for matrices with…

数值分析 · 计算机科学 2012-09-05 Nicolas Bock , Matt Challacombe

Sparse Matrix-Matrix multiplication is a key kernel that has applications in several domains such as scientific computing and graph analysis. Several algorithms have been studied in the past for this foundational kernel. In this paper, we…

分布式、并行与集群计算 · 计算机科学 2018-01-10 Mehmet Deveci , Christian Trott , Sivasankaran Rajamanickam

Large Language Models (LLMs) from the GPT family have become extremely popular, leading to a race towards reducing their inference costs to allow for efficient local computation. Yet, the vast majority of existing work focuses on…

机器学习 · 计算机科学 2023-11-03 Saleh Ashkboos , Ilia Markov , Elias Frantar , Tingxuan Zhong , Xincheng Wang , Jie Ren , Torsten Hoefler , Dan Alistarh

We present a novel approach for accelerating convolutions during inference for CPU-based architectures. The most common method of computation involves packing the image into the columns of a matrix (im2col) and performing general matrix…

计算机视觉与模式识别 · 计算机科学 2024-11-26 Amir Ofir , Gil Ben-Artzi

Quantization is essential for efficient large language model (LLM) inference, yet the dequantization step-converting low-bit weights back to high-precision for matrix multiplication has become a critical bottleneck on modern AI…

机器学习 · 统计学 2026-05-15 Lingchao Zheng , Yuwei Fan , Jun Li , Chengqiu Hu , Qichen Liao , Junyi Fan , Rui Shi , Fangzheng Miao

Trainings of Large Language Models are generally bottlenecked by matrix multiplications. In the Transformer architecture, a large portion of these operations happens in the Feed Forward Network (FFN), and this portion increases for larger…

机器学习 · 计算机科学 2026-02-09 Meghana Madhyastha , Daniel Haziza , Jesse Cai , Newsha Ardalani , Zhiqi Bu , Carole-Jean Wu

As inference on Large Language Models (LLMs) emerges as an important workload in machine learning applications, weight quantization has become a standard technique for efficient GPU deployment. Quantization not only reduces model size, but…

机器学习 · 计算机科学 2024-08-22 Elias Frantar , Roberto L. Castro , Jiale Chen , Torsten Hoefler , Dan Alistarh

As the most central and computationally intensive component of deep neural networks, the execution efficiency of matrix multiplication directly determines the training and inference performance of models. Harnessing the parallel processing…

量子物理 · 物理学 2026-05-25 Jiaqi Yao , Tianjian Huang , Zipeng Cai , Ding Liu

General Matrix Multiplication (GEMM) is a fundamental operation widely used in scientific computations. Its performance and accuracy significantly impact the performance and accuracy of applications that depend on it. One such application…

分布式、并行与集群计算 · 计算机科学 2023-06-12 Fumiya Kono , Naohito Nakasato , Maho Nakata

Low-bit quantized neural networks are of great interest in practical applications because they significantly reduce the consumption of both memory and computational resources. Binary neural networks are memory and computationally efficient…

机器学习 · 计算机科学 2022-05-20 Anton Trusov , Elena Limonova , Dmitry Nikolaev , Vladimir V. Arlazarov

This paper addresses emulation algorithms for matrix multiplication. General Matrix-Matrix Multiplication (GEMM), a fundamental operation in the Basic Linear Algebra Subprograms (BLAS), is typically optimized for specific hardware…

数学软件 · 计算机科学 2025-04-29 Katsuhisa Ozaki , Yuki Uchino , Toshiyuki Imamura

One of the main computational bottlenecks when working with kernel based learning is dealing with the large and typically dense kernel matrix. Techniques dealing with fast approximations of the matrix vector product for these kernel…

机器学习 · 计算机科学 2024-04-29 Theresa Wagner , Franziska Nestler , Martin Stoll

Developing kernels for Processing-In-Memory (PIM) platforms poses unique challenges in data management and parallel programming on limited processing units. Although software development kits (SDKs) for PIM, such as the UPMEM SDK, provide…

硬件体系结构 · 计算机科学 2025-10-21 Krystian Chmielewski , Jarosław Ławnicki , Uladzislau Lukyanau , Tadeusz Kobus , Maciej Maciejewski

In recent years fused-multiply-add (FMA) units with lower-precision multiplications and higher-precision accumulation have proven useful in machine learning/artificial intelligence applications, most notably in training deep neural networks…

数学软件 · 计算机科学 2019-04-16 Greg Henry , Ping Tak Peter Tang , Alexander Heinecke

A method is presented for accelerating inference in transformer language models by exploiting the low effective rank of the token activation manifold at each layer. The method decomposes each activation vector into a subspace component and…

机器学习 · 计算机科学 2026-05-06 Stephen J. Thomas

In this paper, we propose MixA-Q, a mixed-precision activation quantization framework that leverages intra-layer activation sparsity (a concept widely explored in activation pruning methods) for efficient inference of quantized window-based…

计算机视觉与模式识别 · 计算机科学 2025-07-28 Weitian Wang , Rai Shubham , Cecilia De La Parra , Akash Kumar

Large language models (LLMs) have grown beyond the memory capacity of single GPU devices, necessitating quantization techniques for practical deployment. While NF4 (4-bit NormalFloat) quantization enables 4$\times$ memory reduction,…

机器学习 · 计算机科学 2026-04-06 Xiangbo Qi , Chaoyi Jiang , Murali Annavaram

We present a new paradigm for speeding up randomized computations of several frequently used functions in machine learning. In particular, our paradigm can be applied for improving computations of kernels based on random embeddings. Above…

机器学习 · 统计学 2016-04-26 Krzysztof Choromanski , Francois Fagan

Agentic LLM inference with long contexts is increasingly limited by memory bandwidth rather than compute. In this setting, SwiGLU MLP blocks, whose large weights exceed cache capacity, become a major yet under-optimized bottleneck. We…

机器学习 · 计算机科学 2026-02-13 Zixi Zhang , Zhiwen Mo , Yiren Zhao , Robert Mullins