ZICQ
中 Log in / Sign up
Newsroom Official Compute & Architecture #Runway #Runway Characters #Video Diffusion #Inference Optimization #H100

Runway Optimizes 57B Video Diffusion Inference for 24 fps on Four H100s

Avatar of Mr.Xu

By Mr.Xu Compiled & Reviewed by Editorial

Published:

中文阅读 (Chinese) English Version
Co-reading Select any sentence in the article to highlight, annotate, or copy a quote card. Join discussion ↓

Summary:Runway has documented the serving system behind Runway Characters, a roughly 57B-parameter autoregressive video diffusion transformer that must generate a four-frame 704×1088 chunk every 166.7 milliseconds to sustain 24 fps for a single interactive stream. The work shifts RoPE and FP8 quantization to cache-write time, uses a ring buffer to avoid window-copy overhead, and fuses tensor-parallel All-Reduce into the FP8 GEMM. Together, these changes reduce the diffusion step from 240.9 milliseconds


How Runway Keeps a 57B Video Diffusion Model on a Conversation Deadline

Runway has published the serving details behind Runway Characters in Runway Characters: Serving a 57B Video Diffusion Transformer for Real-Time Conversation. The central problem is not model training but production inference: how can a roughly 57B-parameter autoregressive video diffusion transformer sustain a 24 fps interactive stream for one user, without batching requests across private sessions?

Real-time is a deadline problem, not an average-throughput problem

At 704×1088 resolution, the system must deliver a new four-frame chunk every 166.7 milliseconds. Falling behind is not merely a quality issue. The player keeps only a small reserve of chunks, and because each frame carries its slice of audio, a late chunk can freeze the face and stall the voice simultaneously. The video model also shares its loop with a voice agent, so every additional millisecond becomes user-visible response latency.

The workload requires approximately 2.24 PFLOP/s of useful computation, more than the dense FP8 peak of a single H100. Matrix multiplications already run at roughly two-thirds of that peak, and adding a second session to the batch would nearly double the step time. Runway therefore had to optimize the critical path of an individual step rather than amortize work across users.

The main bottleneck was cache lifecycle management

The original diffusion step took 239.2 milliseconds. Each step contains four passes through a 60-block transformer, resulting in 240 attention calls. Every call read a cache of 5,788 slots even though only 757 were new. The original implementation repeatedly reprocessed nearly unchanged state: it reapplied rotary position embeddings, requantized the cache to FP8, and shifted the sliding window by copying it.

This maintenance consumed 69.7 milliseconds, or about 29% of the step, while attention itself accounted for only about 6%. The lesson is that a theoretically efficient attention kernel may remain hidden behind avoidable cache bookkeeping. If every attention invocation re-encodes the full history, reducing attention arithmetic alone cannot deliver the required improvement.

Transform once at write time

Runway moved RoPE application and FP8 quantization to the point where each new frame enters the cache. Per-head quantization scales are calibrated once per session, and the read path no longer has to transform every historical key again.

The sliding window was also changed from a copied buffer to a ring buffer. A new frame overwrites the oldest slot, allowing the pointer to advance without copying the full window. Cache maintenance fell from 69.7 milliseconds to 6.2 milliseconds per step, saving approximately 63.5 milliseconds.

The ring introduces an important correctness condition: physical slot order no longer matches temporal order. Applying positions by slot index would silently assign incorrect RoPE positions after the ring wraps. Runway therefore encodes positions at write time and adds a test that rejects the invalid combination of ring-buffer storage and the legacy slot-order position assignment.

Absolute positions reset every 42 steps. Instead of rotating every cached key again, Runway applies one delta rotation to the cached window during the reset. This makes one step in every 42 take 263 milliseconds, but the playback buffer absorbs the periodic spike rather than paying the full rotation cost on every step.

Folding communication into computation

After the cache work was reduced, tensor-parallel All-Reduce became the next largest controllable cost. A reduction follows every transformer block, so a diffusion step still performs 240 All-Reduces. Replacing the collective library with a faster implementation saved only about 0.4 milliseconds because the reduction could not begin until the entire matrix multiplication had completed.

Runway extended a fused GEMM-and-All-Reduce kernel from ParallelKittens to FP8 and to odd GPU counts. Each output tile is reduced through the NVLink switch as soon as its partial results arrive, while later tiles continue computing. At the production shape, the fused call takes 153.8 microseconds versus 208.2 microseconds without fusion, hiding 54% to 68% of the reduction time.

Across 240 calls, the unfused collective accounts for roughly 50.0 milliseconds of a diffusion step, compared with about 36.9 milliseconds after fusion—a theoretical saving of approximately 13.1 milliseconds. This is consistent with the observed reduction from 159.3 milliseconds to 147.4 milliseconds. Overall, the step time fell from 240.9 milliseconds to 147.4 milliseconds, a 1.63× improvement. Even without the fused collective, the cache and pipeline work had already reduced the step to 159.3 milliseconds.

