Installation guide

Requirements

  • python 3.6 or higher

  • onnx

  • onnxruntime-gpu-tensorrt

Installation

1. Install onnxruntime-gpu-tensorrt package

Install ONNX Runtime compiled with TensorRT and OpenVINO execution providers. This package can be installed from ENOT GitHub repository using the following command:

$ wget -O - https://raw.githubusercontent.com/ENOT-AutoDL/ONNX-Runtime-with-TensorRT-and-OpenVINO/master/install.sh | bash

2. Install ENOT Lite framework

Install ENOT Lite framework from PyPI:

$ pip install enot-lite

3. License set up

Create hasp_26970.ini file in $HOME/.hasplm folder with the following content:

broadcastsearch = 0
serveraddr = 212.20.47.88
disable_IPv6 = 0

This can be done by using the following commands:

mkdir -p $HOME/.hasplm
echo -n 'broadcastsearch = 0\nserveraddr = 212.20.47.88\ndisable_IPv6 = 0' > $HOME/.hasplm/hasp_26970.ini