vLLM Day-0 Support for ERNIE 5.5 Flash Preview Release Notes
Overview of ERNIE 5.5 Flash Preview
ERNIE 5.5 Flash Preview is a 280B parameter sparse mixture-of-experts (MoE) model designed specifically for inference efficiency across long-context tasks. It features 14B activated parameters per token, a 1M-token context window, and native capabilities for "thinking" before answering and long-horizon tool calling. The model architecture utilizes 43 layers, including 37 layers of Heavily Compressed Attention (HCA) and 6 layers of MLA with DSA sparse attention, supported by 512 routed experts.
Plugin-Based Deployment
vLLM provides day-0 support for ERNIE 5.5 Flash via the vllm-ERNIE plugin. This approach allows users to install the standard vllm==0.32.0 wheel from PyPI and supplement it with the plugin package, avoiding the need for model-specific Docker images or custom forks. The plugin utilizes vLLM's vllm.general_plugins entrypoint to register model architectures dynamically, ensuring that the plugin only loads when the specific ERNIE model is detected in the configuration.
Inference Acceleration Techniques
To optimize the performance of the model's complex architecture, the release includes several key acceleration strategies:
- Fused Kernels: Dedicated kernels for VHA cross-head mixing, Multi-Router Latent MoE, and MultiMax output heads reduce memory traffic and kernel launch overhead. These fusions provide performance gains ranging from 1.55× to 6.53× compared to naive implementations.
- FlashIndexer: This component uses dynamic head routing and threshold pre-filtering to accelerate sparse indexing. It reduces the computational cost of token-level sparse selection, resulting in a 1.4× speedup at 1M context length.
- Quantization: The model employs Quantization-Aware Training (QAT) to support W4A8 inference for routed experts, while other weights utilize FP8. The KV cache is stored in FP8, and the DSA indexer cache supports MXFP4.
- Speculative Decoding: A 3-layer MoE-based DSpark draft model is bundled with the weights. It is trained via a multi-stage pipeline—including on-policy distillation—to achieve a mean acceptance length of over 4.0 tokens per step on coding and agent workloads.
Operational Capabilities
By leveraging the vLLM plugin, ERNIE 5.5 Flash gains access to native vLLM features, including:
- Parallelism: Support for data-parallel attention, expert parallelism, and attention tensor parallelism (TP2/4/8).
- Memory Management: Prefill-decode (PD) disaggregation via Mooncake and KV cache offloading to CPU.
- Compatibility: Full integration with the OpenAI-compatible server, prefix caching, chunked prefill, and CUDA graphs.
Users can serve the model using standard vLLM CLI commands, with specific flags available to configure reasoning parsers, tool-call parsing, and speculative decoding parameters.