Files
FastDeploy/docs/en/build_and_install/README.md
2022-10-19 10:58:31 +08:00

26 lines
1.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Install FastDeploy - Tutorials
- [How to Install FastDeploy Prebuilt Libraries](download_prebuilt_libraries.md)
- [How to Build and Install FastDeploy on GPU Platform](gpu.md)
- [How to Build and Install FastDeploy Library on CPU Platform](cpu.md)
- [How to Build and Install FastDeploy Library on Nvidia Jetson Platform](jetson.md)
- [How to Build and Install FastDeploy Library on Android Platform](android.md)
## Build options
| option | description |
| :--- | :---- |
| ENABLE_ORT_BACKEND | Default OFF, whether to enable ONNX Runtime backend(CPU/GPU) |
| ENABLE_PADDLE_BACKEND | Default OFFwhether to enable Paddle Inference backend(CPU/GPU) |
| ENABLE_TRT_BACKEND | Default OFFwhether to enable TensorRT backend(GPU) |
| ENABLE_OPENVINO_BACKEND | Default OFFwhether to enable OpenVINO backend(CPU) |
| 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 |
| 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 |
| OPENCV_DIRECTORY | [Optional] If build with ENABLE_VISION=ON, this flag defines the path of OpenCV, but if this flag is not set, it will download OpenCV library automatically |
| OPENVINO_DIRECTORY | [Optional] If build WITH ENABLE_OPENVINO_BACKEND=ON, this flag defines the path of OpenVINO, but if this flag is not set, it will download OpenVINO library automatically |