From 0516a2d3483855cbc06f1b270c8c0ec4f1edbf22 Mon Sep 17 00:00:00 2001 From: Changming Sun Date: Thu, 3 Jun 2021 13:00:43 -0700 Subject: [PATCH] Update inferencing.md (#7928) --- docs/how-to/build/inferencing.md | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/docs/how-to/build/inferencing.md b/docs/how-to/build/inferencing.md index 173e1d7967..f6e1206594 100644 --- a/docs/how-to/build/inferencing.md +++ b/docs/how-to/build/inferencing.md @@ -26,7 +26,7 @@ Basic CPU build git clone --recursive https://github.com/Microsoft/onnxruntime cd onnxruntime ``` -* [Install](https://cmake.org/download/) cmake-3.13 or higher. +* [Install](https://cmake.org/download/) cmake-3.18 or higher. ### Build Instructions @@ -101,7 +101,7 @@ GCC 4.x and below are not supported. | OS/Compiler | Supports VC | Supports GCC | Supports Clang | |-------------|:------------:|:----------------:|:----------------:| |Windows 10 | YES | Not tested | Not tested | -|Linux | NO | YES(gcc>=4.8) | Not tested | +|Linux | NO | YES(gcc>=8) | Not tested | |macOS | NO | Not tested | YES (Minimum version required not ascertained)| --- @@ -112,7 +112,6 @@ GCC 4.x and below are not supported. |-----------|-----------|-----------| |**Basic build**|build.bat (Windows)
./build.sh (Linux)|| |**Release build**|--config Release|Release build. Other valid config values are RelWithDebInfo and Debug.| -|**Use OpenMP**|--use_openmp|OpenMP will parallelize some of the code for potential performance improvements. This is not recommended for running on single threads.| |**Build using parallel processing**|--parallel|This is strongly recommended to speed up the build.| |**Build Shared Library**|--build_shared_lib|| |**Enable Training support**|--enable_training|| @@ -158,7 +157,7 @@ Nuget packages are created under \nuget-artifacts ### Reduced Operator Kernel Build Reduced Operator Kernel builds allow you to customize the kernels in the build to provide smaller binary sizes - [see instructions](https://github.com/microsoft/onnxruntime/blob/master/docs/Reduced_Operator_Kernel_build.md). -### OpenMP +### OpenMP (Deprecated) #### Build Instructions ##### Windows @@ -172,24 +171,6 @@ Reduced Operator Kernel builds allow you to customize the kernels in the build t ./build.sh --use_openmp ``` -### OpenBLAS -#### Prerequisites - * Windows: See build instructions [here](https://github.com/xianyi/OpenBLAS/wiki/How-to-use-OpenBLAS-in-Microsoft-Visual-Studio#build-openblas-for-universal-windows-platform) - * Linux: Install the libopenblas-dev package `sudo apt-get install libopenblas-dev` - -#### Build Instructions -##### Windows - -``` -.\build.bat --use_openblas -``` - -##### Linux - -```bash -./build.sh --use_openblas -``` - ### DebugNodeInputsOutputs OnnxRuntime supports build options for enabling debugging of intermediate tensor shapes and data. @@ -532,4 +513,4 @@ ls -l /code/onnxruntime/build/Linux/MinSizeRel/dist/*.whl --- ### Android/iOS -Please see [Build for Android/iOS](./android-ios.md) \ No newline at end of file +Please see [Build for Android/iOS](./android-ios.md)