vLLM (the production default)
vLLM is the go-to for high-throughput LLM serving. Two key innovations:
- PagedAttention: manages KV-cache memory like an OS pages virtual memory. Eliminates fragmentation, dramatically increases concurrent capacity.
- Continuous batching: processes multiple requests in the same forward pass, packing them in as slots free up. Massive throughput gain over naive sequential serving.
vLLM speaks the OpenAI-compatible API out of the box, so you can point any OpenAI SDK client at it with zero code change.
vLLM with LoRA — no merge needed
vLLM can serve LoRA adapters directly on top of the base model and hot-swap between them per request. This is the right setup when you serve many fine-tuned variants on the same base (multi-tenant, per-customer specialization).
TGI (Text Generation Inference)
Hugging Face's own inference server. Particularly good for tight Hub integration. Generally similar throughput to vLLM, slightly different ergonomics.