XR Briefing: PyTorch Models Now Run On the Browser's GPU
PyTorch models now execute on the GPU inside a browser tab, and the figures published with the backend are specific enough to argue about: 4 to 7 times faster than ExecuTorch’s own WebAssembly CPU path on prefill, 2 to 10 times faster on decode, measured in Chrome on an Apple M1 Pro with Llama 3.2 1B and Qwen3-0.6B quantized to 4-bit. The benchmark runs 128 to 8K tokens of context, identical token IDs on both backends, median of five runs after three warmups. → PyTorch
The speedup is the headline. The artifact is the story.
One file, every graphics API
ExecuTorch exports a model with torch.export() to a .pte file, and that single file now runs through a WebGPU backend built on WGSL compute shaders. A WebGPUPartitioner splits the graph, the runtime allocates GPU buffers and dispatches shaders into command buffers, and for browsers the C++ runtime compiles to WebAssembly through Emscripten while emdawnwebgpu maps its WebGPU calls onto the page’s JavaScript API.
What makes that more than a browser trick is where else the .pte lands: natively on Metal, on Vulkan under Linux and Android, and on D3D12, with WGSL translated to MSL, SPIR-V or HLSL by the platform. Putting a PyTorch model in a browser used to mean converting to GGUF, ONNX or TFLite first, which is where research exports and shipped builds drift apart. It is the same fragmentation that keeps the Android XR stack from behaving like one platform across vendors. One file now spans the tab and the headset’s Vulkan driver.
The model list is the XR part
The post leads with chatbots, but scan the validated list: Depth Anything V2 for monocular depth, SAM 2.1 Hiera Tiny for promptable segmentation, D-FINE for object detection, Real-ESRGAN for super-resolution, MODNet for background removal, Whisper base for speech, Phonon-31M-EN for text to speech, plus LoRA and DiReFT fine-tuning on device.
Those are not chat models. They are the per-frame vision operators that mixed reality already runs on camera data: depth to guess geometry and occlusion, segmentation to find hands and objects, matting to cut a person out of a passthrough frame, upscaling to fill a panel the GPU cannot shade at native resolution. How passthrough works describes that as a stack of small models competing for one millisecond budget.
The mechanism matters for anyone who has written a compute pipeline. Dynamic shapes are handled with allocate-at-max buffers and per-dispatch workgroup recalculation, so batched prefill does not force a recompile, and each shape routes to a specialized WGSL kernel. It is the compute model that WebGPU versus WebGL covers, pointed at something other than splats.
The objection
The benchmark is one machine, and a desktop one. An M1 Pro is not an Adreno in a Quest 3. The CPU baseline is the weakest available, WebAssembly plus multithreaded XNNPACK, and the two sides are not quantized the same way: 4-bit groupwise weights with group size 64 and fp32 activations on the GPU, 4-bit weights with 8-bit dynamic activations on the CPU. Some of that 4 to 7 times is arithmetic format, not backend quality.
Then the memory. Allocate-at-max is a worst-case reservation, which is precisely the constraint that decides what fits on a standalone headset, as the framebuffer budget breakdown shows. The PyTorch team also calls the backend early development, with operator and dtype coverage still expanding. Single-frame depth works today. Temporal stability across frames, the thing that makes depth usable in a moving headset, is a different operator set and is not on the validated list.
What changes
Distribution, mostly. A model demo is now a URL with a .pte behind it, which lowers the cost of showing a vision model to people who will never install a build. For XR developers it means prototyping against your own camera frames in the browser, then shipping the same export to the Vulkan path on device.
The thing worth watching is not the M1 numbers. It is per-frame latency on phone-class GPUs, where a 30 ms depth pass is already most of a frame at 72 Hz.
Also worth knowing
- Apple told a visionOS developer session that it remains committed to the platform, while a Ming-Chi Kuo report places a Vision Pro successor in late 2028 or 2029, after smart glasses. → Road to VR
- Xbox says Project Helix will use neural rendering and is a console that plays PC games rather than a PC that plays console games, with no price, design or confirmed date. → 80 Level
- Beat Saber shipped OST 9 with seven new free tracks on Quest and SteamVR. → Road to VR
How this was reported: this briefing summarises reporting published by the sources linked throughout. Figures, quotes and claims belong to those outlets and are attributed at the point of use; the analysis and framing are ExplorXR's. Editorial standards.
Background reading
The explainers behind today's stories, if you want the fundamentals first.
August 2026: The Roadmap Slipped, the Tools Got Cheaper
Apple cut Vision Pro staff, Pico pushed its flagship to Q4, Schell laid off for the first time in 24 years. The month XR's constraint became cost, not capability.
XR's Next Platform War Is Over the 3D Compositor
OpenXR standardized spatial windows, Meta caps apps at two slots, and Pico moved rendering into the OS core. The compositor is XR's next platform.
Gaussian Splatting, Three Years In: What Shipped, What Still Breaks
Khronos put splats inside glTF, SPZ 4 cut encode times again, and Quest 3 measurements show where the frame budget goes. A state of play for splats in XR.
Related reading
XR Briefing: One Renderer, Four Targets, No Install
BenchUp ships a Rust and wgpu 3D modeler to Windows, macOS, Linux and a browser tab through WebAssembly and WebGPU, and XR authoring should copy the stack.
XR Briefing: 10M Splats at 9.2 ms in a Browser Tab
Radix sorts 10 million Gaussians on the GPU at 9.2 ms per frame in a browser, plus VRChat refusing an AI label and Ultrawings rebuilt for Quest 3.
XR Daily: Meta's Glasses Heard What They Shouldn't
Ray-Ban Meta recorded speech without the wake word, photos became splats inside a browser, Steam's Linux client went 64-bit, and a Godot sky got rebuilt.