Tag
This guide explains the discipline of AI inference engineering, covering the split between prefill and decoding phases, the shift from closed to open models, and optimization techniques for latency, throughput, and cost.
Modal announced several major product updates including VM Sandboxes with real Linux kernel support, lower-latency regional routing, domain allowlisting for Sandboxes, RBAC, named images, and SDK updates.
Dian Hu draws a parallel between the importance of low latency in search engines and the upcoming need for fast AI inference.
This article from The Old New Thing explains that Windows thread pools are optimized for throughput, not latency, and provides solutions for low-latency scheduling, such as creating a custom thread pool or using a dedicated worker thread, with code examples in C++ and C#.
A blog post revisits the concept of 'Slow Search' in the context of agentic retrieval, arguing that per-query latency can be traded for better retrieval quality to reduce overall task time and cost for AI agents.
Explores why mainstream games have not yet integrated large language models into NPCs, questioning whether latency issues or lack of interest from game studios are the primary obstacles.
Discusses key challenges facing AI voice agents in real-world customer interactions, such as accent handling, latency, and integration, and invites experiences from businesses.
Formula 1 teams invest millions in driver-in-the-loop simulators with ultra-low latency and high fidelity to replicate real car behavior, enabling drivers to train and develop setups.
Hippocratic AI partners with Modular to use MAX framework for inference on large language models, achieving sub-500ms TTFT, ~30% faster P99 latency and ~22% faster mean latency at scale on NVIDIA B300 GPUs, with portability to AMD.
Coinbase's 10-hour outage postmortem reveals they run global trading from a single region without automated failover, raising concerns about their infrastructure reliability.
This paper presents a game-theoretic analysis of disaggregated inference architectures that separate prefill and decode phases across GPU pools, characterizing how GPU saturation affects performance. The authors propose an adaptive controller that detects saturation transitions and adjusts routing parameters, reducing the Price of Anarchy significantly in experiments on NVIDIA B200 clusters.
A detailed investigation of Linux latency in gaming using a Teensy-based LDAT tool, measuring click-to-photon latency with various settings on Nvidia GPUs under KDE Wayland, comparing to Windows.
LangChain engineers detail how they built a custom inverted index for SmithDB to support full-text search and JSON filtering over large agent traces stored in object storage, achieving median latency of 400ms despite huge payload sizes.
A tweet explains the correct answer to an ML performance interview question at Anthropic about the latency tradeoffs of splitting tensor-parallel linear layers by columns vs. rows when serving a 70B transformer model on 8 GPUs, highlighting that performance is not similar despite equal per-GPU weights.
A practitioner argues that speech start latency—not model selection—is the critical factor in AI tutoring systems, recommending targets under 1 second for speech start and highlighting streaming TTS as the highest-leverage optimization. The post outlines a full pipeline from ASR through TTS and avatar sync, identifying where latency compounds most.
Developer built VoiceOBS, an observability tool for AI voice agents, providing latency breakdowns, sentiment analysis, hallucination detection, and more, integrated with Vapi.
A web page that measures keyboard latency via reaction time and tap duration tests, allowing users to submit results for comparison.
A voice agent team found that despite lower end-to-end latency (280ms vs competitor's 450ms), users perceived it as slower due to poor barge-in interrupt rate (380ms vs 60ms). They identified three fixes—memory pinning, VAD threshold tuning, and smaller TTS chunks—that improved barge-in rate from 41% to 89% at 100ms, making users feel it's faster.
The author shares lessons from instrumenting AI agent tool calls, revealing that tools like web_search can account for ~50% of spend, and highlighting the importance of tracking p95 latency and attributing costs per workflow or customer to avoid surprises.
The paper introduces Latent Cache Flow (LCF), a method for efficient model-to-model communication by exchanging compressed KV caches instead of text, reducing adapter size and enabling cross-context communication.