[KongchangAI]
ConceptKernel Fusion

Kernel Fusion

An optimization technique commonly used in deep learning compilers and inference engines that merges multiple small operators into a single large kernel to reduce kernel launch overhead and memory access, thereby improving GPU utilization.

Core Facts

Timeline (last 90 days)

Oct 29

If steps such as descriptor computation, normalization and nonlinear activation are each made into separate kernels, repeatedly writing intermediate results to global memory causes bandwidth bottlenecks; operator fusion can keep intermediate tensors in on-chip memory.

Unverified50%
Oct 22

Kernel fusion is a common optimization used by deep learning compilers and inference engines, merging multiple small operators into one large kernel to reduce launch overhead and memory round trips.

Unverified50%
Oct 15

Kernel fusion techniques can merge multiple consecutive operations into a single kernel, for example fusing RoPE with attention computation or fusing SwiGLU's matrix multiplication with activation, thereby reducing memory round trips and scheduling overhead.

Unverified50%
Oct 13

This time vLLM reduced the compute and memory access overhead of the prefill stage through means such as SWA bounded replay and kernel fusion.

Unverified50%
Sep 11

Kernel fusion can reduce kernel launch overhead and avoid repeated reads and writes of intermediate results to global memory, thereby improving performance.

Verified75%

All Facts (5)

Source Articles