potentialpaper

One for all: Zero-Shot Cross-Hardware Performance Modeling with LLMs for Tensor Program Tuning

Wenyi Li, Shaohui Peng, Congying Ma, Haochen Li, Yunji Chen, Yongwei Zhao, Yuanbo Wen, KE GAO, Qi Guo, Ling Li

ICLR 2026 submission

Edit this page

Or clone it with git

The page gets its repository with its first edit, so start in the web editor.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Tensor program tuning is critical for inference acceleration of deep neural networks (DNNs), especially Large Language Models (LLMs). Yet its effectiveness hinges on cost models for accurate performance estimation. Existing cost models rely on manually designed hardware-specific features and extensive profiling data. Thus they suffer from high development costs, poor efficiency, and limited generalization, and become to a significant bottleneck in the face of rapidly evolving models and hardware. In this paper, we propose LLMTuner, a novel framework enabling LLMs to analyze tensor program execution behaviors and accurately estimate tensor program performance across diverse hardware. LLMTuner introduces a coarse-to-fine process: a lightweight LLM-based classifier first filters out suboptimal programs, then a finetuned LLM infers multi-dimensional execution behavior scores to predict latency across different hardware. Experiments demonstrate that LLMTuner significantly improves estimation accuracy by up to 64.8%, compared with general-purpose LLMs and other cost models on benchmark datasets across 6 CPU and 5 GPU platforms. It can even accurately estimate performance on unseen hardware, achieving 49.2% accuracy improvement over other cost models. For practical DNN and LLM tuning tasks, compared with other cost models, LLMTuner could discover superior program performance (1.47$\times$) with up to 3.27$\times$ tuning efficiency. Moreover, LLMTuner with finetuned lightweight LLMs reduces the estimation time by over 30$\times$ compared to DeepSeek R1.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

add · history

No versions are recorded yet: its preprint, the venues it went to and what they decided, the camera-ready. Missing a version?

We don't know of a submission of this paper to a venue with open reviews. Missing a submission?

Loading the discussion…