[KongchangAI]
· 2 min read· 1,309 words

Baidu ERNIE 5.5 Flash Preview Gets Day-0 vLLM Support: 280B MoE with 1M Context

Baidu ERNIE 5.5 Flash Preview Gets Day-0 vLLM Support: 280B MoE with 1M Context

ERNIE 5.5 Flash Preview gets Day-0 vLLM support, making the 280B MoE model serviceable out of the box.

vLLM announced Day-0 support for Baidu's ERNIE 5.5 Flash Preview through the vLLM-ERNIE plugin, so developers can install the plugin on the vLLM 0.32.0 wheel and serve inference via an OpenAI-compatible API with near-zero migration cost. The MoE model has 280B total parameters and about 14B activated per token, with reasoning, tool calling, and up to 1M context. Optimizations include architecture-specific fused kernels (1.55–6.53× faster), FlashIndexer sparse indexing (1.4× at 1M context), and DSpark speculative decoding (up to 7 tokens proposed per step, average accepted length above 4.0). Precision is tiered by hardware: FP4 on Blackwell, FP8/BF16 on Blackwell and H100; weights are on Hugging Face and ModelScope.

From Release to Deployable: What Day-0 Support Means

After a large model is released, whether the inference framework can complete adaptation on day one often determines how quickly developers can actually get the model running. vLLM officially announced that Baidu's ERNIE 5.5 Flash Preview has received Day-0 support through the vLLM-ERNIE plugin—at the same time the model weights are released, the inference path is already available.

This support is not simple weight loading. According to the official description, developers only need to install the plugin on top of the released vLLM 0.32.0 wheel to directly provide inference services through an OpenAI-compatible API. For teams already using vLLM, the migration cost is close to zero, and existing calling code basically requires no changes.

Model Specs: 280B Total Parameters, 14B Activated MoE

ERNIE 5.5 Flash Preview uses a Mixture of Experts (MoE) architecture, with 280B total parameters and about 14B parameters activated per token. This "large total, small activation" design aims to keep the model capacity while controlling the computation per inference within an acceptable range.

On the capability side, the official announcement highlights three points: reasoning, tool calling, and a context window of up to 1M tokens. The 1M context places high demands on sparse attention and indexing structures, which is also why this inference optimization focuses on the indexing stage.

Mixture of Experts (MoE) is a sparse architecture that splits the feed-forward layer into multiple "expert" subnetworks: each token is routed to only a few of them for computation, while the rest remain idle. Therefore, the model's total parameter count determines capacity and the scale of knowledge storage, while the activated parameters per token determine the computation and memory bandwidth pressure of a single forward pass. The 280B/14B combination of ERNIE 5.5 Flash Preview means it has capacity close to a very large model, while inference overhead is close to that of a medium-sized dense model. The cost is that MoE places higher demands on load balancing, expert parallel partitioning, and communication scheduling, which is also where the main engineering effort lies when inference frameworks adapt MoE.

Inference Optimizations: Fused Kernels, FlashIndexer, and DSpark Speculative Decoding

The vLLM team disclosed three underlying optimizations, each targeting a specific bottleneck of MoE models in long-context scenarios.

Architecture-Specific Fused Kernels

Fused kernels customized for this model architecture are 1.55–6.53× faster than naive implementations. The wide range indicates that different operators do not benefit evenly from fusion; the more memory-intensive an operator is and the higher its launch overhead share, the more obvious the improvement from fusion.

A fused kernel refers to combining multiple fine-grained operators (such as LayerNorm, residual addition, activation functions, transposes, etc.) into a single GPU kernel for execution. On GPUs, every kernel launch has fixed overhead, and intermediate results need to be written out to memory and read back, creating additional memory traffic. After fusion, intermediate tensors remain in registers or shared memory, reducing both the number of launches and memory round trips, with particularly significant benefits for memory-intensive small operators. The 1.55–6.53× range difference stems precisely from this: the more an operator is dominated by memory access and launch overhead, the more obvious the speedup from fusion; large matrix multiplications that are already compute-saturated see limited improvement.

FlashIndexer Accelerates Sparse Indexing

