Advanced Fusion: Beyond Element-wise Ops

Aggressive operator fusion extends beyond simple element-wise chains (e.g., Add-ReLU) to combine compute-intensive operations like matrix multiplication with subsequent element-wise ops, or even entire decoding stages such as QKV Projection, Attention, and Output Projection into a single kernel, maximizing on-chip data locality and reducing latency by up to 37.44%.

Sources

Open the full topic