qmetrics.net

ExecuTorch

PyTorch on-device inference stack for edge and mobile

ExecuTorch screenshot

ExecuTorch exports PyTorch models with torch.export, lowers them to hardware backends, and runs .pte programs on phones, desktops, and embedded targets.

Overview

ExecuTorch is PyTorch’s open stack for running trained models on device across phones, wearables, laptops, browsers, embedded boards, and microcontrollers. You capture a model with torch.export, apply backend-specific lowering and optimization, serialize a .pte artifact, and execute it through C++, Python, Java, Kotlin, Swift, Objective-C, or WebAssembly APIs.

Hardware delegates partition graphs onto CPU, GPU, NPU, or DSP backends while retaining portable CPU kernels elsewhere. Selective builds link only operators a deployment needs. Tooling such as ETDump, ETRecord, and numeric debug aids help trace accuracy and performance issues back to the original program.

The runtime targets voice, multimodal, and vision workloads with higher-level LLM and multimodal runners on mobile platforms. Meta products reportedly use ExecuTorch at scale; partners contribute backend integrations for Core ML, Qualcomm, XNNPACK, Vulkan, and many other accelerators.

Python packages install from PyPI for common desktop architectures, with nightly builds and optional backend extras. Platform guides cover Android, iOS, embedded Ethos-U tooling, and browser playground demos that run models locally via WebGPU.

Key features

  • torch.export to .pte deployment
  • Hardware backend partitioners
  • Selective operator runtime builds
  • C++ and mobile language APIs
  • LLM and multimodal runner helpers
  • Profiling and numeric debug tooling
  • Multiple accelerator backends
  • WebAssembly browser execution

Use cases

  • On-device LLM chat features
  • Mobile speech recognition
  • Offline vision on smartphones
  • Embedded microcontroller inference
  • Privacy-preserving local AI

Tags

Similar software

TensorFlow

End-to-end machine learning platform and tooling ecosystem

TensorFlow is a machine learning platform with Python and C++ APIs, optional GPU packages, and companion libraries for data, training, deployment, and visualization.

★ 201.8k⟳ todayApache-2.0

Transformers

Shared model definitions for multimodal ML workloads

Transformers is a Python library that defines pretrained text, vision, audio, and multimodal models once in PyTorch for shared inference and training across the ecosystem.

★ 169.4k⟳ todayApache-2.0

RAGFlow

Open-source RAG engine and agent context platform

RAGFlow ingests heterogeneous documents, builds retrievable knowledge, and supports agent workflows with citations. It can run on your own hardware with Docker or a from-source server stack.

★ 94.8k⟳ todayApache-2.0

Headroom

Local LLM context compression library and proxy

Headroom shrinks tool outputs, logs, JSON, and chat history before LLM calls to cut input tokens while preserving retrievable originals. It offers a Python library, proxy, MCP tools, and agent wrappers.

★ 81k⟳ yesterdayApache-2.0

Unsloth

Local desktop workspace to run and fine-tune AI models

Unsloth is a desktop application to chat with, fine-tune, and serve LLMs, diffusion, audio, and embedding models on your own hardware with optional agent integrations.

★ 80.4k⟳ todayApache-2.0

Models

TensorFlow reference models and modeling utilities collection

The TensorFlow Model Garden hosts implementations of models and modeling solutions for TensorFlow, installable via pip as tf-models-official.

★ 77.6k⟳ 11 days agoApache-2.0