Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.12 KB

Server.md

File metadata and controls

27 lines (19 loc) · 1.12 KB

Build ONNX Runtime Server on Linux

Deprecation Note: This feature is deprecated and no longer supported.

Read more about ONNX Runtime Server here.

Prerequisites

  1. golang
  2. grpc. Please be aware that the docs at "https://grpc.io/docs/quickstart/cpp/" is outdated, because building with make on UNIX systems is deprecated.
  3. re2
  4. cmake
  5. gcc and g++
  6. onnxruntime C API binaries. Please get it from github releases then extract it to your "/usr" or "/usr/local" folder.

See install_server_deps.sh for more details.

Build Instructions

cd server
mkdir build
cmake -DCMAKE_BUILD_TYPE=Debug ..
make

ONNX Runtime Server supports sending logs to rsyslog daemon. To enable it, please run the cmake command with an additional parameter: -Donnxruntime_USE_SYSLOG=1.