Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Latest commit

 

History

History
54 lines (40 loc) · 1.98 KB

README.md

File metadata and controls

54 lines (40 loc) · 1.98 KB

Travis Build Status

This fork is maintained by Krai Ltd.

ArmNN installation

To install a particular version of ArmNN we have to combine three kinds of tags:

  • Frontend-related tags (based on supported ArmNN parsers): tf, tflite, onnx. These can be combined.

  • Backend-related tags (based on a specific build of ArmCL): neon, opencl. These can be combined or both missing (reference).

  • Version/Release-related tags: rel.21.02 (a particular frozen release), release (the latest stable release), dev (the live development branch). These are mutually exclusive. Exactly one Version/Release tag must be present.

Examples

The live development version supporting the TFLite frontend and Neon backend:

$ ck install package --tags=lib,armnn,tflite,neon,dev

The latest stable release supporting the TensorFlow frontend and OpenCL backend:

$ ck install package --tags=lib,armnn,tf,opencl,release

The 21.02 release supporting the TFLite and ONNX frontends and no optimized backends (i.e. reference):

$ ck install package --tags=lib,armnn,tflite,onnx,rel.21.02

The 21.05 release supporting the TFLite and ONNX frontends and no optimized backends (i.e. reference):

$ ck install package --tags=lib,armnn,tflite,onnx,rel.21.05

The 21.08 release supporting the TFLite and ONNX frontends and no optimized backends (i.e. reference):

$ ck install package --tags=lib,armnn,tflite,onnx,rel.21.08

The 21.11 release supporting the TFLite and ONNX frontends and no optimized backends (i.e. reference):

$ ck install package --tags=lib,armnn,tflite,onnx,rel.21.11

Known issues

FlatBuffers

FlatBuffers v1.12.x is required, which fails to build automatically with GCC 11. To build manually:

ck install package --tags=lib,flatbuffers,v1.12.1 \
--env.EXTRA_FLAGS="-Wno-error=class-memaccess -fPIC"