Paddle Lite 预编译库下载

编译版本介绍

  • arch=armv7/armv7hf/armv8/x86 目标设备的 CPU 架构,可选择包括 armv7armv7hfarmv8x86

  • os=Android/IOS/Linux/MacOS/Windows 目标设备的操作系统,可选择包括 AndroidIOSLinuxMacOSWindows

  • toolchain=gcc/clang 源码编译时的编译器,可选择包括 gccclang

  • android_stl=c++_static/c++_shared 预测库采用的 Android STL 库的种类,可选择包括 c++_static (静态链接)和 c++_shared (动态链接)

  • with_extra=ON/OFF 是否编译全量 OP,OFF 时只编译 CV 相关基础 OP,参数详情

  • with_cv=ON/OFF 是否编译 CV 相关 API

  • with_log=ON/OFF 预编译库是否带有日志打印

  • python_version=2.7/3.5/3.6/3.7 python 版本,可选择包括 2.73.53.63.7

Android

Arch toolchain android_stl with_extra with_cv 下载链接
armv7 clang c++_shared OFF OFF v2.10
armv7 clang c++_shared OFF ON v2.10
armv7 clang c++_shared ON OFF v2.10
armv7 clang c++_shared ON ON v2.10
armv7 clang c++_static OFF OFF v2.10
armv7 clang c++_static OFF ON v2.10
armv7 clang c++_static ON OFF v2.10
armv7 clang c++_static ON ON v2.10
armv7 gcc c++_shared OFF OFF v2.10
armv7 gcc c++_shared OFF ON v2.10
armv7 gcc c++_shared ON OFF v2.10
armv7 gcc c++_shared ON ON v2.10
armv7 gcc c++_static OFF OFF v2.10
armv7 gcc c++_static OFF ON v2.10
armv7 gcc c++_static ON OFF v2.10
armv7 gcc c++_static ON ON v2.10
armv8 clang c++_shared OFF OFF v2.10
armv8 clang c++_shared OFF ON v2.10
armv8 clang c++_shared ON OFF v2.10
armv8 clang c++_shared ON ON v2.10
armv8 clang c++_static OFF OFF v2.10
armv8 clang c++_static OFF ON v2.10
armv8 clang c++_static ON OFF v2.10
armv8 clang c++_static ON ON v2.10
armv8 gcc c++_shared OFF OFF v2.10
armv8 gcc c++_shared OFF ON v2.10
armv8 gcc c++_shared ON OFF v2.10
armv8 gcc c++_shared ON ON v2.10
armv8 gcc c++_static OFF OFF v2.10
armv8 gcc c++_static OFF ON v2.10
armv8 gcc c++_static ON OFF v2.10
armv8 gcc c++_static ON ON v2.10

IOS

Arch with_cv with_extra with_log 下载链接
armv7 OFF OFF OFF v2.10
armv7 OFF OFF ON v2.10
armv7 OFF ON OFF v2.10
armv7 OFF ON ON v2.10
armv7 ON OFF OFF v2.10
armv7 ON OFF ON v2.10
armv7 ON ON OFF v2.10
armv7 ON ON ON v2.10
armv8 OFF OFF OFF v2.10
armv8 OFF OFF ON v2.10
armv8 OFF ON OFF v2.10
armv8 OFF ON ON v2.10
armv8 ON OFF OFF v2.10
armv8 ON OFF ON v2.10
armv8 ON ON OFF v2.10
armv8 ON ON ON v2.10

Linux (ARM)

Arch with_extra with_cv 下载链接 适用的设备 适用的操作系统
armv7hf OFF OFF v2.10 Raspberry Pi 3 Model B Raspbian OS
armv7hf OFF ON v2.10 Raspberry Pi 3 Model B Raspbian OS
armv7hf ON OFF v2.10 Raspberry Pi 3 Model B Raspbian OS
armv7hf ON ON v2.10 Raspberry Pi 3 Model B Raspbian OS
armv8 OFF OFF v2.10 RK3399 firefly (Linux)
armv8 OFF OFF v2.10 RK3399 firefly (Linux)
armv8 OFF OFF v2.10 RK3399 firefly (Linux)
armv8 OFF OFF v2.10 RK3399 firefly (Linux)

Linux (X86)

with_log 下载链接 适用的操作系统
OFF v2.10 Ubuntu (Linux)
ON v2.10 Ubuntu (Linux)

MacOS

Arch with_log 下载链接
x86 OFF v2.10
x86 ON v2.10

Windows

Arch python_version 下载链接
x86 2.7 v2.10
x86 3.5 v2.10
x86 3.6 v2.10
x86 3.7 v2.10
x86 3.9 v2.10

Opencl

Arch 下载链接
armv7 v2.10
armv8 v2.10

百度昆仑 XPU

Arch 下载链接 适用的操作系统
x86 v2.10 CentOS 6.3
x86 v2.10 Ubuntu
armv8 v2.10 银河麒麟v10

华为昇腾 NPU

Arch 下载链接 适用的操作系统
x86 v2.10 Ubuntu
armv8 v2.10 银河麒麟v10

华为麒麟 NPU

Arch 下载链接
armv7 v2.10
armv8 v2.10

瑞芯微 NPU

Arch 下载链接
armv7hf v2.10
armv8 v2.10

晶晨 NPU

Arch 下载链接 适用的操作系统
armv7 v2.10 Android
armv8 v2.10 Linux

联发科 APU

Arch 下载链接
armv7 v2.10
armv8 v2.10

颖脉 NNA

Arch 下载链接
armv8 v2.10

opt 工具

适用的操作系统 下载链接
Linux v2.10
MacOS v2.10

安装 Paddle Lite python 库方法

  • 支持平台:Windows10、Ubuntu、Mac

  • python version: 2.7、3.5、3.6、3.7

# 当前最新版本是 2.10-rc
python -m pip install paddlelite==2.10-rc