Feed 0% source
AI/ML AI-generated

TurboServe: Serving Streaming Video Generation Efficiently and Economically

Generated by a local model (nvidia/Gemma-4-26B-A4B-NVFP4) from a scientific paper, claim-checked against the full text. Provenance is open by design.

Generating video in real-time is difficult. Users stay connected for long periods. Demand also fluctuates unpredictably. Traditional video generation models typically operate in an "offline" fashion. A user submits a prompt and waits several seconds or minutes. They wait for a complete file to return.

However, a new wave of streaming video generation is shifting this paradigm. It moves toward interactive, progressive synthesis. Video is produced chunk by chunk. This allows users to watch it as it is being created.

This shift introduces a complex infrastructure challenge. Because these sessions are long-lived, the system must preserve the "state." State is the mathematical context and cached data required for continuity. This must persist even when a user becomes momentarily idle. Current serving systems are largely optimized for stateless Large Language Model (LLM) requests. They struggle with this requirement. They often treat each request as an isolated, short-lived task. They fail to account for the persistent nature of a streaming session.

A new study from researchers at Shanghai Jiao Tong University, Tsinghua University, and Shengshu Technology introduces TURBOSERVE. This system is designed to manage the tension between long-lived sessions and volatile demand.

The mismatch of stateless serving

Existing video generation pipelines are mostly optimized for "stateless" jobs. In a stateless model, each request is a fresh start. All resources are released once the job is done. But streaming video generation is fundamentally "stateful." As shown in, a streaming session is a persistent entity. It alternates between active generation and idle periods.

This persistence creates two specific headaches for cluster managers. First, there is "session duration heterogeneity." Some users might generate a five-second clip. Others might engage in a twenty-minute interactive session [, Left].

Figure 2
Figure 1 Stateless isolated generation jobs ( top ) compared with stateful streaming generation sessions ( bottom ) in multi-user scenarios. In stateless generation, each user request initializes temporary generation state, starts generation, and releases the state once the generation job completes. In stateful streaming generation, each user corresponds to a persistent session that alternates between active generation and idle periods; generation can be suspended and later resumed while preserving the session state across periods.

If a system treats all sessions as interchangeable, it makes poor placement decisions. This leads to "hot" GPUs (overloaded processors) while others sit idle.

Second, "temporal user-demand heterogeneity" occurs when active users spike or drop sharply [, Right]. Static provisioning allocates a fixed number of GPUs regardless of traffic. This forces a brutal choice. You can provision for peak demand and waste money during lulls. Or, you can provision for average demand and suffer high latency during bursts .

Figure 3
Figure 2 Example streaming generation workload characteristics from Shengshu Technology's production trace. Left: distribution of session durations. Right: number of active sessions over a 30-minute period.

A closed-loop approach to scheduling

The authors propose solving this as an online scheduling problem. They jointly manage two variables: session placement and GPU provisioning. TURBOSERVE uses a closed-loop architecture .

Figure 5
Figure 4 Case study on the impact of session and GPU management on latency and cost. Latency is the worst-case per-chunk latency; Cost is the total GPU operating cost. A1-3 represents Approach 1-3.

Runtime feedback on load and latency continuously tunes the system.

The system relies on two primary controllers working in tandem:

  1. The Placement Controller: This component performs "migration-aware min-max rebalancing." It looks for "bottleneck" GPUs (those with the highest per-chunk latency). It then moves active sessions away from them. To ensure this does not cause more harm than good, the authors use a "gain function." This function only permits a migration if the predicted latency reduction outweighs the cost of moving the session's state.

  2. The Autoscaling Controller: This component manages the total GPU budget. It uses "load-driven" logic to track target utilization (the percentage of a GPU's capacity being used). If the maximum load across the cluster exceeds a threshold, the system scales out by requesting more GPUs. If the load drops, it scales in.

To make these moves possible without stalling the video, TURBOSERVE implements several optimizations. It uses "coalesced chunk processing" to batch multiple active sessions on a single GPU. This maximizes throughput. It also supports "GPU-CPU offloading." This allows the system to move a session's state to host memory (the computer's main RAM) when a user is idle. This frees up expensive GPU memory for active users. When a user returns, the state moves back to a GPU to resume generation.

