[Doc] update build doc for jetsons (#1621)

* update build doc for jetsons

* set lint only true for docs

* change base revision of circleci config

Co-authored-by: RunningLeon <mnsheng@yeah.net>
This commit is contained in:
AllentDan 2023-01-10 20:03:32 +08:00 committed by GitHub
parent 3e22f96f04
commit 92efd9cb7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 34 additions and 4 deletions

View File

@ -26,12 +26,13 @@ workflows:
csrc/.* lint_only false
demo/csrc/.* lint_only false
docker/.* lint_only false
docs/.* lint_only true
mmdeploy/.* lint_only false
requirements/.* lint_only false
tests/.* lint_only false
third_party/.* lint_only false
tools/.* lint_only false
base-revision: master
base-revision: dev-1.x
# this is the path of the configuration we should trigger once
# path filtering and pipeline parameter value updates are
# complete. In this case, we are using the parent dynamic

View File

@ -3,7 +3,6 @@
In this chapter, we introduce how to install MMDeploy on NVIDIA Jetson platforms, which we have verified on the following modules:
- Jetson Nano
- Jetson Xavier NX
- Jetson TX2
- Jetson AGX Xavier
@ -174,12 +173,27 @@ It takes about 1 hour 40 minutes to install MMCV on a Jetson Nano. So, please be
#### Install ONNX
Don't install the latest ONNX. The recommended ONNX version is 1.10.0.
```shell
# Execute one of the following commands
pip install onnx
pip install onnx==1.10.0
conda install -c conda-forge onnx
```
If the installation failed and showed the following error:
```
CMake Error at CMakeLists.txt:299 (message):
Protobuf compiler not found
```
Please install dependencies:
```shell
sudo apt-get install protobuf-compiler libprotoc-dev
```
#### Install h5py and pycuda
Model Converter employs HDF5 to save the calibration data for TensorRT INT8 quantization and needs `pycuda` to copy device memory.

View File

@ -156,12 +156,27 @@ conda activate mmdeploy
- 安装 ONNX
不要安装最新的 ONNX推荐的 ONNX 版本是 1.10.0。
```shell
# 以下方式二选一
python3 -m pip install onnx
python3 -m pip install onnx==1.10.0
conda install -c conda-forge onnx
```
如果安装时,出现如下的报错信息:
```
CMake Error at CMakeLists.txt:299 (message):
Protobuf compiler not found
```
请根据如下指令,安装依赖项:
```shell
sudo apt-get install protobuf-compiler libprotoc-dev
```
- 安装 h5py 和 pycuda
Model Converter 使用 HDF5 存储 TensorRT INT8 量化的校准数据;需要 pycuda 拷贝显存