基础设施 4.0 · 优秀 2026-11-03 · 论文

Runway Characters: Serving a 57B Video Diffusion Transformer for Real-Time Conversation

Runway Characters 实时对话视频系统生产拆解:~57B 自回归视频扩散 transformer 在 4 张 H100 上以 704x1088@24fps 服务每 chunk 240 次注意力调用都在重复读 5,788 槽 KV cache(新 token 仅 757)优化:缓存工作移到写时(环形缓存RoPE 与 FP8 每写一次)all-reduce 融进 FP8 GEMM解码器独占 GPU无融合核 240.9159.3ms(1.51x),融合后 147.4ms(1.63x);七周生产 99.5% 会话 >23.5fps基准中的开源实时视频系统在 1/3-1/2 分辨率下仍达不到实时

打开原文回到归档

Runway Characters: Serving a 57B Video Diffusion Transformer for Real-Time Conversation

  • ID: 8e6ba391
  • 来源: https://arxiv.org/abs/2611.05642
  • 作者: Rohan Agarwal, et al.
  • 发表: 2026-11-03 - arXiv 2611.05642 - cs.DC
  • 证据: opencli arxiv paper 2611.05642 -f json 元数据与摘要(2026-11-09 抓取)

Abstract(原文)

Conversational video characters must generate video as fast as it plays, for one user at a time: at 24 fps, a sustained 166.7 ms per four-frame chunk at batch size one, with only a few chunks of buffering. We describe the system behind Runway Characters, which serves a $\approx$57B-parameter autoregressive video diffusion transformer (four denoising passes per chunk) at 704$\times$1088 and 24 fps on four H100 GPUs with a voice agent in the loop. Each chunk takes 240 attention calls, each reading a 5,788-slot KV cache in which only 757 tokens are new, and 29% of the original step was whole-cache work repeated in every call. We move that work to write time (a ring cache, RoPE and FP8 quantization applied once per write, and a delta rotation when positions reset), fuse the tensor-parallel all-reduce into the FP8 GEMM with in-switch reduction, and give the decoder that turns latents into video frames its own GPU. Without the fused kernel, our optimizations cut the diffusion step from 240.9 to 159.3 ms (1.51$\times$, 24.5 fps sustained) with no detected degradation in lip-sync scores; the fused kernel, rolled back once in production and since re-enabled, reaches 147.4 ms (1.63$\times$, 43% of FP8 peak). In seven weeks of production the worker averaged above 23.5 fps in 99.5% of sessions that streamed for at least a second, and our pipeline takes 0.49 s of a 2.1 s median conversational turn. On the same GPUs, the two open-source real-time video systems we benchmarked, at four denoising passes, miss real time or add over a second of latency (one by estimate), at a third to half of our resolution.

中文要点

Runway Characters 实时对话视频系统生产拆解:~57B 自回归视频扩散 transformer 在 4 张 H100 上以 704x1088@24fps 服务。每 chunk 240 次注意力调用都在重复读 5,788 槽 KV cache(新 token 仅 757)。优化:缓存工作移到写时(环形缓存、RoPE 与 FP8 每写一次)、all-reduce 融进 FP8 GEMM、解码器独占 GPU。无融合核 240.9→159.3ms(1.51x),融合后 147.4ms(1.63x);七周生产 99.5% 会话 >23.5fps。基准中的开源实时视频系统在 1/3-1/2 分辨率下仍达不到实时。

Field Notes

  • 写时缓存+FP8 融合 GEMM+解码器独占 GPU 的组合拳,7 周生产数据背书而非实验室数字
  • 5788 槽 KV cache 中仅 757 个新 token 的读写比是视频扩散 serving 的典型浪费形态