Transformers Can Now Run Natively in vLLM

huggingface · x · 2026-07-14

Hugging Face announced that Transformers models can now run at native speeds in vLLM, with throughput often matching or exceeding hand-written implementations.

The key shift: previously, a new architecture required maintaining two separate implementations—one in Transformers for training/research and another in vLLM for high-performance inference. Now, model authors only need to implement it once in Transformers to leverage vLLM's optimized inference stack.

Benchmarks indicate that this backend maintains throughput comparable to or higher than native vLLM across models ranging from 4B to 235B parameters, covering both tensor parallelism and MoE scenarios. The authors emphasize that a single, readable model implementation can now serve training, fine-tuning, evaluation, RL rollout, and production inference.

Original post →

More from Infra

Infra channel →