paper-with-me

Papers

AgentCompile: An LLM-Guided Compiler for Direct CUDA Inference

2026-06-04 · Xuanzhe Li, Ziyan Weng, Zhiyu Zhu, Junhui Hou arxiv

Transformer inference increasingly depends on specialized compiler and runtime support, but real model graphs still require semantic decisions about which regions are worth specializing and which CUDA implementation families are plausible. We present AgentCompile, an LLM-guided CUDA inference compiler that uses LLM outputs only as advisory search metadata. Given compiler-derived region summaries and bounded candidate spaces, the LLM proposes semantic labels, candidate priorities, parameter hints, and risk annotations; the compiler materializes CUDA candidates through templates, checks interface and hardware constraints, validates candidates empirically, selects implementations by measured latency, and falls back when specialization is unsupported or unprofitable. In end-to-end autoregressive generation, AgentCompile averages 5.66x, 4.05x, and 4.26x speedup over PyTorch eager on Qwen3-1.7B, Qwen3-4B, and Llama-3.2-1B-Instruct, respectively, across five representative workloads. We will open-source the project.

📄 PDF Abstract BibTeX arXiv:2606.07665

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

CuBridge: An LLM-Based Framework for Understanding and Reconstructing High-Performance Attention Kernels

2026-05-06 · Xing Ma, Yangjie Zhou, Wu Sun, Zihan Liu 외 arxiv

Efficient CUDA implementations of attention mechanisms are critical to modern deep learning systems, yet supporting diverse and evolving attention variants remains challenging. Existing frameworks and compilers trade per…

HPCTransCompile: An AI Compiler Generated Dataset for High-Performance CUDA Transpilation and LLM Preliminary Exploration

2025-06-12 · Jiaqi Lv, Xufeng He, Yanchen Liu, Xu Dai 외

The rapid growth of deep learning has driven exponential increases in model parameters and computational demands. NVIDIA GPUs and their CUDA-based software ecosystem provide robust support for parallel computing, signifi…

CPUData Augmentation

Optimizing Block-Sparse Matrix Multiplications on CUDA with TVM

2020-07-26 · Zijing Gu

We implemented and optimized matrix multiplications between dense and block-sparse matrices on CUDA. We leveraged TVM, a deep learning compiler, to explore the schedule space of the operation and generate efficient CUDA …

KernelBlaster: Continual Cross-Task CUDA Optimization via Memory-Augmented In-Context Reinforcement Learning

2026-02-15 · Kris Shengjun Dong, Sahil Modi, Dima Nikiforov, Sana Damani 외 arxiv

Optimizing CUDA code across multiple generations of GPU architectures is challenging, as achieving peak performance requires an extensive exploration of an increasingly complex, hardware-specific optimization space. Trad…

Reinforcement Learning

SIP: Autotuning GPU Native Schedules via Stochastic Instruction Perturbation

2024-03-25 · Guoliang He, Eiko Yoneki

Large language models (LLMs) have become a significant workload since their appearance. However, they are also computationally expensive as they have billions of parameters and are trained with massive amounts of data. T…

GPU