mirror of
				https://github.com/PaddlePaddle/FastDeploy.git
				synced 2025-10-31 03:46:40 +08:00 
			
		
		
		
	 34bea7649d
			
		
	
	34bea7649d
	
	
	
		
			
			* Add Sophgo Device add sophgo backend in fastdeploy add resnet50, yolov5s, liteseg examples. * replace sophgo lib with download links; fix model.cc bug * modify CodeStyle * remove unuseful files;change the names of sophgo device and sophgo backend * sophgo support python and add python examples * remove unuseful rows in cmake according pr Co-authored-by: Zilong Xing <zilong.xing@sophgo.com>
English | 中文
Install FastDeploy - Tutorials
Install Prebuilt FastDeploy
Build FastDeploy and Install
- Build and Install on GPU Platform
- Build and Install on CPU Platform
- Build and Install on IPU Platform
- Build and Install on Nvidia Jetson Platform
- Build and Install on Android Platform
- Build and Install on RV1126 Platform
- Build and Install on RK3588 Platform
- Build and Install on A311D Platform
- Build and Install on KunlunXin XPU Platform
Build options
| option | description | 
|---|---|
| ENABLE_ORT_BACKEND | Default OFF, whether to enable ONNX Runtime backend(CPU/GPU) | 
| ENABLE_PADDLE_BACKEND | Default OFF,whether to enable Paddle Inference backend(CPU/GPU) | 
| ENABLE_TRT_BACKEND | Default OFF,whether to enable TensorRT backend(GPU) | 
| ENABLE_OPENVINO_BACKEND | Default OFF,whether to enable OpenVINO backend(CPU) | 
| ENABLE_VISION | Default OFF,whether to enable vision models deployment module | 
| ENABLE_TEXT | Default OFF,whether to enable text models deployment module | 
| WITH_GPU | Default OFF, if build on GPU, this needs to be ON | 
| WITH_KUNLUNXIN | Default OFF,if deploy on KunlunXin XPU,this needs to be ON | 
| WITH_TIMVX | Default OFF,if deploy on RV1126/RV1109/A311D,this needs to be ON | 
| WITH_ASCEND | Default OFF,if deploy on Huawei Ascend,this needs 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 |