At 60 frames per second, a video player owes the viewer a new picture every 16.7 milliseconds. At Google’s 2025 Web AI Summit, Twitch engineer James Hurley described using a convolutional neural network on the viewer’s GPU to upscale video to 1080p or 1440p at that pace. Several frames can be in flight at once. What the viewer sees is whether the next one is ready when the display needs it.
Two talks from Google’s 2026 Web AI Summit pick up where Twitch’s example leaves off. A model can finish on time and the player can still miss a frame. ONNX Runtime Web and LiteRT.js show where those milliseconds go as an app issues GPU commands and passes the result to its renderer.
Record the work that repeats
Two frames can show completely different scenes and still ask the GPU to do the same sequence of operations. Devang Patel explains how ONNX Runtime Web can record that sequence once and replay it for later inferences. The pixels change with each frame. The runtime saves some of the work of telling the GPU what to do with them.
ONNX Runtime’s graph capture requires fixed tensor shapes and a model whose compute kernels all run on WebGPU. A fixed-resolution video filter is a good place to look for that pattern. Graph capture at 3:41 · ONNX Runtime’s requirements
Keep the pixels on the GPU
Suppose a model produces a mask that the next rendering pass will paint over a frame. If the app reads the mask into JavaScript and then uploads it again, the same data crosses the CPU–GPU boundary twice. The renderer could have used the mask where it already was.
In their LiteRT.js talk, Chintan Parikh and Ping Yu show how adjacent stages can share accelerator buffers. If you are debugging a slow filter, put a timer around the handoff between the model and the renderer as well as around the model itself. Zero-copy pipelines at 6:00 · Google’s tensor buffer example
A sharper frame still has to arrive on time
Imagine a Twitch stream following a footballer across the pitch. In a paused frame, upscaling might make the number on the shirt easier to read. During the pan, the video player has to deliver that detail sixty times a second. A command it can reuse and a buffer it can leave on the GPU each buy a little time before the next refresh. For the person watching, that can mean reading the number without ever pausing the play.

