AI News selected for Professionals and Decision Makers
Primary Research Stream

Kernel Forge: An Agent Harness for LLM-based Generation and Optimization of CUDA Kernels

06:00 · July 29, 2026 · arXiv cs.AI RSS

Kernel Forge: An Agent Harness for LLM-based Generation and Optimization of CUDA Kernels

Machine learning models are increasingly embedded in everyday software, and most of their runtime is spent in a small set of compute kernels such as matrix multiplication, convolution, and normalization. Optimizing these kernels is one of the most direct ways to reduce latency and cost, but it has traditionally required expert engineers to hand-write low-level GPU code. Agentic systems built on large language models (LLMs) can now generate and optimize kernels with far less human effort, yet existing tools are largely evaluated on randomly generated tensors and isolated kernels, emit standalone CUDA code that developers must manually reintegrate, mostly target only LLM PyTorch models, and offer limited support for inspecting and debugging results. We present Kernel Forge, an open-source, end-to-end agentic harness that accepts any unmodified PyTorch model in place. Kernel Forge supports vision, diffusion, and LLM workloads, uses Monte Carlo Tree Search (MCTS) to explore multiple optimization paths rather than a single linear refinement chain, and ships with a graphical user interface for monitoring progress, inspecting candidate kernels, and debugging failures. We evaluate Kernel Forge on four PyTorch models spanning vision, diffusion, and LLM workloads on an NVIDIA DGX Spark with GB10 GPU. With only 50 optimization iterations per kernel, it optimizes 14 kernels to outperform PyTorch eager mode, reaching $1.52\times$ on adaptive\_avgpool2d in ResNet-50, $1.70\times$ on group\_norm in Stable Diffusion 3.5 Medium, $2.83\times$ on softmax in Gemma 4 E2B, and $1.54\times$ on softmax in Qwen 3.5 35B-A3B.

Summary

Kernel Forge is an open-source agentic system that applies large language models to generate and refine CUDA kernels for production PyTorch models. It accepts any unmodified model together with example inputs, runs inference to identify the operators that dominate runtime, and then launches an optimization loop that proposes, compiles, validates, and profiles specialized kernels. Unlike prior tools that operate on synthetic tensors or emit standalone code, Kernel Forge automatically inserts validated kernels back into the model’s execution path through guarded dispatch, preserving numerical correctness relative to PyTorch eager mode.

The system supports vision, diffusion, and language workloads rather than restricting itself to transformer-only cases. It replaces the linear refinement chains common in earlier LLM-based optimizers with Monte Carlo Tree Search, allowing the agent to explore multiple optimization trajectories and retain intermediate candidates that may later prove beneficial. A graphical interface exposes the captured operator graph, per-kernel timing breakdowns, revision trees, and failure diagnostics, while a command-line mode supports scripted use.

In experiments on an NVIDIA DGX Spark with GB10 GPU, Kernel Forge processed four representative models—ResNet-50, Stable Diffusion 3.5 Medium, Gemma 4 E2B, and Qwen 3.5 35B-A3B—applying fifty iterations to each target operator. Fourteen kernels exceeded eager-mode performance, delivering measured speedups of 1.52× for adaptive average pooling in ResNet-50, 1.70× for group normalization in Stable Diffusion, 2.83× for softmax in Gemma, and 1.54× for softmax in Qwen. The implementation is publicly available and designed for direct integration into existing PyTorch pipelines without manual code changes.

Why it matters

Actionable open-source tool for efficient AI deployment on GPUs; directly supports Dutch researchers optimizing real PyTorch workloads with novel MCTS search and reproducibility via code release.

More in this beat
cudagemma-4Kernel Forgekernel-generationnvidiapytorchqwen-3stable-diffusion
KernelArc: A Multi-Agent Framework for GPU Kernel Optimization

06:00 · August 19, 2026

KernelArc: A Multi-Agent Framework for GPU Kernel Optimization

High technical depth and novelty in multi-agent kernel search; directly actionable for Dutch AI/HPC teams working on performance engineering; IMEC affiliation adds EU relevance for advanced GPU workloads.

