paper-with-me

Papers

Library Liberation: Competitive Performance Matmul Through Compiler-composed Nanokernels

2025-11-14 · Arun Thangamani, Md Asghar Ahmad Shahid, Adam Siemieniuk, Rolf Morel, Renato Golin, Alexander Heinecke arxiv

The rapidly evolving landscape of AI and machine learning workloads has widened the gap between high-level domain operations and efficient hardware utilization. Achieving near-peak performance still demands deep hardware expertise-experts either handcraft target-specific kernels (e.g., DeepSeek) or rely on specialized libraries (e.g., CUTLASS)-both of which add complexity and limit scalability for most ML practitioners. This paper introduces a compilation scheme that automatically generates scalable, high-performance microkernels by leveraging the MLIR dialects to bridge domain-level operations and processor capabilities. Our approach removes dependence on low-level libraries by enabling the compiler to auto-generate near-optimal code directly. At its core is a mechanism for composing nanokernels from low-level IR constructs with near-optimal register utilization, forming efficient microkernels tailored to each target. We implement this technique in an MLIR-based compiler supporting both vector and tile based CPU instructions. Experiments show that the generated nanokernels are of production-quality, and competitive with state-of-the-art microkernel libraries.

📄 PDF Abstract BibTeX arXiv:2511.13764

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

CUDA-L2: Surpassing cuBLAS Performance for Matrix Multiplication through Reinforcement Learning

2025-12-02 · Songqiao Su, Xiaofei Sun, Xiaoya Li, Albert Wang 외 arxiv

In this paper, we propose CUDA-L2, a system that combines large language models (LLMs) and reinforcement learning (RL) to automatically optimize Half-precision General Matrix Multiply (HGEMM) CUDA kernels. Using CUDA exe…

Reinforcement Learning

GPU Acceleration of Sparse Fully Homomorphic Encrypted DNNs

2026-04-13 · Lara D'Agata, Carlos Agulló-Domingo, Óscar Vera-López, Kaustubh Shivdikar 외 arxiv

Fully homomorphic encryption (FHE) has recently attracted significant attention as both a cryptographic primitive and a systems challenge. Given the latest advances in accelerated computing, FHE presents a promising oppo…

Plurals: A System for Guiding LLMs Via Simulated Social Ensembles

2024-09-25 · Joshua Ashkinaze, Emily Fry, Narendra Edara, Eric Gilbert 외

Recent debates raised concerns that language models may favor certain viewpoints. But what if the solution is not to aim for a 'view from nowhere' but rather to leverage different viewpoints? We introduce Plurals, a syst…

Scalable MatMul-free Language Modeling

2024-06-04 · Rui-Jie Zhu, Yu Zhang, Ethan Sifferman, Tyler Sheaves 외

Matrix multiplication (MatMul) typically dominates the overall computational cost of large language models (LLMs). This cost only grows as LLMs scale to larger embedding dimensions and context lengths. In this work, we s…

GPULanguage ModelingLanguage Modelling

PackVFL: Efficient HE Packing for Vertical Federated Learning

2024-05-01 · Liu Yang, Shuowei Cai, Di Chai, Junxue Zhang 외

As an essential tool of secure distributed machine learning, vertical federated learning (VFL) based on homomorphic encryption (HE) suffers from severe efficiency problems due to data inflation and time-consuming operati…

Federated LearningVertical Federated Learning