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)

Archwith_extraarm_stlwith_cv下载
armv7OFFc++_sharedOFFv2.8
armv7OFFc++_sharedONv2.8
armv7ONc++_sharedOFFv2.8
armv7ONc++_sharedONv2.8
armv7OFFc++_staticOFFv2.8
armv7OFFc++_staticONv2.8
armv7ONc++_staticOFFv2.8
armv7ONc++_staticONv2.8
armv8OFFc++_sharedOFFv2.8
armv8OFFc++_sharedONv2.8
armv8ONc++_sharedOFFv2.8
armv8ONc++_sharedONv2.8
armv8OFFc++_staticOFFv2.8
armv8OFFc++_staticONv2.8
armv8ONc++_staticOFFv2.8
armv8ONc++_staticONv2.8

Android(toolchain=clang)

Archwith_extraarm_stlwith_cv下载
armv7OFFc++_sharedOFFv2.8
armv7OFFc++_sharedONv2.8
armv7ONc++_sharedOFFv2.8
armv7ONc++_sharedONv2.8
armv7OFFc++_staticOFFv2.8
armv7OFFc++_staticONv2.8
armv7ONc++_staticOFFv2.8
armv7ONc++_staticONv2.8
armv8OFFc++_sharedOFFv2.8
armv8OFFc++_sharedONv2.8
armv8ONc++_sharedOFFv2.8
armv8ONc++_sharedONv2.8
armv8OFFc++_staticOFFv2.8
armv8OFFc++_staticONv2.8
armv8ONc++_staticOFFv2.8
armv8ONc++_staticONv2.8

iOS

ARM Versionwith_cvwith_extra下载
armv7OFFOFFv2.8
armv7OFFONv2.8
armv7ONOFFv2.8
armv7ONONv2.8
armv8OFFOFFv2.8
armv8OFFONv2.8
armv8ONOFFv2.8
armv8ONONv2.8

x86 Linux

Operating System下载
Ubuntu (Linux)v2.8

macOS

Operating System下载
macOSv2.8

opt 工具

运行系统下载
Linuxv2.8
macOSv2.8

安装Paddle-Lite python 库方法

  • 支持平台: windows10、Ubuntu、Mac

  • python version: 2.7、3.5、3.6、 3.7

  1. # 当前最新版本是 2.8
  2. python -m pip install paddlelite==2.8

对应源码编译方法