AI as a Compiler: Compiling triton kernels without the triton compiler
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 19:50 UTC · 1fa3ed556ce9 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "miyTKYn29T"- }- ],- "title": "AI as a Compiler: Compiling triton kernels without the triton compiler",- "authors": [],- "abstract": "Compiler backends are expensive to build and maintain as programming models,\nworkloads, and accelerators evolve. We investigate whether large language models\ncan replace the conventional optimizing and lowering pipeline, a process that we\ncall AI lowering. We study AI lowering from Triton to NVIDIA PTX: an LLM\nagent translates Triton kernels directly into PTX, bypassing Triton’s intermediate\nrepresentations and optimization passes while preserving the kernel ABI, and\nrefines its output using randomized differential testing, benchmarking, and profiler\nfeedback. Across twelve common kernels on Ada, Hopper, and Blackwell GPUs\nand ten kernels from recent ML papers, AI lowering achieves 0.83×-3.34× the\nperformance of autotuned Triton. The largest gains come from transformations\nthat Triton’s lowering pipeline does not perform, such as decoding packed binary\nweights directly into Tensor Core operands (3.34× on BitDelta), assigning each\nthread a complete softmax row in tensor memory (1.36× on FlashAttention), and\nreusing overlapping convolution windows (up to 2.23×). Getting correctness\nguarantees is now the bottleneck. The state-of-the-art PTX verifier does not model\nthe Hopper and Blackwell features these kernels rely on, and restricting generation\nto its supported fragment erases the gains on compute-heavy kernels. With best-\neffort extensions, the verifier checks 16 of 22 kernels; atomics, input-dependent\ncontrol flow, and bit-level floating-point manipulation remain out of reach, making\nverification the central open challenge for trusted AI compilation.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "500fdc52-7e77-4953-a797-cbe4b918f03f"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "AI as a Compiler: Compiling triton kernels without the triton compiler",+ "authors": [],+ "abstract": "Compiler backends are expensive to build and maintain as programming models,\nworkloads, and accelerators evolve. We investigate whether large language models\ncan replace the conventional optimizing and lowering pipeline, a process that we\ncall AI lowering. We study AI lowering from Triton to NVIDIA PTX: an LLM\nagent translates Triton kernels directly into PTX, bypassing Triton’s intermediate\nrepresentations and optimization passes while preserving the kernel ABI, and\nrefines its output using randomized differential testing, benchmarking, and profiler\nfeedback. Across twelve common kernels on Ada, Hopper, and Blackwell GPUs\nand ten kernels from recent ML papers, AI lowering achieves 0.83×-3.34× the\nperformance of autotuned Triton. The largest gains come from transformations\nthat Triton’s lowering pipeline does not perform, such as decoding packed binary\nweights directly into Tensor Core operands (3.34× on BitDelta), assigning each\nthread a complete softmax row in tensor memory (1.36× on FlashAttention), and\nreusing overlapping convolution windows (up to 2.23×). Getting correctness\nguarantees is now the bottleneck. The state-of-the-art PTX verifier does not model\nthe Hopper and Blackwell features these kernels rely on, and restricting generation\nto its supported fragment erases the gains on compute-heavy kernels. With best-\neffort extensions, the verifier checks 16 of 22 kernels; atomics, input-dependent\ncontrol flow, and bit-level floating-point manipulation remain out of reach, making\nverification the central open challenge for trusted AI compilation.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}