Skip to main content
Search

# ExecuTorch WebGPU backend

1 related articles

Subscribe to updates
  1. PyTorch

    PyTorch models now run on the browser GPU without format conversion: one .pte file, 2–10× faster decode than the CPU path

    ExecuTorch adds a WebGPU backend that lets PyTorch models exported once with torch.export to a .pte file run on the GPU directly in WebGPU-enabled browsers, without first converting to another framework's format such as GGUF, ONNX or TFLite. Previously, running a PyTorch model in the browser usually meant doing that conversion first. On Chrome on an Apple M1 Pro, 4-bit quantized Llama 3.2 1B and Qwen3-0.6B ran 4–7× faster on prefill and 2–10× faster on decode than ExecuTorch's own Wasm CPU backend (XNNPACK).

You’re all caught up