Lightning Talk: Coding Agents for Compiler Construction: Beyond the... Reza Rahimi & Stefan Krassin

PyTorch · Intermediate ·🛠️ AI Tools & Apps ·3w ago
Lightning Talk: Coding Agents for Compiler Construction: Beyond the AI Assistant Paradigm - Reza Rahimi, yasp.ai & Stefan Krassin, yasp Modern ML compilers follow a familiar pattern: a frontend lowers models into an intermediate representation, while a backend applies graph and kernel optimizations before generating code for target accelerators. PyTorch provides strong foundations through nn.Module, FX, and graph capture, but implementing optimized backends remains challenging due to hardware diversity and kernel-level complexity. Optimizing GPU kernels is hard. Few engineers do it well. Hardware architectures evolve yearly, and with hyperscalers, chip makers, and AI labs building custom silicon, demand for efficient kernel generation keeps growing. This creates a gap between model developers and hardware capabilities. This talk explores coding agents as engineering tools for compiler construction, not general-purpose assistants. We discuss how agents can generate and refine backend components by analyzing model mathematics and hardware specifications to produce optimized kernels tailored to specific targets. We present a compiler architecture built as a PyTorch add-on that accepts PyTorch models or FX graphs and produces executable artifacts, demonstrating practical integration with existing PyTorch workflows.
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related AI Lessons

Mental Algorithms: How AI Changes the Cost of Thinking
Discover how AI impacts the cost of thinking by altering mental effort and algorithms, and why it matters for professionals
Dev.to AI
The AI Content System I Built to Generate Viral LinkedIn Posts Started Bringing Clients…
Learn how to build an AI content system to generate viral LinkedIn posts and attract clients
Medium · Programming
$5,000/Month AI Income: Local Business Review Translation Service
Learn how to create a $5,000/month AI-powered translation service for local business reviews and boost your income
Medium · ChatGPT
Gmail's New AI Features Are Live—And They're About to Change What You Actually See
Gmail's new AI features are live, changing what users see in their inboxes, and it's crucial to understand how AI is transforming email experiences
Medium · Programming
Up next
Claude Opus 4.7 + NotebookLM is INSANE!
Julian Goldie SEO
Watch →