Inference Engineering

XIV. Edge, Mobile & Browser

Inference outside the datacenter: phones, laptops, NPUs, browsers, and embedded boards.

33 entries · 5 subsections

Editor’s pick

XIV.1 Mobile & Embedded Runtimes 9

  1. ExecuTorch Library

    PyTorch's on-device runtime that exports models ahead of time and runs them on phones, wearables, and microcontrollers through pluggable hardware backends.

    BSD-3-Clause · 5.2k stars · Updated 2026-11

  2. LiteRT-LM Library

    LLM orchestration layer on top of LiteRT for Android, iOS, web, desktop, and IoT, with GPU and NPU paths and multi-token prediction for Gemma 4.

    Apache-2.0 · 6.9k stars · Updated 2026-11

  3. LiteRT Library

    Runtime that succeeds TensorFlow Lite, converting models and running them on phones and edge devices through CPU, GPU, and NPU accelerators.

    Apache-2.0 · 3.6k stars · Updated 2026-11

  4. MediaPipe LLM Inference API Library

    MediaPipe task for running LLMs in Android, iOS, and web apps, now marked maintenance-only by Google, which recommends LiteRT-LM for new projects.

    maintenance · Superseded by LiteRT-LM · Apache-2.0 · 38k stars · Updated 2026-11

  5. MNN Library

    Lightweight C++ inference engine from Alibaba for mobile and embedded devices, including an LLM module for running chat models on Android and iOS.

    Apache-2.0 · 17k stars · Updated 2026-11

  6. MLC LLM Tool

    Compiler-based LLM deployment stack built on TVM that targets iOS, Android, desktop GPUs, and browsers from one model definition.

    Apache-2.0 · 24k stars · Updated 2026-11

  7. Cactus Library

    Hybrid edge-and-cloud engine for phones and wearables with its own kernels, quantization, and OpenAI-style APIs; source-available under a revenue-gated license.

    source-available · 15k stars · Updated 2026-11

  8. Qualcomm AI Hub Tool

    Qualcomm's portal and Workbench for compiling, profiling, and validating models on Snapdragon devices, with a catalog of pre-optimized models.

  9. GenieX Tool

    Developer-preview runtime for LLMs and VLMs on Snapdragon that dispatches to llama.cpp or Qualcomm AI Engine Direct across NPU, GPU, and CPU; formerly Nexa SDK.

    experimental · BSD-3-Clause · 8.5k stars · Updated 2026-11

XIV.2 Apple Silicon 6

  1. MLX Library

    Array framework for Apple silicon with NumPy-style Python and C++ APIs, lazy evaluation, and unified memory; the base layer under mlx-lm.

    MIT · 29k stars · Updated 2026-11

  2. MLX Swift Library

    Swift bindings for MLX so iOS and macOS apps can run array computation and neural networks natively on Apple silicon.

    MIT · 2.1k stars · Updated 2026-11

  3. MLX Swift LM Library

    Swift package that loads and runs LLMs and vision-language models on MLX inside iOS and macOS apps, layered on the MLX Swift bindings.

    MIT · 879 stars · Updated 2026-11

  4. Core ML Tools Tool

    Converter from PyTorch and other frameworks to the Core ML format, with quantization, palettization, and pruning tools for shipping models on Apple devices.

    BSD-3-Clause · 5.5k stars · Updated 2026-09

  5. Apple Foundation Models Framework Docs

    Swift framework that lets apps prompt Apple's on-device language model, with guided generation, tool calling, and streamed responses.

    proprietary

  6. Apple Core AI Docs

    Apple's WWDC26 beta framework for running LLMs and generative models on-device across CPU, GPU, and Neural Engine; announced as Core ML's successor.

    experimental · proprietary

