FlashRT: Execution State for Latency-First AI

FlashRT revolutionizes on-device AI serving with execution-state capsules, enabling sub-millisecond state restoration and significant TTFT speedups for latency-critical applications.

4 min read
Diagram illustrating execution-state capsules in FlashRT
Conceptual overview of execution-state capsules for dynamic AI serving.
Visual TL;DR
Current LLM ServingDriver
From the articleCurrent LLM serving systems optimize for high throughput via paged or radix KV caches, effectively managing only a single fragment of execution state.
On-Device AI NeedsDriver
From the articleThis approach falls short for the demanding low-latency, small-batch, on-device physical-AI serving scenarios where interactive agents, speech systems, and robotic policies require frequent branching, resetting, and re-entry under strict responsiveness budgets.
Execution-State CapsulesCore
From the article 6 mentionsThe core innovation lies in execution-state capsules, a graph-bound checkpoint and restore mechanism designed to capture the complete restorable state at committed boundaries.
FlashRT RuntimeCore
white-box kernel runtime with NVIDIA CUDA backend
From the articleFlashRT, the runtime implementing this, operates as a white-box kernel runtime.
Granular CheckpointContext
treats entire execution context as unified, restorable unit
From the articleThe core innovation lies in execution-state capsules, a graph-bound checkpoint and restore mechanism designed to capture the complete restorable state at committed boundaries.
Sub-Millisecond RestoreEffect
enables rapid state restoration for dynamic AI
From the article 4 mentionsGPU-resident snapshot and restore operations are achieved in sub-millisecond times.
Latency-First AI ServingOutcome
significant TTFT speedups for critical applications
From the article 4 mentionsThese benefits are consistent across different hardware platforms, including Jetson AGX Thor and DGX Spark, demonstrating broad applicability for latency-first AI serving.

Current LLM serving systems optimize for high throughput via paged or radix KV caches, effectively managing only a single fragment of execution state. This approach falls short for the demanding low-latency, small-batch, on-device physical-AI serving scenarios where interactive agents, speech systems, and robotic policies require frequent branching, resetting, and re-entry under strict responsiveness budgets. The arXiv preprint introduces a novel solution targeting this opposite regime.

Execution-State Capsules: A Granular Checkpoint for Dynamic AI

The core innovation lies in execution-state capsules, a graph-bound checkpoint and restore mechanism designed to capture the complete restorable state at committed boundaries. Unlike previous methods focused on token-level KV cache fragments, this approach treats the entire execution context as a unified, restorable unit. FlashRT, the runtime implementing this, operates as a white-box kernel runtime. Its NVIDIA CUDA backend executes captured graph plans over static buffers, eliminating indirection and enabling efficient state management. The live state is a closed set of named buffers, allowing a capsule to snapshot, restore, fork, or roll back the entire execution boundary, encompassing KV cache, recurrent state, convolution state, MTP state, and metadata. This fundamentally shifts reuse from token-addressed fragments to these comprehensive graph-bound execution-state boundaries.

Sub-Millisecond Restore Drives Latency-First Serving

The performance implications of execution-state capsules are significant. On an RTX 5090, capsule restore is byte-exact at the stored-state level and token-identical under greedy decode. Crucially, ablation studies show that recurrent state is load-bearing, highlighting the necessity of managing more than just the KV cache. GPU-resident snapshot and restore operations are achieved in sub-millisecond times. This translates to dramatic improvements in Time-To-First-Token (TTFT) speedup over cold prefill, growing from 3.9x at 2k tokens to an impressive 27x at 16k tokens. These benefits are consistent across different hardware platforms, including Jetson AGX Thor and DGX Spark, demonstrating broad applicability for latency-first AI serving. The researchers emphasize that execution-state capsules are not a replacement for high-throughput KV-cache systems but rather define a complementary serving point optimized for explicit execution-state reuse.

© 2026 StartupHub.ai. All rights reserved. Do not enter, scrape, copy, reproduce, or republish this article in whole or in part. Use as input to AI training, fine-tuning, retrieval-augmented generation, or any machine-learning system is prohibited without written license. Substantially-similar derivative works will be pursued to the fullest extent of applicable copyright, database, and computer-misuse laws. See our terms.