Relevance 78 · Audience 85

Profiling in PyTorch (Part 2): From nn.Linear to a Fused MLP

02:00 · June 11, 2026

Profiling in PyTorch (Part 2): From nn.Linear to a Fused MLP

Directly addresses production-level PyTorch optimization, kernel fusion, and profiling for ML Engineers building or tuning models, with actionable scripts and trace interpretation that Dutch teams can apply immediately.

Relevance 85 · Audience 90

Nova: An End-to-End MLIR Compiler for Deep Learning

06:00 · August 4, 2026

Nova: An End-to-End MLIR Compiler for Deep Learning

Nova's approach to maximizing GPU efficiency and reducing memory overhead is highly relevant for Dutch AI researchers and SMEs aiming to train models cost-effectively and sustainably. Its deep technical insights into MLIR and hardware-aware optimizations provide actionable knowledge for advancing AI infrastructure and Green AI initiatives in the Netherlands.

Relevance 85 · Audience 95

GPU Management: Why Idle GPUs Are the New Grounded Aircraft

17:09 · July 30, 2026

GPU Management: Why Idle GPUs Are the New Grounded Aircraft

It addresses critical MLOps and production challenges faced by ML Engineers, specifically GPU utilization, workload scheduling, and compute cost optimization. For Dutch enterprises and SMEs scaling AI, mastering these orchestration strategies is essential to remain cost-effective without relying on massive hardware budgets.

Relevance 75 · Audience 85

Fine-tune video and image models at scale with NVIDIA NeMo Automodel and 🤗 Diffusers

17:57 · July 17, 2026

Fine-tune video and image models at scale with NVIDIA NeMo Automodel and 🤗 Diffusers

Directly addresses production-level challenges for ML Engineers: distributed training setups, VRAM efficiency via sharding, parameter-efficient fine-tuning, and reproducible MLOps configs. Actionable recipes enable Dutch teams to fine-tune large models without checkpoint conversion while balancing quality and compute cost.

Relevance 88 · Audience 92

Hugging Face and Cerebras bring Gemma 4 to real-time voice AI

02:00 · July 1, 2026

Hugging Face and Cerebras bring Gemma 4 to real-time voice AI

This article is highly relevant for ML Engineers as it provides a practical, open-source architecture for solving critical latency bottlenecks in real-time voice AI. Dutch AI teams can directly implement this modular stack using the provided repositories to build responsive conversational agents and embodied AI solutions.

Relevance 80 · Audience 90

FedPref: Federated Preference Learning for Structured Radiology Report Extraction

06:00 · August 19, 2026

FedPref: Federated Preference Learning for Structured Radiology Report Extraction

Strong actionability for Dutch/EU hospitals under GDPR constraints; directly addresses privacy-preserving collaboration on medical data with unequal distributions, high technical depth, novelty in combining federated learning with preference optimization, and full reproducibility via GitHub.

Relevance 82 · Audience 90

FLOPs vs Real Work: The Importance of Replication in AI Efficiency Assessment

06:00 · August 18, 2026

FLOPs vs Real Work: The Importance of Replication in AI Efficiency Assessment

Directly relevant for Dutch AI researchers and advanced practitioners working on Green AI, model optimization, and reproducible efficiency metrics; authors are local, findings address EU energy concerns, and results are actionable for accurate cost assessment on modern GPUs.

Relevance 85 · Audience 90

Depth-Aware Sensitivity Analysis of Mixture-of-Experts Models via Magnitude-Based Expert Masking

06:00 · August 17, 2026

Depth-Aware Sensitivity Analysis of Mixture-of-Experts Models via Magnitude-Based Expert Masking

This research is highly relevant for Dutch AI researchers and engineers focused on optimizing Large Language Models for efficient deployment. By providing a method to compress MoE models without sacrificing performance, it supports the Netherlands' push for sustainable, cost-effective AI solutions that lower the barrier to entry for SMEs.

Relevance 85 · Audience 95