QiMeng-TensorOp: Automatically Generating High-Performance Tensor Operators with Hardware Primitives
Not on the map. Why?
Abstract (arXiv)
Computation-intensive tensor operators constitute over 90% of the computations in Large Language Models (LLMs) and Deep Neural Networks.Automatically and efficiently generating high-performance tensor operators with hardware primitives is crucial for diverse and ever-evolving hardware architectures like RISC-V, ARM, and GPUs, as manually optimized implementation takes at least months and lacks portability.LLMs excel at generating high-level language codes, but they struggle to fully comprehend hardware characteristics and produce high-performance tensor operators. We introduce a tensor-operator auto-generation framework with a one-line user prompt (QiMeng-TensorOp), which enables LLMs to automatically exploit hardware characteristics to generate tensor operators with hardware primitives, and tune parameters for optimal performance across diverse hardware. Experimental results on various hardware platforms, SOTA LLMs, and typical tensor operators demonstrate that QiMeng-TensorOp effectively unleashes the computing capability of various hardware platforms, and automatically generates tensor operators of superior performance. Compared with vanilla LLMs, QiMeng-TensorOp achieves up to 1291 × performance improvement. Even compared with human experts, QiMeng-TensorOp could reach 251 % of OpenBLAS on RISC-V CPUs, and 124 % of cuBLAS on NVIDIA GPUs. Additionally, QiMeng-TensorOp also significantly reduces development costs by 200 × compared with human experts.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 23 of its 48 references that are in the map. First posted on arXiv 8 May 2025.
Builds on
23 of 48 references.
References · 23
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 610
- 2023Textbooks Are All You Needcited by 561
- 2017Efficient Processing of Deep Neural Networks: A Tutorial and Surveycited by 427
- 2020Ansor: Generating High-Performance Tensor Programs for Deep Learningcited by 199
11 more
- 2022Multi-lingual Evaluation of Code Generation Modelscited by 158
- 2018Learning to Optimize Tensor Programscited by 138
- 2022ReACC: A Retrieval-Augmented Code Completion Frameworkcited by 117
- 2018NVIDIA Tensor Core Programmability, Performance & Precisioncited by 77
- 2022TensorIR: An Abstraction for Automatic Tensorized Program Optimizationcited by 38
- 2022Tensor Program Optimization with Probabilistic Programscited by 30
- 2022TLP: A Deep Learning-based Cost Model for Tensor Program Tuningcited by 14
- 2021HASCO: Towards Agile HArdware and Software CO-design for Tensor Computationcited by 10
- 2020Flexible Performant GEMM Kernels on GPUscited by 4
- 2021High Performance GPU Code Generation for Matrix-Matrix Multiplication using MLIR: Some Early Resultscited by 1
- 2023Tackling the Matrix Multiplication Micro-kernel Generation with Exocited by 1
Built on by
Citing papers per year: 2025: 4; 2026: 1.
5 papers.
- 2025QiMeng-Kernel: Macro-Thinking Micro-Coding Paradigm for LLM-Based High-Performance GPU Kernel Generationcited by 16
- 2025PRAGMA: A Profiling-Reasoned Multi-Agent Framework for Automatic Kernel Optimizationcited by 11
- 2026Towards Automated Kernel Generation in the Era of LLMscited by 9
- 2025QiMeng-Attention: SOTA Attention Operator is generated by SOTA Attention Algorithmcited by 4
- 2025QiMeng: Fully Automated Hardware and Software Design for Processor Chipcited by 0
- 2026Towards Automated Kernel Generation in the Era of LLMs22 Jan 2026
- 2025QiMeng-Kernel: Macro-Thinking Micro-Coding Paradigm for LLM-Based High-Performance GPU Kernel Generation25 Nov 2025
- 2025PRAGMA: A Profiling-Reasoned Multi-Agent Framework for Automatic Kernel Optimization9 Nov 2025
- 2025QiMeng-Attention: SOTA Attention Operator is generated by SOTA Attention Algorithm14 Jun 2025
- 2025QiMeng: Fully Automated Hardware and Software Design for Processor Chip5 Jun 2025