mlsanityData to 7 Oct 2026

QiMeng-TensorOp: Automatically Generating High-Performance Tensor Operators with Hardware Primitives

arXiv 2505.06302 ↗First posted 8 May 2025cs.LG cs.AIcited by 5

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
  3. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  4. 2024The Llama 3 Herd of Modelscited by 14,192
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  6. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  7. 2021Program Synthesis with Large Language Modelscited by 3,509
  8. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  9. 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 610
  10. 2023Textbooks Are All You Needcited by 561
  11. 2017Efficient Processing of Deep Neural Networks: A Tutorial and Surveycited by 427
  12. 2020Ansor: Generating High-Performance Tensor Programs for Deep Learningcited by 199
11 more
  1. 2022Multi-lingual Evaluation of Code Generation Modelscited by 158
  2. 2018Learning to Optimize Tensor Programscited by 138
  3. 2022ReACC: A Retrieval-Augmented Code Completion Frameworkcited by 117
  4. 2018NVIDIA Tensor Core Programmability, Performance & Precisioncited by 77
  5. 2022TensorIR: An Abstraction for Automatic Tensorized Program Optimizationcited by 38
  6. 2022Tensor Program Optimization with Probabilistic Programscited by 30
  7. 2022TLP: A Deep Learning-based Cost Model for Tensor Program Tuningcited by 14
  8. 2021HASCO: Towards Agile HArdware and Software CO-design for Tensor Computationcited by 10
  9. 2020Flexible Performant GEMM Kernels on GPUscited by 4
  10. 2021High Performance GPU Code Generation for Matrix-Matrix Multiplication using MLIR: Some Early Resultscited by 1
  11. 2023Tackling the Matrix Multiplication Micro-kernel Generation with Exocited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 4; 2026: 1.

5 papers.