Tag: vllm
Artificial Intelligence
Multi-LoRA Serving: Sharing One GPU Across Adapters
Multi-LoRA serving answers a capacity question that hits every team running fine-tuned variants: if each customer needs its own adapted model, do you deploy a full model copy per customer? With adapter-based serving you...
Artificial Intelligence
KV Cache Memory Sizing for Long-Context LLM Serving
KV cache memory — not model weights — is usually the constraint that decides how many long-context requests a GPU can serve concurrently. The key-value cache for each request is huge and grows and...
Artificial Intelligence
INT8 vs FP8 vs INT4: Selecting Weight Quantization
For most GPU inference deployments, FP8 weight-and-activation quantization is the default pick on Hopper or newer hardware: each weight is stored in one byte instead of two, roughly halving weight memory against BF16 while...
Artificial Intelligence
Speculative Decoding in vLLM: The Engineer’s Setup
Speculative decoding lets a large language model emit tokens faster by drafting candidates with a small, cheap model and verifying them in a single forward pass of the target. Google researchers measured a 2X-3X...
Artificial Intelligence
KV Cache and Batching: Raising LLM Serving Throughput
LLM serving throughput is decided by two memory-side mechanics before any GPU upgrade matters: how the engine stores the key-value (KV) cache and how it refills batches during decoding. Profiling published with the vLLM...
Artificial Intelligence
Serverless Inference Cold Starts: An Engineer’s Guide
Serverless inference cold starts are two stacked problems, not one. The platform provisions compute, attaches storage and pulls your container image; only then does the inference engine load model weights into GPU memory, compile...
Artificial Intelligence
vLLM vs TGI Benchmarks: Throughput Numbers That Matter
vLLM beats HuggingFace TGI on serving throughput by 3.67x at 100 concurrent requests on a LLaMA-2-7B model, and the gap stretches to 24x under extreme load, according to a November 2025 arXiv study that...
Artificial Intelligence
LLM Inference Nondeterminism: Why Temperature 0 Fails You
LLM inference nondeterminism means identical prompts can return different outputs even at temperature 0, because dynamic batching changes the order of floating-point reductions inside GPU kernels — a property called batch invariance. Thinking Machines...
Artificial Intelligence
CUDA Graphs + torch.compile: 1.65x LLM Decode Speedup
A single decode step for Llama 3.1 8B on an H100 SXM5 takes 8.4 milliseconds in eager mode. Capture that same forward pass as a CUDA graph and it drops to 5.1 milliseconds —...
Artificial Intelligence
Continuous Batching: Why 60% of Your GPU Sits Idle
Naive static batching leaves roughly 60% of an H100 GPU idle during LLM serving, because finished requests hold their slots until the slowest sequence in the batch completes. Continuous batching — iteration-level scheduling introduced...
Artificial Intelligence
Prefill-Decode Disaggregation: NVIDIA’s 7x Inference Fix
Every LLM inference request is two workloads pretending to be one. Prefill processes your entire prompt in a single compute-bound forward pass — it wants raw FP8 TFLOPS. Decode generates tokens one at a...
AI
vLLM vs TensorRT-LLM vs SGLang: H100 Benchmarks 2026
Choosing between vLLM, TensorRT-LLM, and SGLang in 2026 comes down to three questions: how many models you serve, how fast you need to go live, and whether your workload shares prefixes. Benchmarks on H100...