ArXiv

FlashRT: Agent Harness for Guiding Agents to Deploy Real-Time Multimodal Applications

Authors
Krish Agarwal, Zhuoming Chen, Yanyuan Qin...
Categories
cs.LG
arXiv
https://arxiv.org/abs/2607.18171v1
PDF
https://arxiv.org/pdf/2607.18171v1

Brief

FlashRT is an agent harness for optimizing real-time multimodal applications by guiding coding agents through IR extraction, sequential interpretation, static analysis, and iterative measurement-gated transformations to select placement, streaming, and parallelism strategies. The system converts reference implementations into highly efficient multi-GPU deployments (up to ~70x latency reduction, 2.8x throughput on NVIDIA B200; 3.6x peak throughput on AMD MI355X, 65% latency cut on Qwen3-Omni). Only the paper abstract was provided here.

Why it matters

FlashRT is an agent harness that transforms simple developer reference implementations into optimized multi‑GPU deployments via a chain-of-program, multi-pass workflow (IR extraction, sequential interpreter, static analyses, measurement-gated optimization), achieving up to ~70x latency reduction and 2.8x throughput improvement on NVIDIA B200 GPUs.

Key details

  • On AMD MI355X GPUs FlashRT matches the ~70x peak latency reduction and raises peak throughput improvement to 3.6x; for Qwen3-Omni text-to-audio inference it cuts response latency by 65% versus the expert vLLM-Omni implementation on MI355X.
Source evidence

Abstract

Real-time multimodal applications, including voice agents and interactive video generation, compose heterogeneous models into pipelines whose efficient deployment requires application-specific decisions about placement, streaming, and intra-model parallelism. Existing serving systems and auto-parallelism compilers commit to limited transformations and fixed workload assumptions, so achieving high performance on a new application requires hand-crafting an efficient implementation. We present FlashRT, an agent harness that guides coding agents to lift simple developer-written reference implementations into optimized multi-GPU deployments that flexibly weigh target metrics like latency and throughput. Using a new chain-of-program paradigm, FlashRT directs a generic coding agent through a multi-pass transformation process where an agent transforms the reference into an intermediate representation (IR) to capture data dependencies and persistent-state scopes, validates this IR via a sequential interpreter, and performs static analyses to identify candidate transformations. Then, the agent iteratively implements, verifies, and benchmarks each candidate under a measurement-gated optimization loop to produce effective deployments that span different hardware budgets. Across various applications, including video world models and multimodal LLMs, FlashRT converts reference implementations into highly efficient deployments, delivering up to ~70x latency reduction and 2.8x throughput improvement on NVIDIA B200 GPUs. On AMD MI355X GPUs, FlashRT matches the peak latency reduction while increasing peak throughput improvement to 3.6x, demonstrating that agent-driven optimization can be more scalable on platforms with less mature expert optimization. In fact, for Qwen3-Omni text-to-audio inference, FlashRT reduces response latency by 65% compared to the expert vLLM-Omni implementation on AMD MI355X.