Lite 预编译库下载

编译版本介绍

  • arch=armv7/armv8 arm版本,可选择armv7或者armv8
  • arm_os=android\ios\armlinux 安装平台,支持的arm端移动平台包括 iosarmlinuxandroid
  • toolchain=gcc/clang 源码编译时的编译器,默认为gcc编译器
  • android_stl=c++_static/c++_shared Lite预测库链接STL库的方式,支持静态或动态链接
  • with_extra=ON/OFF 是否编译全量OP,OFF时只编译CV相关基础OP,参数详情
  • with_cv=ON/OFF 是否编译编译Paddle-Lite CV 相关API

Android(toolchain=gcc)

Arch with_extra arm_stl with_cv 下载
armv7 OFF c++_shared OFF v2.8
armv7 OFF c++_shared ON v2.8
armv7 ON c++_shared OFF v2.8
armv7 ON c++_shared ON v2.8
armv7 OFF c++_static OFF v2.8
armv7 OFF c++_static ON v2.8
armv7 ON c++_static OFF v2.8
armv7 ON c++_static ON v2.8
armv8 OFF c++_shared OFF v2.8
armv8 OFF c++_shared ON v2.8
armv8 ON c++_shared OFF v2.8
armv8 ON c++_shared ON v2.8
armv8 OFF c++_static OFF v2.8
armv8 OFF c++_static ON v2.8
armv8 ON c++_static OFF v2.8
armv8 ON c++_static ON v2.8

Android(toolchain=clang)

Arch with_extra arm_stl with_cv 下载
armv7 OFF c++_shared OFF v2.8
armv7 OFF c++_shared ON v2.8
armv7 ON c++_shared OFF v2.8
armv7 ON c++_shared ON v2.8
armv7 OFF c++_static OFF v2.8
armv7 OFF c++_static ON v2.8
armv7 ON c++_static OFF v2.8
armv7 ON c++_static ON v2.8
armv8 OFF c++_shared OFF v2.8
armv8 OFF c++_shared ON v2.8
armv8 ON c++_shared OFF v2.8
armv8 ON c++_shared ON v2.8
armv8 OFF c++_static OFF v2.8
armv8 OFF c++_static ON v2.8
armv8 ON c++_static OFF v2.8
armv8 ON c++_static ON v2.8

iOS

ARM Version with_cv with_extra 下载
armv7 OFF OFF v2.8
armv7 OFF ON v2.8
armv7 ON OFF v2.8
armv7 ON ON v2.8
armv8 OFF OFF v2.8
armv8 OFF ON v2.8
armv8 ON OFF v2.8
armv8 ON ON v2.8

x86 Linux

Operating System 下载
Ubuntu (Linux) v2.8

macOS

Operating System 下载
macOS v2.8

opt 工具

运行系统 下载
Linux v2.8
macOS v2.8

安装Paddle-Lite python 库方法

  • 支持平台: windows10、Ubuntu、Mac
  • python version: 2.7、3.5、3.6、 3.7
# 当前最新版本是 2.8
python -m pip install paddlelite==2.8