neo-ai/neo-ai-dlr
Neo-AI-DLR is a common runtime for machine learning models compiled by AWS SageMaker Neo, TVM, or TreeLite.
repo name | neo-ai/neo-ai-dlr |
repo link | https://github.com/neo-ai/neo-ai-dlr |
homepage | |
language | C++ |
size (curr.) | 126617 kB |
stars (curr.) | 307 |
created | 2018-12-14 |
license | Apache License 2.0 |
DLR
DLR is a compact, common runtime for deep learning models and decision tree models compiled by AWS SageMaker Neo, TVM, or Treelite. DLR uses the TVM runtime, Treelite runtime, NVIDIA TensorRT™, and can include other hardware-specific runtimes. DLR provides unified Python/C++ APIs for loading and running compiled models on various devices. DLR currently supports platforms from Intel, NVIDIA, and ARM, with support for Xilinx, Cadence, and Qualcomm coming soon.
Installation
On X86_64 targets running Linux, you can install latest release of DLR package via
pip install dlr
For installation of DLR on non-x86 edge devices, or building DLR from source, please refer to Installing DLR
Documentation
For instructions on using DLR, please refer to Amazon SageMaker Neo – Train Your Machine Learning Models Once, Run Them Anywhere
Also check out the API documentation
Examples
We prepared several examples demonstrating how to use DLR API on different platforms
- Neo AI DLR image classification Android example application
- DL Model compiler for Android
- DL Model compiler for AWS EC2 instances
License
This library is licensed under the Apache License Version 2.0.