Practical LLM Inference & Reliability Notes
Reproducible measurements on tail latency, structured output adherence, memory budgets, and serving behavior outside synthetic leaderboards.
2026-11-28 · SERVING LATENCY · 6 MIN READ
Why P99 Time-to-First-Token Diverges Under Mixed Prompt Lengths
Median TTFT often looks flat until continuous batching queues long prefill sequences ahead of short interactive turns. Splitting prefill budgets or bounding chunk sizes stabilizes interactive P95 by 38% without lowering GPU utilization.
2026-11-19 · STRUCTURED OUTPUT · 5 MIN READ
Grammar-Constrained Decoding Overhead Across Deep Nested Schemas
Finite-state token masking guarantees valid JSON syntax, yet deeply branching schemas still introduce mask compilation pauses on cold requests. Caching compiled FSM tables per schema hash drops cold overhead below 4 ms.
2026-11-08 · MEMORY PLANNING · 7 MIN READ
KV-Cache Capacity Math for 32k Context Concurrency
With grouped-query attention and FP8 KV-cache quantization, the bottleneck shifts quickly from model weights to concurrent sequence slots. Sizing concurrency against worst-case context distributions prevents silent eviction thrashing.
2026-10-27 · QUANTIZATION · 6 MIN READ
4-Bit Activation-Aware Quantization on Reasoning Traces
Standard perplexity deltas stay tiny under W4A16, whereas multi-step arithmetic and tool-call argument extraction degrade faster when calibration sets exclude code and long-horizon JSON trajectories.