[Backend] Add KunlunXin XPU deploy support (#894)

Revert "Revert "[Backend] Add KunlunXin XPU deploy support" (#893)"

This reverts commit 0990ab9b50.
This commit is contained in:
Jason
2022-12-16 11:22:30 +08:00
committed by GitHub
parent 0990ab9b50
commit 2d998223ac
39 changed files with 870 additions and 58 deletions
+5
View File
@@ -12,6 +12,9 @@ English | [中文](../../cn/build_and_install/README.md)
- [Build and Install on IPU Platform](ipu.md)
- [Build and Install on Nvidia Jetson Platform](jetson.md)
- [Build and Install on Android Platform](android.md)
- [Build and Install on RV1126 Platform](rv1126.md)
- [Build and Install on A311D Platform](a311d.md)
- [Build and Install on KunlunXin XPU Platform](xpu.md)
## Build options
@@ -25,6 +28,8 @@ English | [中文](../../cn/build_and_install/README.md)
| ENABLE_VISION | Default OFFwhether to enable vision models deployment module |
| ENABLE_TEXT | Default OFFwhether to enable text models deployment module |
| WITH_GPU | Default OFF, if build on GPU, this need to be ON |
| WITH_XPU | Default OFFif deploy on KunlunXin XPUthis need to be ON |
| WITH_TIMVX | Default OFFif deploy on RV1126/RV1109/A311Dthis need to be ON |
| CUDA_DIRECTORY | Default /usr/local/cuda, if build on GPU, this defines the path of CUDA(>=11.2) |
| TRT_DIRECTORY | If build with ENABLE_TRT_BACKEND=ON, this defines the path of TensorRT(>=8.4) |
| ORT_DIRECTORY | [Optional] If build with ENABLE_ORT_BACKEND=ON, this flag defines the path of ONNX Runtime, but if this flag is not set, it will download ONNX Runtime library automatically |