Update inferencing.md (#12198) (#12242)

Changed referenced protobuf version from 3.11.2 to 3.18.1

Co-authored-by: Nat Kershaw (MSFT) <nakersha@microsoft.com>
This commit is contained in:
LauSto 2022-07-28 00:50:16 +02:00 committed by GitHub
parent 57a545e056
commit ebf1ed8c74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -301,8 +301,8 @@ This option is very fast and allows the package to be built in minutes, but is c
2. Get a pre-compiled protoc:
Get this from https://github.com/protocolbuffers/protobuf/releases/download/v3.18.1/protoc-3.18.1-linux-x86_64.zip and unzip after downloading.
The version must match the one onnxruntime is using. Currently we are using 3.18.1.
The version must match the one onnxruntime is using in `cmake/external/protobuf`. Currently we are using 3.18.1.
3. (Optional) Setup sysroot to enable python extension. *Skip if not using Python.*
Dump the root file system of the target operating system to your build machine. We'll call that folder "sysroot" and use it for build onnxruntime python extension. Before doing that, you should install python3 dev package(which contains the C header files) and numpy python package on the target machine first.