executorch  by pytorch

On-device AI framework for PyTorch inference and training

created 3 years ago
3,090 stars

Top 15.8% on sourcepulse

GitHubView on GitHub
Project Summary

ExecuTorch is an end-to-end framework for on-device AI inference and training, targeting mobile, embedded, and microcontroller platforms. It enables developers to leverage PyTorch models across diverse hardware, from smartphones to resource-constrained systems, powering Meta's on-device AI features.

How It Works

ExecuTorch provides a unified toolchain for model authoring, conversion, debugging, and deployment. It achieves portability by supporting a wide range of operating systems and hardware accelerators (CPU, NPU, DSP) through integrations like Vulkan and XNNPACK. The lightweight runtime is designed for high performance and efficient utilization of device capabilities.

Quick Start & Requirements

  • Install/Run: Refer to the Step by Step Tutorial or use the provided Colab Notebook.
  • Prerequisites: Platform support includes iOS, Mac, Android, Linux, and microcontrollers. Hardware acceleration is available for Apple, Arm, Cadence, MediaTek, OpenVINO, Qualcomm, Vulkan, and XNNPACK.
  • LLM Examples: Specific instructions are available for Llama, Qwen 3, Phi-4-mini, and Llava.

Highlighted Details

  • Powers on-device AI across Meta's products (Facebook, Instagram, Meta Quest, etc.).
  • Supports diverse AI models: LLMs, Computer Vision, ASR, TTS.
  • Extensive platform and hardware acceleration support.
  • Unified PyTorch toolchain for simplified development.

Maintenance & Community

Licensing & Compatibility

  • BSD licensed.
  • Compatible with commercial and closed-source applications.

Limitations & Caveats

The framework is actively developed, and while it supports a broad range of platforms, specific hardware integrations or model optimizations may still be evolving. Users should consult the documentation for the latest compatibility and performance details.

Health Check
Last commit

17 hours ago

Responsiveness

1 day

Pull Requests (30d)
713
Issues (30d)
177
Star History
318 stars in the last 90 days

Explore Similar Projects

Starred by Anton Bukov Anton Bukov(Cofounder of 1inch Network), Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), and
9 more.

exo by exo-explore

0.3%
29k
AI cluster for running models on diverse devices
created 1 year ago
updated 4 months ago
Starred by George Hotz George Hotz(Author of tinygrad; Founder of the tiny corp, comma.ai), Anton Bukov Anton Bukov(Cofounder of 1inch Network), and
16 more.

tinygrad by tinygrad

0.1%
30k
Minimalist deep learning framework for education and exploration
created 4 years ago
updated 19 hours ago
Starred by Andrej Karpathy Andrej Karpathy(Founder of Eureka Labs; Formerly at Tesla, OpenAI; Author of CS 231n), Nat Friedman Nat Friedman(Former CEO of GitHub), and
32 more.

llama.cpp by ggml-org

0.4%
84k
C/C++ library for local LLM inference
created 2 years ago
updated 14 hours ago
Feedback? Help us improve.