1.2 KiB
1.2 KiB
Build MMDeploy
Preparation
-
Download MMDeploy
git clone -b master git@github.com:grimoire/deploy_prototype.git MMDeploy cd MMDeploy git submodule update --init --recursive
Note:
-
If fetching submodule fails, you could get submodule manually by following instructions:
git clone git@github.com:NVIDIA/cub.git third_party/cub cd third_party/cub git checkout c3cceac115
-
-
Install cmake
Install cmake>=3.14.0, you could refer to cmake website for more detailed info.
apt-get install -y libssl-dev wget https://github.com/Kitware/CMake/releases/download/v3.20.0/cmake-3.20.0.tar.gz tar -zxvf cmake-3.20.0.tar.gz cd cmake-3.20.0 ./bootstrap make make install
Build backend support
Build the inference engine extension libraries you need.
Install mmdeploy
cd ${MMDEPLOY_DIR} # To mmdeploy root directory
pip install -e .