Isolating the decoder from the denoising path

The decoder that converts latents into video frames takes 114 milliseconds per step. If it shares a diffusion GPU, that work is added to the critical path because the tensor-parallel group waits for its slowest member. Runway also observed a power-related failure mode on B200 systems: a GPU shared by decoding and diffusion reached its 1,000-watt cap and slowed diffusion kernels by 18% to 26%.

A dedicated decoder GPU allows the system to decode chunk i−1 while chunk i is being denoised and chunk i−2 is being played. The resulting step period exceeds the pure diffusion time by only 1.6 milliseconds. This design trades additional GPU capacity and memory for predictable tail latency, while also avoiding power contention between two demanding stages.

Why pixel comparisons stopped being useful

The FP8 cache, fused pre-attention kernels, and fused All-Reduce all alter numerical paths. Conventional diffusion models often absorb small numerical differences during denoising. A long-running autoregressive model does not: even GPU nondeterminism can send later frames down a different trajectory. After roughly 10 seconds, the PSNR difference between two executions of the same configuration can be as large as the difference between separate configurations.

Runway therefore evaluated the task rather than pixel similarity. The evaluation was built from 50 synthetic reference images spanning photorealistic, cartoon, claymation, fantasy, and non-human styles. The body of the article describes a 53-clip generated evaluation set, while the key findings refer to 51 scored clips; the material does not explain whether two clips were excluded. Across the scored samples, the mean lip-synchronization difference between configurations was at most 0.03, on the same order as run-to-run variation. Four additional 10-minute sessions showed the same pattern.

Production telemetry provides a stronger systems signal. Across seven weeks, 99.5% of sessions that streamed for at least one second averaged above 23.5 fps. After a rollback and a subsequent fix, only 0.08% of sessions ran the fused kernel at 23.5 fps or below. The disclosure does not include P95 or P99 latency, cold-start behavior, cost per generated minute, network-failure recovery, or independent user studies.

The engineering trade-offs remain significant

  • Latency versus throughput: Characters prioritizes a private, low-latency session and gives up cross-user batching. A multi-user service would need spatial multiplexing or instance isolation, while four-GPU-class sessions sharply limit the number of streams per accelerator.
  • FP8 introduces numerical risk: Quantization lowers cache and matrix-computation costs, but it also changes generation trajectories. Task-level evaluation is a reasonable response, although outsiders still cannot reproduce the complete model and data distribution.
  • Ring caches require position invariants: Pointer wraparound, position resets, slot overwrites, and exceptional frames can interact to produce silent corruption. Unit tests, trajectory replay, and production anomaly detection are essential.
  • A dedicated decoder trades money for tail latency: It avoids power throttling and pipeline stalls, but adds hardware, memory, and scheduling overhead. Runway says the session moved from eight H100s at launch to a four-H100 real-time path while also describing the decoder as occupying its own GPU, so the exact bill of materials should be verified against the paper's topology.
  • Production telemetry is valuable but not reproducible: Seven weeks of operational data is more informative than a short benchmark, but it does not substitute for open code, open weights, and independent hardware measurements.

A deployment playbook for engineers

  1. Define a hard deadline first: specify the per-step budget, playback-buffer depth, acceptable periodic slow step, and audio-synchronization tolerance rather than relying on average throughput.
  2. Profile cache maintenance as well as attention: count repeated RoPE application, requantization, and window copying before deciding whether write-time transforms and a ring buffer are warranted.
  3. Establish position invariants: test ring wraparound, absolute-position resets, dropped or inserted frames, and nondeterministic execution so that silent temporal misalignment is caught.
  4. Evaluate communication overlap at tile granularity: test fused FP8 All-Reduce and topology-aware mappings, and verify that the kernel truly hides communication instead of relocating the wait.
  5. Isolate decoding when necessary: if a shared GPU reaches its power cap or makes the critical path wait for the slowest device, use a dedicated decoder and a bounded pipeline.
  6. Validate numerical rewrites with task metrics: for autoregressive video, compare repeated-run variance, lip synchronization, identity consistency, and motion stability rather than treating a PSNR drop as automatic quality degradation.
  7. Preserve buffers and rollback paths: playback buffering, shadow traffic, canary releases, and fast kernel rollback can contain periodic position-reset spikes, driver differences, and collective regressions.

Source: Runway News & Research (2026-11-05)

— END —

Tags: #Runway #Runway Characters #Video Diffusion #Inference Optimization #H100

Editorial & Fact-Checking Note: This article is compiled from primary research, official release documentation, and source papers by the ZICQ Newsroom pipeline with automated entity verification and human editorial review. If you notice any technical inaccuracy, please submit a correction via our corrections policy or email our editorial desk directly.

What's your take on this story?
Explore & Submit Works

Community Comments

Loading live comments and annotations…