Native-speed vLLM transformers modeling backend
AI-generated summary of reporting by Huggingface Blog. Read the original for the full story.
Why it matters
Hugging Face models can now run at native vLLM speed via one flag, so model authors no longer need to write and maintain separate vLLM ports.
Hugging Face updated its software so that models built for its transformers library now run as fast inside vLLM, a popular inference tool, as hand-optimized versions. Previously, model makers had to rewrite their model code twice to get top speed. Tests on three Qwen3 models, including a 235-billion-parameter version, showed the new path matching or beating the hand-written code. Anyone serving Hugging Face models benefits with a single flag change.
Teams serving Hugging Face models through vLLM can now get full inference speed with --model-impl transformers, eliminating the cost of maintaining custom vLLM ports per architecture. Benchmarks on three Qwen3 variants, including a 235B FP8 MoE on 8xH100s, show the backend matching native throughput. Risk: linear-attention models are unsupported for now, and models with code only in Hub repos may not work. Update via pip.
The vLLM transformers backend now applies runtime layer fusions via torch.fx static analysis and AST source rewriting, mapping operations to optimized vLLM kernels like MergedColumnParallelLinear, QKVParallelLinear, and MoE expert-parallel kernels, while inferring TP/PP parallel plans. Rewritten models remain fully compatible with torch.compile and CUDA Graphs. Benchmarks on Qwen3-4B, Qwen3-32B (TP=2), and Qwen3-235B-A22B-FP8 (8xH100, DP+EP) meet or beat --model-impl vllm. Linear attention unsupported; non-compliant Hub-repo models likely fail.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Hugging Face vLLM transformers Qwen3 torch.fx CUDA Graphs Mistral
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Samsung is testing a feature that changes the angle of photos you’ve already taken
Samsung’s new Recompose lets users change photo angles after shooting, potentially reducing the need for multiple shots and improving post-capture editing workflows for photographers and casual users alike.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Self-hosted YouTube client that falls back to SABR when side doors close
A self-hosted YouTube client lets users watch videos without Google accounts, ads, or tracking, keeping data local and enabling shared libraries across devices.
datasette-charts 0.4a0
Datasette now lets developers add custom chart types more easily, expanding visualisation options for data projects.
Speculative Decoding Makes Tool Calls Faster. Agents Need a Cache.
Speed improvements in speculative decoding mean agents can execute tool calls faster, reducing latency for real-time applications.