Crates.io | hotg-runecoral |
lib.rs | hotg-runecoral |
version | 0.3.12 |
source | src |
created_at | 2021-08-09 20:17:51.705128 |
updated_at | 2022-05-31 09:04:00.979686 |
description | Bindings to the librunecoral library for doing hardware-accelerated inference. |
homepage | https://hotg.dev/ |
repository | https://github.com/hotg-ai/librunecoral |
max_upload_size | |
id | 433939 |
size | 4,767,425 |
A thinly veiled wrapper around tflite and libedgetpu from Google
Linux/Android:
Windows 10:
OS X:
$ git clone https://github.com/hotg-ai/librunecoral
$ cd librunecoral
$ git submodule update --init --recursive
$ make docker-image-linux
$ docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
tinyverseml/runecoral-cross-linux-aarch64 latest 349cd3de00b3 2 days ago 2.9GB
tinyverseml/runecoral-cross-linux-x86_64 latest 4f5fe19abfb7 2 days ago 2.73GB
$ make librunecoral-linux-aarch64
$ ls dist/include
runecoral.h
$ ls dist/lib/linux/aarch64
librunecoral.so
# To build for all supported CPU architectures under linux
$ make librunecoral-linux
$ ls dist/lib/linux
aarch64 x86_64
$ bazel build --config windows //runecoral:runecoral
$ ls bazel-bin/runecoral/
_objs runecoral.lib runecoral.params
NOTE: On Windows you may need to clone librunecoral to C:\ or some such path in order to not run into Windows path length limitations