first commit

This commit is contained in:
jiangjiajun
2022-07-05 09:30:15 +00:00
parent 4df7366d62
commit 9d87046d78
781 changed files with 225888 additions and 6184 deletions

17
docs/compile/README.md Normal file
View File

@@ -0,0 +1,17 @@
# FastDeploy编译
本文档说明编译C++预测库、Python预测库两种编译过程根据编译的平台参考如下文档
- [Linux & Mac 编译](linux_and_mac.md)
- [Windows编译](windows.md)
其中编译过程中,各平台上编译选项如下表所示
| 选项 | 作用 | 备注 |
|:---- | :--- | :--- |
| ENABLE_ORT_BACKEND | 启用ONNXRuntime推理后端默认ON | - |
| WIGH_GPU | 是否开启GPU使用默认OFF | 当设为TRUE时须通过CUDA_DIRECTORY指定cuda目录如/usr/local/cuda; Mac上不支持设为ON |
| ENABLE_TRT_BACKEND | 启用TensorRT推理后端默认OFF | 当设为TRUE时需通过TRT_DIRECTORY指定tensorrt目录如/usr/downloads/TensorRT-8.4.0.1; Mac上不支持设为ON|
| ENABLE_VISION | 编译集成视觉模型模块包括OpenCV的编译集成默认OFF | - |
| ENABLE_PADDLE_FRONTEND | 编译集成Paddle2ONNX默认ON | - |
| ENABLE_DEBUG | 当为ON时支持输出DEBUG信息但可能会有性能损耗默认OFF | - |