paper-with-me

Papers

Astra: A Multi-Agent System for GPU Kernel Performance Optimization

2025-09-09 · Anjiang Wei, Tianran Sun, Yogesh Seenichamy, Hang Song, Anne Ouyang, Azalia Mirhoseini, Ke Wang, Alex Aiken arxiv

GPU kernel optimization has long been a central challenge at the intersection of high-performance computing and machine learning. Efficient kernels are crucial for accelerating large language model (LLM) training and serving, yet attaining high performance typically requires extensive manual tuning. Compiler-based systems reduce some of this burden, but still demand substantial manual design and engineering effort. Recently, researchers have explored using LLMs for GPU kernel generation, though prior work has largely focused on translating high-level PyTorch modules into CUDA code. In this work, we introduce Astra, the first LLM-based multi-agent system for GPU kernel optimization. Unlike previous approaches, Astra starts from existing CUDA implementations extracted from SGLang, a widely deployed framework for serving LLMs, rather than treating PyTorch modules as the specification. Within Astra, specialized LLM agents collaborate through iterative code generation, testing, profiling, and planning to produce kernels that are both correct and high-performance. On kernels from SGLang, Astra achieves an average speedup of 1.32x using zero-shot prompting with OpenAI o4-mini. A detailed case study further demonstrates that LLMs can autonomously apply loop transformations, optimize memory access patterns, exploit CUDA intrinsics, and leverage fast math operations to yield substantial performance gains. Our work highlights multi-agent LLM systems as a promising new paradigm for GPU kernel optimization. Our code is publicly available at https://github.com/Anjiang-Wei/Astra.

📄 PDF Abstract BibTeX arXiv:2509.07506

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

AstraFlow: Dataflow-Oriented Reinforcement Learning for Agentic LLMs

2026-05-15 · Haizhong Zheng, Yizhuo Di, Jiahui Wang, Shuowei Jin 외 arxiv

Reinforcement learning (RL) is increasingly used to improve the reasoning, coding, and tool-use capabilities of large language models, but agentic RL remains prohibitively expensive. Scaling RL to agentic LLMs requires s…

Reinforcement Learning

Astraea: A State-Aware Scheduling Engine for LLM-Powered Agents

2025-12-16 · Hongqiu Ni, Jiabao Zhang, Guopeng Li, Zilong Wang 외 arxiv

Large Language Models (LLMs) are increasingly being deployed as intelligent agents. Their multi-stage workflows, which alternate between local computation and calls to external network services like Web APIs, introduce a…

ASTRA: Automated Synthesis of agentic Trajectories and Reinforcement Arenas

2026-01-29 · Xiaoyu Tian, Haotian Wang, Shuaiting Chen, Hao Zhou 외 arxiv

Large language models (LLMs) are increasingly used as tool-augmented agents for multi-step decision making, yet training robust tool-using agents remains challenging. Existing methods still require manual intervention, d…

Reinforcement LearningDecision Making

Making LLMs Optimize Multi-Scenario CUDA Kernels Like Experts

2026-03-07 · Yuxuan Han, Meng-Hao Guo, Zhengning Liu, Wenguang Chen 외 arxiv

Optimizing GPU kernels manually is a challenging and time-consuming task. With the rapid development of LLMs, automated GPU kernel optimization is gradually becoming a tangible reality. However, current LLM-driven automa…

astra-langchain4j: Experiences Combining LLMs and Agent Programming

2026-01-29 · Rem Collier, Katharine Beaumont, Andrei Ciortea arxiv

Given the emergence of Generative AI over the last two years and the increasing focus on Agentic AI as a form of Multi-Agent System it is important to explore both how such technologies can impact the use of traditional …