vLLM MonoKernels Release: High-Interactivity Decode with FlyDSL

Overview

vLLM has integrated MonoKernels, a new specialized decode path designed to minimize latency for interactive LLM workloads on AMD Instinct GPUs. By using FlyDSL to fuse multiple dependent operator stages into single, persistent GPU kernel launches, MonoKernels eliminate the overhead of repeated kernel dispatches and reduce idle time between operations, resulting in speedups ranging from 1.20× to 2.26× in concurrency-1 scenarios.

The Technical Approach: MonoKernels

Interactive agents are often bottlenecked by decode latency, as each step must complete before the next tool call can be initiated. Traditional serving methods execute a chain of separate GPU kernels for operations like projections, attention, and expert computation. At low concurrency, the overhead of launching these kernels and the gaps between them—where the GPU waits for dependencies—become significant.

MonoKernels address this by:

  • Persistent Launches: Using a fixed grid of GPU thread blocks that work through multiple stages, reusing the same launch boundary rather than incurring startup and drain costs for every operator.
  • Data Handoffs: Implementing tagged mailboxes that allow downstream stages to proceed as soon as their specific input tiles are ready, rather than waiting for the entire producing stage to finish.
  • Weight Prefetching: Overlapping memory traffic with computation by prefetching weights for subsequent stages while earlier stages are still executing.

Design and Integration

MonoKernel boundaries are model-specific, designed by kernel authors to fit the unique data dependencies and resource constraints of a given architecture. This design is implemented using FlyDSL, an AMD Python DSL and MLIR compiler, which provides granular control over data movement, synchronization, and layout mapping.

In vLLM, this is integrated as an opt-in feature (--monokernel). The system remains flexible: if a step is too wide or unsupported, it falls back to the standard vLLM path. The kernels are specialized and compiled just-in-time for the specific model, tensor-parallel size, and step width, ensuring compatibility with existing vLLM features like HIP graphs and speculative decoding.

Performance and Accuracy

Evaluations across several models—including DeepSeek-V4.1-Flash, MiniMax-M3, Kimi-K3, and Muse Spark—demonstrate substantial improvements in interactivity, particularly at concurrency 1. For example, DeepSeek-V4.1-Flash on an MI355X node showed a P90 interactivity increase from 318.1 to 429.1 tok/s/user. While performance gains tend to narrow as concurrency increases, the optimization provides a consistent boost for latency-sensitive agentic tasks.

Accuracy remains a priority, with tests showing that the fused kernels maintain performance parity with stock vLLM. Evaluations on benchmarks such as GPQA-Diamond, AIME25, and GSM8K indicate that differences in quantization and accumulation order result in negligible impact on model output quality.

Sources