FlashIndexer speeds up sparse indexing by 1.4× under 1M context. In long-context inference, the indexing stage can easily become a hidden bottleneck—the computation may seem small, but its share of latency cannot be ignored. The actual share of the 1.4× speedup in end-to-end latency depends on the weight of indexing in the overall pipeline.

DSpark Speculative Decoding

The plugin includes a 3-layer DSpark draft model that proposes up to 7 tokens per step. On real-world coding and agent workloads, the average accepted length exceeds 4.0. The benefit of speculative decoding depends heavily on the task distribution: the draft model has a higher hit rate in structured, predictable code and tool-calling scenarios, as confirmed by the average accepted length exceeding 4.0.

Speculative decoding uses a lightweight draft model to quickly generate several candidate tokens first, then has the large model verify these candidates in parallel at once, turning originally token-by-token serial decoding into batch verification and speeding things up without changing the output distribution. The core metric for measuring the benefit is the average accepted length: the number of tokens confirmed by the large model in each round of proposals. The higher the value, the lower the verification cost amortized per token. The theoretical upper limit is constrained by the proposal length; in this case, up to 7 tokens are proposed per step and more than 4.0 are accepted on average, meaning about 60% of proposals are adopted. The draft model needs to share the tokenizer and output distribution tendencies with the large model; otherwise the acceptance rate will drop significantly. Structured, predictable code and tool-calling text are precisely the scenarios with the highest acceptance rates.

Precision and Hardware: FP4 on Blackwell

Precision support is tiered by hardware: FP4 is available on NVIDIA Blackwell, while FP8 and BF16 are supported on both Blackwell and H100. FP4 further compresses the bit width of weights and activations, directly benefiting memory usage and throughput, but only if the hardware has corresponding low-precision compute units.

Weights have been released through Hugging Face and ModelScope, and teams in China can obtain them through the ModelScope channel.

FP4 refers to a 4-bit floating-point format (such as E2M1 supported by NVIDIA Blackwell: 1 sign bit, 2 exponent bits, 1 mantissa bit), which halves the storage bit width of each value compared with FP8. Its significance is not only lower memory usage, but also that Blackwell's tensor cores provide native compute for FP4, allowing matrix multiplication throughput to be significantly higher than FP8. However, the representable numerical range and precision of the 4-bit format are very limited, usually requiring block-wise scaling (such as block-level scales in MXFP4 and NVFP4) to suppress quantization error, and key layers often retain higher precision. Therefore, the practical usability of FP4 depends on the model's sensitivity to quantization; whether the precision loss is acceptable must be evaluated on real tasks, not just by perplexity metrics.

A Few Observations

Behind Day-0 support is deep collaboration between the model team and the inference framework community. The official acknowledgments mention both Baidu's ERNIE team and the vLLM community, indicating that fused kernels, indexing optimization, and speculative decoding are not generic optimizations on the framework side, but targeted adaptations for this model architecture.

For developers, the more practical questions are: how throughput performs in real agent workflows with 1M context combined with speculative decoding; and whether the precision loss of FP4 on Blackwell is acceptable. These still require feedback from the community in actual deployments. What is certain now is that the time gap between weight release and serviceable inference has been compressed to nearly zero.

One-line Summary

ERNIE 5.5 Flash Preview gets Day-0 vLLM support, making the 280B MoE model serviceable out of the box.

Paragraph Summary

vLLM announced Day-0 support for Baidu's ERNIE 5.5 Flash Preview through the vLLM-ERNIE plugin. Developers can install the plugin on the vLLM 0.32.0 wheel and provide inference services through an OpenAI-compatible API, with migration cost close to zero. The model uses a MoE architecture with 280B total parameters and about 14B activated per token, focusing on reasoning, tool calling, and a context of up to 1M tokens. Supporting optimizations include architecture-specific fused kernels (1.55–6.53× faster), FlashIndexer sparse indexing acceleration (1.4× under 1M context), and speculative decoding with a built-in 3-layer DSpark draft model (up to 7 tokens proposed per step, with average accepted length above 4.0 on real coding and agent workloads). Precision is tiered by hardware: Blackwell supports FP4, while Blackwell and H100 support FP8 and BF16. Weights have been released on Hugging Face and ModelScope.

#ERNIE 5.5 Flash Preview#vLLM#MoE#1M context#speculative decoding#FP4#Blackwell
Share:

Related articles