MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle-Lite

github.com/PaddlePaddle/Paddle-Lite @v2.14-rc

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.14-rc ↗ · + Follow
21,906 symbols 83,543 edges 4,427 files 1,216 documented · 6% updated 2mo agov2.14-rc · 2024-07-19★ 7,26251 open issues

Browse by type

Functions 18,290 Types & classes 3,616
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Paddle Lite

简体中文 | English

Build Status Documentation Status Release License

Paddle Lite is an updated version of Paddle-Mobile, an open-open source deep learning framework designed to make it easy to perform inference on mobile, embeded, and IoT devices. It is compatible with PaddlePaddle and pre-trained models from other sources.

For tutorials, please see PaddleLite Document.

Key Features

  • Multiple platform support, covering Android and iOS devices, embedded Linux, Windows, macOS and Linux computer.
  • Diverse language support, which includes Java, C++, and Python.
  • High performance and light weight: optimized for on-device machine learning, reduced model and binary size, efficient inference and reduced memory usage.

Architecture

Paddle Lite is designed to support a wide range of hardwares and devices, and it enables mixed execution of a single model on multiple devices, optimization on various phases, and light-weighted applications on devices.

img

As is shown in the figure above, analysis phase includes Machine IR module, and it enables optimizations like Op fusion and redundant computation pruning. Besides, excecution phase only involves Kernal execution, so it can be deployed on its own to ensure maximum light-weighted deployment.

Key Info about the Update

The earlier Paddle-Mobile was designed to be compatible with PaddlePaddle and multiple hardwares, including ARM CPU, Mali GPU, Adreno GPU, FPGA, ARM-Linux and Apple's GPU Metal. Within Baidu, inc, many product lines have been using Paddle-Mobile.

As an update of Paddle-Mobile, Paddle Lite has incorporated many older capabilities into the new architecture.

Special Thanks

Paddle Lite has referenced the following open-source projects:

  • ARM compute library
  • Anakin. The optimizations under Anakin has been incorporated into Paddle Lite, and so there will not be any future updates of Anakin. As another high-performance inference project under PaddlePaddle, Anakin has been forward-looking and helpful to the making of Paddle Lite.

Feedback and Community Support

  • Questions, reports, and suggestions are welcome through Github Issues!
  • Forum: Opinions and questions are welcome at our PaddlePaddle Forum
  • WeChat Official Account: PaddlePaddle
  • QQ Group Chat: 696965088

     

  WeChat Official Account           QQ Group Chat     

Core symbols most depended-on inside this repo

Shape

Method 11,829
Function 6,461
Class 3,543
Enum 73

Languages

C++82%
Python18%
Java1%

Modules by API surface

third-party/opencl/include/CL/cl.hpp343 symbols
third-party/flatbuffers/pre-build/framework_generated.h313 symbols
third-party/opencl/include/CL/cl2.hpp304 symbols
third-party/flatbuffers/pre-build/flatbuffers/flatbuffers.h269 symbols
lite/operators/op_params.h222 symbols
third-party/flatbuffers/pre-build/flatbuffers/flexbuffers.h180 symbols
third-party/flatbuffers/pre-build/flatbuffers/reflection_generated.h153 symbols
lite/backends/x86/math/elementwise_common_broadcast_config.h113 symbols
third-party/flatbuffers/pre-build/param_generated.h106 symbols
lite/core/context.h79 symbols
lite/backends/x86/math/blas_impl.h74 symbols
third-party/flatbuffers/pre-build/flatbuffers/idl.h73 symbols

For agents

$ claude mcp add Paddle-Lite \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page