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

krai/ck-armnn

 
 

Repository files navigation

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"

About

Collective Knowledge workflows for ArmNN

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 48.6%
  • C++ 35.2%
  • Python 16.2%