rust-mmdeploy-sys
MMDeploy bindings for Rust.
Prerequisites
NOTICE: Linux only. Onnxruntime only.
In order to successfully build this repo, you are supposed to install some pre-packages.
Step 1. Install Clang required by Bindgen
.
apt install llvm-dev libclang-dev clang
Step 2. Download and install pre-built mmdeploy package.
wget https://github.com/open-mmlab/mmdeploy/releases/download/v0.8.0/mmdeploy-0.8.0-linux-x86_64-onnxruntime1.8.1.tar.gz
tar -zxvf mmdeploy-0.8.0-linux-x86_64-onnxruntime1.8.1.tar.gz
cd mmdeploy-0.8.0-linux-x86_64-onnxruntime1.8.1.tar.gz
export MMDEPLOY_DIR=$(pwd)
Build
Move to the root of this repo and then:
cargo build