ExecuTorch

PyTorch runtime that deploys LLMs and multimodal models on mobile and embedded hardware.

Open SourceSelf HostedOffline Capable
0.0 (0)

About

On-device inference for PyTorch models is ExecuTorch's whole job: it exports a model straight from PyTorch, compiles it ahead of time, and runs it on phones, wearables, and embedded boards through a runtime with a base footprint of about 50 KB. There is no intermediate format conversion; the same exported graph flows to one of a dozen hardware backends including XNNPACK for CPU, Core ML, Vulkan, Qualcomm QNN, MediaTek, Samsung Exynos, ARM Ethos-U, OpenVINO, NXP, and Cadence DSP, with experimental CUDA and Metal paths, quantization handled through torchao, and memory planning plus selective builds keeping binaries small. Installation is pip install executorch for the Python authoring side, with C++ and mobile SDKs for deployment. Meta runs it in production across Instagram, WhatsApp, Quest 3, and Ray-Ban Meta smart glasses, making it one of the most widely deployed edge inference runtimes anywhere. The code is BSD-3-Clause licensed under the PyTorch organization, with documentation at docs.pytorch.org/executorch.

Should you use ExecuTorch?

Pick it when

Pick ExecuTorch when your team already trains in PyTorch and must ship models inside iOS, Android, wearable, or embedded apps, targeting NPUs and DSPs from Qualcomm, MediaTek, or Core ML from one exported graph.

Look elsewhere when

Skip it if you need a server or desktop LLM host; it is an embedded runtime, not an API server. MLC LLM also reaches browsers with an OpenAI-style API, and non-PyTorch models fit OpenVINO or ONNX Runtime better.

Alternatives to ExecuTorch

  • MLC LLM

    LLM-focused compiler for phones, GPUs, and browsers with an OpenAI-style API ready, but it targets GPUs and lacks ExecuTorch's vendor NPU backends.

  • OpenVINO

    Ingests models from many frameworks beyond PyTorch, but is centered on Intel CPUs, GPUs, and NPUs rather than phone chipsets.

  • ONNX Runtime

    Framework-neutral runtime with wide language bindings, at the cost of an ONNX export step and a larger runtime than ExecuTorch's small core.

Reviews (0)

Leave a Review

No reviews yet. Be the first to review!

Details

Price
Free
Platform
Local/Desktop
Difficulty
Intermediate (3/5)
License
BSD-3-Clause
Added
Jul 29, 2026

Tags