Efficiency gains in production

The researchers evaluated TURBOSERVE using real-world production traces from Shengshu Technology. They tested it on clusters with up to 64 NVIDIA B300 GPUs. The results suggest that coordinating these two controllers is highly effective.

The paper reports that TURBOSERVE reduces worst-case per-chunk latency by 37.5% on average compared to baseline configurations. This is vital for the user experience. In a streaming context, a sudden spike in latency causes stuttering or frozen video frames. Simultaneously, the authors find that the system reduces total GPU operating costs by 37.2% on average.

As illustrated in, the benefits of the joint approach are clear.

Figure 4
Figure 3 Illustration of the observations. ( a ) Evolving session activity causes load imbalance across GPUs, where the most heavily loaded GPU determines the worst-case per-chunk latency. ( b ) During low-demand periods, a fixed GPU allocation leads to resource underutilization. ( c ) During high-demand periods, the same static allocation becomes overutilized, resulting in high per-chunk latency.

Simply migrating sessions (Approach 1) helps latency. Simply autoscaling (Approach 2) helps cost. Only the combined strategy (Approach 3) successfully optimizes both. Furthermore, the authors demonstrate that the migration process is lightweight. They report that the overhead for moving a session between GPUs is only 23 to 30 ms [Table 4]. This accounts for only about 2% to 3% of the total per-chunk generation latency.

Limits of the scheduling logic

While the performance metrics are strong, there are practical boundaries. The authors note that the scheduling algorithm could become a bottleneck in extremely large clusters. Currently, scheduling completes in under 15 ms for up to 64 GPUs [, Left]. For much larger environments, they suggest partitioning the cluster into smaller sub-groups.

Additionally, the effectiveness of the autoscaling controller relies on a "volatility-to-parameter mapping." The system uses historical data to decide how to react to changes. The authors show that this method stays within 6.1% of an "offline oracle" (a theoretical ideal with perfect future knowledge). However, it is still a reactive system. There is an inherent delay between observing rising activity and provisioning new GPUs.

Finally, the system's success depends on the "gain function" used during migration. This function balances latency reduction against migration cost ($\eta$). If these parameters are poorly tuned, the system could enter a cycle of "thrashing." This happens when the system spends more time moving sessions than generating video.

Verdict: Ready for the cluster

If you are building a commercial service for interactive, real-time generative video, TURBOSERVE is a relevant blueprint. The research moves beyond asking "how do we make a better model?" It tackles the reality of "how do we run this at scale?" By proving that session migration and autoscaling are necessary, the authors provide a path for reducing infrastructure overhead.

The system is intended for production-grade environments. This is evidenced by its use of real-world traces and its focus on the interplay between latency and cloud rental costs. Code is reportedly available at https://github.com/shengshu-ai/TurboServe. For practitioners, the takeaway is clear. For stateful workloads, the intelligence of your serving layer must be as dynamic as the users it serves.

Figures from the paper

Figure 6
Figure 5 TURBOSERVE system overview. TURBOSERVE processes streaming requests and session events through a closedloop scheduler that places and migrates sessions across GPU workers, adjusts GPU provisioning, and offloads suspended states to host memory. Runtime load, utilization, and latency feedback guide these decisions to balance serving latency and GPU cost.
Novelty
0.0/10
Impact
0.0/10
Overall
0.0/10
#ai#video_generation#systems#scheduling#autoscaling
How this was made
Generation

Model: nvidia/Gemma-4-26B-A4B-NVFP4
Persona: academic_accessible
Template: engineering_deepdive
Refinement: 0
Pipeline: forge-1.1

Verification

Evaluator: nvidia/Gemma-4-26B-A4B-NVFP4
Score: 94% (passed)
Claims verified: 17 / 17

Translation

Model: nvidia/Gemma-4-26B-A4B-NVFP4

Hardware & cost

NVIDIA GB10 · 128 GB unified · NVFP4 · 100% local · $0 cloud
Tokens: 126,739
Wall-time: 374.8s
Tokens/s: 338.2

Related
Next up

Causal-rCM: A Unified Recipe for High-Performance Autoregressive Video Diffus...

8.7/10· 5 min