XIV.3 PCs & NPUs 5

  1. Windows ML Docs

    Windows-managed copy of ONNX Runtime that routes models to NPU, GPU, or CPU through execution providers that Windows installs and keeps updated.

    proprietary

  2. ONNX Runtime QNN Execution Provider Docs

    ONNX Runtime provider that offloads models to the Hexagon NPU on Snapdragon through Qualcomm AI Engine Direct, including Windows on Arm laptops.

    MIT

  3. AMD Ryzen AI Software Docs

    AMD's stack for running ONNX and LLM workloads on Ryzen AI PCs, using the XDNA NPU and integrated GPU through ONNX Runtime and the Quark quantizer.

    MIT · 902 stars · Updated 2026-11

  4. OpenVINO NPU Plugin Docs

    OpenVINO documentation for its NPU plugin, covering drivers, the model compiler, and model caching for running inference on Intel neural processors.

    Apache-2.0 · 12k stars · Updated 2026-11

  5. Qualcomm AI Engine Direct SDK Library

    Qualcomm's low-level runtime API for the Hexagon NPU, Adreno GPU, and Kryo CPU, which Genie and ONNX Runtime's QNN provider build on; also called QAIRT.

    proprietary

XIV.4 Browser & WebGPU 7

  1. WebLLM Library

    In-browser LLM engine that runs models on WebGPU with an OpenAI-style API, streaming output, and web-worker isolation.

    Apache-2.0 · 19k stars · Updated 2026-11

  2. Transformers.js Library

    Runs Hugging Face models in browsers, Node, Bun, and Deno on ONNX Runtime; version 4 swaps in a rewritten C++ WebGPU runtime.

    Apache-2.0 · 16k stars · Updated 2026-11

  3. ONNX Runtime Web Docs

    Documentation for the browser builds of ONNX Runtime, with WebAssembly, WebGPU, and WebNN execution providers for in-page inference.

    MIT

  4. wllama Library

    WebAssembly binding for llama.cpp that runs GGUF models in a browser tab, with worker isolation, split-file loading, and WebGPU support in v3.

    MIT · 1.4k stars · Updated 2026-11

  5. WebGPU Specification Spec

    W3C specification for the browser API that exposes GPU compute and rendering, which in-browser LLM runtimes use for acceleration.

    5.5k stars · Updated 2026-11

  6. Web Neural Network API (WebNN) Spec

    W3C candidate recommendation draft for a browser API that runs neural network graphs on NPUs, GPUs, and CPUs; browser availability is still limited.

    experimental · 573 stars · Updated 2026-11

  7. Chrome Prompt API Docs

    Chrome's JavaScript API for prompting Gemini Nano on-device; the docs say the web version is still in development and list storage and hardware needs.

    experimental · proprietary

XIV.5 Embedded Accelerators 6

  1. Jetson AI Lab Docs

    Tutorial hub for running LLMs, vision-language models, and diffusion models locally on Jetson Orin and Thor boards, with community projects.

  2. TensorRT Edge-LLM Library

    C++ runtime for LLMs and VLMs on Jetson, DRIVE, and DGX Spark with an export and engine-build workflow and no Python dependency at run time.

    experimental · Apache-2.0 · 637 stars · Updated 2026-11

  3. jetson-containers Tool

    Modular build system and prebuilt images for ML stacks such as PyTorch, vLLM, SGLang, and MLC on Jetson, matched to JetPack and CUDA versions.

    MIT · 4.9k stars · Updated 2026-11

  4. NVIDIA Jetson Thor Hardware

    Blackwell-based Jetson module and developer kit for robots and edge systems, aimed at running LLM, VLM, and vision-language-action models on the device.

  5. Raspberry Pi AI HAT+ Documentation Docs

    Official Raspberry Pi documentation for the AI HAT+ boards that attach a Hailo accelerator to a Pi 5 over PCIe, covering setup and supported software.

  6. Hailo AI Software Suite Tool

    Hailo's compiler, HailoRT runtime, and model zoo for its accelerators, including precompiled LLM, VLM, and speech models served through a REST API.

    235 stars · Updated 2026-10