ExecuTorch's New WebGPU Backend Runs Whisper and Vision Models In-Browser, 4-10x Faster

shoumikgoswami · reddit · 2026-11-11

PyTorch's new ExecuTorch WebGPU backend runs more than chat in the browser: validated models include Whisper (speech-to-text), SmolVLM (image QA), segmentation and object detection — local input processing without shipping recordings or images to a server.

Deployment: export to an ExecuTorch .pte file → serve with a web page → run via WebAssembly + WebGPU. The same artifact also runs natively on Metal, Vulkan and D3D12.

Performance: vs its own multithreaded WASM/XNNPACK CPU path, 4-7x faster prefill and 2-10x faster decode (Chrome on Apple M1 Pro, quantized Llama 3.2 1B and Qwen3-0.6B; caveat: fp32 on WebGPU vs dynamic 8-bit on CPU, and no comparison against cloud models).

The author's take: moving an assistant's speech/vision input processing onto the user's device may matter more than squeezing in another small chat model. The backend is still early.

Related event: PyTorch ExecuTorch Launches WebGPU Backend for In-Browser Models(4 posts)→

Original post →

More from Infra

Infra channel →