← all repositories
PaddlePaddle/Paddle-Lite

An inference engine that speaks ARM, NPU, and x86 fluently

Paddle Lite exists because no two edge devices agree on how to run a neural network.

7.3k stars C++ Inference · Serving
Paddle-Lite
Not currently ranked — collecting fresh signals.
star history

What it does

Paddle Lite is Baidu’s inference framework for running deep learning models on devices that don’t have a data center attached. It ingests PaddlePaddle models directly, and can convert TensorFlow, PyTorch, or Caffe graphs via the X2Paddle tool. The framework then quantizes, fuses kernels, and trims memory to produce a small, fast executable for the target device.

The interesting bit

Its architecture cleanly separates graph optimization from runtime execution. During the Analysis Phase, a Machine IR module fuses operators and prunes the compute graph for a specific hardware list; the Execution Phase can then be shipped alone for an ultra-lightweight footprint. The framework also mixes hardware within a single model, routing subgraphs to different accelerators through a unified NNAdapter layer.

Key highlights

  • Hardware support is extensive: ARM, x86, OpenCL, Metal, Huawei Kirin/Ascend, Qualcomm QNN, MediaTek APU, Kunlunxin XPU/XTCL, Cambricon MLU, Intel OpenVINO, VeriSilicon TIM-VX, and more.
  • Ships precompiled libraries for Android, iOS, Linux (ARM and x86), macOS, and Windows, with C++, Java, and Python APIs.
  • Includes an opt tool that quantizes models, fuses subgraphs, and checks operator compatibility per target before deployment.
  • Claims active production use inside Baidu and at external enterprises.
  • CI table shows passing builds across nearly every listed backend and platform combination.

Caveats

  • The README claims “high performance” but provides no comparative benchmarks against TensorFlow Lite or ONNX Runtime.
  • Community support channels listed are Chinese-language WeChat and QQ groups; English documentation exists, but the project’s center of gravity is clearly Mandarin-first.
  • Native model support is PaddlePaddle-first; other frameworks require conversion.

Verdict

A solid pick if you are deploying within the PaddlePaddle ecosystem or targeting specific Chinese NPUs and ARM boards. Less compelling if you need vendor-neutral tooling or native PyTorch/TensorFlow workflows without a conversion step.

Frequently asked

What is PaddlePaddle/Paddle-Lite?
Paddle Lite exists because no two edge devices agree on how to run a neural network.
Is Paddle-Lite open source?
Yes — PaddlePaddle/Paddle-Lite is open source, released under the Apache-2.0 license.
What language is Paddle-Lite written in?
PaddlePaddle/Paddle-Lite is primarily written in C++.
How popular is Paddle-Lite?
PaddlePaddle/Paddle-Lite has 7.3k stars on GitHub.
Where can I find Paddle-Lite?
PaddlePaddle/Paddle-Lite is on GitHub at https://github.com/PaddlePaddle/Paddle-Lite.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.