Why AI Infra Still Needs GPU Kernel Engineers
AI infrastructure tooling can now generate many simple kernels, yet GPU kernel engineers remain in demand. This article explains why kernel work is less about producing code that runs and more about approaching hardware limits under real constraints, why automated generation addresses availability more than optimality and maintainability, and why model evolution, hardware diversity, correctness, and production requirements keep human performance engineering essential.
In the engineering stack for large models and generative AI, AI Infra hiring shows what looks like a contradiction. Automated operator generation, intelligent coding tools, and autotuning frameworks are maturing, and many simple kernels can now be produced quickly by tools. Yet demand for GPU kernel engineers has not fallen noticeably; in areas such as inference optimization, training acceleration, and heterogeneous resource scheduling, these engineers remain scarce. Why? The answer is not whether a working kernel can be written, but whether performance can be made to approach hardware limits reliably under real business constraints and whether the gains can be maintained.
1. The Core Goal Is Not “It Runs” but “Approaching the Limit”
GPU kernels are parallel compute functions that run on GPUs and implement operators such as matrix multiplication, attention, normalization, activation, and residual addition. In AI Infra, “saturating” the GPU means fully using compute units and memory bandwidth. The industry often uses SOL (Speed-of-Light) to measure the performance ceiling:
TSOL = max(Total FLOPs / Compute Throughput,Total Fused Bytes / Memory Bandwidth)
Here, Total FLOPs / Compute Throughput is the minimum time required by compute, and Total Fused Bytes / Memory Bandwidth is the minimum time required by memory access. A good kernel aims to overlap compute and memory access so that actual latency approaches the larger of the two. The closer SOL is to 1, the closer the implementation is to the hardware limit.
Another common metric is MFU (Model FLOPs Utilization), which describes actual compute throughput as a proportion of theoretical peak compute. MFU reflects not only operator implementation quality but also, indirectly, how well model structure, operator implementation, and hardware configuration match. A tool can generate a correct result, but improving SOL and MFU consistently in a real model requires engineers to make systematic judgments about memory hierarchy, parallelism granularity, register usage, pipelines, numerical precision, and task partitioning.
2. Automated Generation Solves “Whether It Exists,” Not “Optimal and Maintainable”
Take attention output projection plus residual as an example. Logically, it can be written as:
projected = matmul(attn_output, weight_transposed)output = projected + residual
If executed in two steps, the intermediate result must be written back to GPU memory and read again, causing extra memory traffic. A fused implementation can complete matrix multiplication and residual addition in one kernel:
for each output element (m, n):acc = 0for k in reduction_dim:acc += attn_output[m, k] * weight[n, k]output[m, n] = acc + residual[m, n]
This kind of fusion is not conceptually complex, and automated tools can explore it. But real problems go far beyond a matrix multiplication with a static shape. Engineers need to answer: How should tiling be chosen for different batch sizes, sequence lengths, and hidden dimensions? How should boundaries be handled? Does precision meet requirements? Should tensor cores be used? How should shared memory and registers be balanced? How should multi-GPU communication overlap with compute? How should performance regressions be diagnosed? Automated generation is good at finding candidates within a given template and search space. Engineers define the search space, constrain correctness, design acceptance benchmarks, and turn candidates into maintainable engineering solutions.
3. Long-Tail Complexity in Real AI Infra Keeps Humans Irreplaceable
First, models evolve quickly. New structures, fusion patterns, and precision formats keep appearing, and general operator libraries cannot cover every long-tail combination. Second, hardware varies widely. Different GPU architectures, memory hierarchies, interconnect topologies, and cluster environments can significantly change the optimal implementation. Third, performance is not an isolated metric. Kernels must also work with graph optimization, compilation runtimes, memory management, communication libraries, and scheduling systems. Fourth, correctness requirements are high. Numerical error, race conditions, and boundary overflow can cause serious problems in both training and inference. Fifth, online systems need observability and regression control. An optimization may improve throughput for one shape while slowing another batch of requests, so benchmark sets, monitoring, and rollback mechanisms are necessary.
In a general-purpose cloud environment such as Baidu AI Cloud, GPU resources are one of the main cost items for AI workloads, and kernel efficiency improvements translate directly into throughput, latency, and cost benefits. But the greater the benefit, the more engineers need to make end-to-end judgments: Is the bottleneck compute, memory access, communication, or scheduling? Is the optimization worth the maintenance cost? Can it be reproduced reliably across different workload profiles?
4. Hiring Is About Performance Engineering, Not Just Handwritten Code
The skill model for GPU kernel engineers usually includes understanding model operator semantics; mastering GPU architecture and parallel programming models; performing performance profiling and bottleneck diagnosis; understanding numerical correctness and precision effects; having autotuning, code generation, and benchmark design capabilities; and collaborating with compiler, framework, inference serving, and cluster teams. Automation tools will replace a large amount of repetitive work, but they also push engineers from “writing a single kernel” toward “defining performance goals, designing fusion schemes, building acceptance systems, and solving long-tail problems.”
Therefore, AI Infra still hires GPU kernel engineers in large numbers not because tools are insufficient, but because performance optimization in real systems is an ongoing engineering process. Tools can accelerate exploration; engineers are responsible for turning exploration into reliable, maintainable, scalable productivity. The closer the work gets to hardware limits, the more human judgment is needed; the more complex the business, the more it needs engineers who understand both operators and systems.
