FlashRT-PAI: Fast Kernels Are Not Fast Pipelines for Physical AI
Abstract
Vision-language-action (VLA), video-action (VA), and world action models (WAMs) form the backbone of modern physical AI systems, yet their real-time single-batch inference remains a defining bottleneck. Latency is dominated not by individual kernel computation, but by system-level overhead: thousands of short kernel launches, intermediate data movement across operator boundaries, and redundant recomputation across consecutive decisions. General-purpose graph compilers cannot address these costs, as they optimize individual calls in isolation and lack visibility into cross-call state semantics and global pipeline structure. We present FLASHRT-PAI, a low-latency inference engine built around model-hardware pipeline co-design rather than isolated kernel optimization. FLASHRT-PAI combines three core mechanisms: deep kernel fusion with launch overlap eliminates inter-operator boundaries and launch gaps; an execution contract formalizes the pipeline's stage DAG, update rates, and named buffers to enable cross-decision state reuse and selective refresh; and execution-state capsules enable fast snapshot, restore, and fork of persistent pipeline state. The system also supports drop-in acceleration of unmodified PyTorch models via parity- and latency-gated kernel replacement. Evaluation covers six policies on RTX 5090 and four on Jetson AGX Thor. At matched 16-bit precision, FLASHRT-PAI is 1.3-3.7x faster than official compiled paths. Combining pipeline co-design with reduced precision delivers 3.38-12.66x speedup over official eager implementations. In LIBERO-10, four-bit pi0.5 achieves 94.04% success on Thor and 93.32% on RTX 5090, compared with 92.4% for the measured official FP16 reference. FLASHRT-PAI is open source, distributed via Hugging Face Kernel Hub, and its opt-in pi0.5 kernels have been adopted into the LeRobot framework.
Create a lesson
Metadata
- Comments
- source code https://github.com/flashrt-project/FlashRT
Related papers
ESM-Bench: A Benchmark for Evaluating Whether AI Agents Understand Earth System Model Physics and Code
Shared title terminologycs.AIKoutian Wu, Yuxuan Cao, Gengchen Mai et al.
torchtsetlin: Fast, Interpretable Tsetlin Machines for PyTorch
Shared title terminologycs.AIVajira Thambawita, Pål Halvorsen, Ole-Christoffer Granmo
Efficient Natural Language to Temporal Logic Translation for Real-Time Physical AI
Shared title terminologycs.AIOliver Schön, Adrien Banse, John Lygeros et al.
Where Structure Enters a World Model: From Predictive Fit to Physical Rollout
Shared title terminologycs.AIPanayiotis Christou, Satyapragnya Kar, Flavjo Xhelollari et al.
MAPES: Multi-Value Alignment Pipeline via Expert Specialization
Shared title terminologycs.AISungHo Kim, SangKeun Lee
CoRS: Fast Neural Flexible Job-Shop Scheduling via Composite Interval State Reuse
Shared title terminologycs.AISutong Jiang, Peng Zhao, Xuan Wu et al.