Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo #625

Merged
merged 5 commits into from
Jun 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/en/01-how-to-build/jetsons.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ You can find a full list of custom plugins from [here](../ops/tensorrt.md).
# build TensorRT custom operators
mkdir -p build && cd build
cmake .. -DMMDEPLOY_TARGET_BACKENDS="trt"
make -j$(nproc)
make -j$(nproc) && make install

# install model converter
cd ${MMDEPLOY_DIR}
Expand Down
8 changes: 4 additions & 4 deletions docs/en/01-how-to-build/linux-x86_64.md
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ If one of inference engines among ONNXRuntime, TensorRT, ncnn and libtorch is se
cd ${MMDEPLOY_DIR}
mkdir -p build && cd build
cmake -DCMAKE_CXX_COMPILER=g++-7 -DMMDEPLOY_TARGET_BACKENDS=ort -DONNXRUNTIME_DIR=${ONNXRUNTIME_DIR} ..
make -j$(nproc)
make -j$(nproc) && make install
```

- **TensorRT** Custom Ops
Expand All @@ -357,7 +357,7 @@ If one of inference engines among ONNXRuntime, TensorRT, ncnn and libtorch is se
cd ${MMDEPLOY_DIR}
mkdir -p build && cd build
cmake -DCMAKE_CXX_COMPILER=g++-7 -DMMDEPLOY_TARGET_BACKENDS=trt -DTENSORRT_DIR=${TENSORRT_DIR} -DCUDNN_DIR=${CUDNN_DIR} ..
make -j$(nproc)
make -j$(nproc) && make install
```

- **ncnn** Custom Ops
Expand All @@ -366,7 +366,7 @@ If one of inference engines among ONNXRuntime, TensorRT, ncnn and libtorch is se
cd ${MMDEPLOY_DIR}
mkdir -p build && cd build
cmake -DCMAKE_CXX_COMPILER=g++-7 -DMMDEPLOY_TARGET_BACKENDS=ncnn -Dncnn_DIR=${NCNN_DIR}/build/install/lib/cmake/ncnn ..
make -j$(nproc)
make -j$(nproc) && make install
```

- **TorchScript** Custom Ops
Expand All @@ -375,7 +375,7 @@ If one of inference engines among ONNXRuntime, TensorRT, ncnn and libtorch is se
cd ${MMDEPLOY_DIR}
mkdir -p build && cd build
cmake -DCMAKE_CXX_COMPILER=g++-7 -DMMDEPLOY_TARGET_BACKENDS=torchscript -DTorch_DIR=${Torch_DIR} ..
make -j$(nproc)
make -j$(nproc) && make install
```

#### Install Model Converter
Expand Down
2 changes: 2 additions & 0 deletions docs/en/01-how-to-build/windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ mkdir build -ErrorAction SilentlyContinue
cd build
cmake .. -G "Visual Studio 16 2019" -A x64 -T v142 -DMMDEPLOY_TARGET_BACKENDS="ort" -DONNXRUNTIME_DIR="$env:ONNXRUNTIME_DIR"
cmake --build . --config Release -- /m
cmake --install . --config Release
```

- **TensorRT** Custom Ops
Expand All @@ -295,6 +296,7 @@ mkdir build -ErrorAction SilentlyContinue
cd build
cmake .. -G "Visual Studio 16 2019" -A x64 -T v142 -DMMDEPLOY_TARGET_BACKENDS="trt" -DTENSORRT_DIR="$env:TENSORRT_DIR" -DCUDNN_DIR="$env:CUDNN_DIR"
cmake --build . --config Release -- /m
cmake --install . --config Release
```

- **ncnn** Custom Ops
Expand Down
2 changes: 1 addition & 1 deletion docs/zh_cn/01-how-to-build/jetsons.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export MMDEPLOY_DIR=$(pwd)
# 编译 TensorRT 自定义算子
mkdir -p build && cd build
cmake .. -DMMDEPLOY_TARGET_BACKENDS="trt"
make -j$(nproc)
make -j$(nproc) && make install

# 安装 model converter
cd ${MMDEPLOY_DIR}
Expand Down
8 changes: 4 additions & 4 deletions docs/zh_cn/01-how-to-build/linux-x86_64.md
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ export MMDEPLOY_DIR=$(pwd)
cd ${MMDEPLOY_DIR}
mkdir -p build && cd build
cmake -DCMAKE_CXX_COMPILER=g++-7 -DMMDEPLOY_TARGET_BACKENDS=ort -DONNXRUNTIME_DIR=${ONNXRUNTIME_DIR} ..
make -j$(nproc)
make -j$(nproc) && make install
```

- **TensorRT** 自定义算子
Expand All @@ -352,7 +352,7 @@ export MMDEPLOY_DIR=$(pwd)
cd ${MMDEPLOY_DIR}
mkdir -p build && cd build
cmake -DCMAKE_CXX_COMPILER=g++-7 -DMMDEPLOY_TARGET_BACKENDS=trt -DTENSORRT_DIR=${TENSORRT_DIR} -DCUDNN_DIR=${CUDNN_DIR} ..
make -j$(nproc)
make -j$(nproc) && make install
```

- **ncnn** 自定义算子
Expand All @@ -361,7 +361,7 @@ export MMDEPLOY_DIR=$(pwd)
cd ${MMDEPLOY_DIR}
mkdir -p build && cd build
cmake -DCMAKE_CXX_COMPILER=g++-7 -DMMDEPLOY_TARGET_BACKENDS=ncnn -Dncnn_DIR=${NCNN_DIR}/build/install/lib/cmake/ncnn ..
make -j$(nproc)
make -j$(nproc) && make install
```

- **torchscript** 自定义算子
Expand All @@ -370,7 +370,7 @@ export MMDEPLOY_DIR=$(pwd)
cd ${MMDEPLOY_DIR}
mkdir -p build && cd build
cmake -DMMDEPLOY_TARGET_BACKENDS=torchscript -DTorch_DIR=${Torch_DIR} ..
make -j$(nproc)
make -j$(nproc) && make install
```

##### 安装 Model Converter
Expand Down
2 changes: 2 additions & 0 deletions docs/zh_cn/01-how-to-build/windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ mkdir build -ErrorAction SilentlyContinue
cd build
cmake .. -G "Visual Studio 16 2019" -A x64 -T v142 -DMMDEPLOY_TARGET_BACKENDS="ort" -DONNXRUNTIME_DIR="$env:ONNXRUNTIME_DIR"
cmake --build . --config Release -- /m
cmake --install . --config Release
```

- **TensorRT** 自定义算子
Expand All @@ -287,6 +288,7 @@ mkdir build -ErrorAction SilentlyContinue
cd build
cmake .. -G "Visual Studio 16 2019" -A x64 -T v142 -DMMDEPLOY_TARGET_BACKENDS="trt" -DTENSORRT_DIR="$env:TENSORRT_DIR" -DCUDNN_DIR="$env:CUDNN_DIR"
cmake --build . --config Release -- /m
cmake --install . --config Release
```

- **ncnn** 自定义算子
Expand Down