triton-inference-server / onnxruntime_backend

The Triton backend for the ONNX Runtime.
BSD 3-Clause "New" or "Revised" License
125 stars 54 forks source link

Onnxruntime Error #182

Closed courage622 closed 1 year ago

courage622 commented 1 year ago

Description I build this onnxruntime_backend successfully,and copy libtriton_onnxruntime.so to model_repo dir. when i start tritonsever, it failed. the error message like this:

Internal: onnx runtime error 1: /workspace/onnxruntime/onnxruntime/core/framework/execution_provider.cc:164 virtual int onnxruntime::IExecutionProvider::GenerateMetaDefId(const onnxruntime::GraphViewer&, onnxruntime::HashV alue&) const metadef_id_generator_ was false. IExecutionProvider constructor must be called with true for use_metadef_id_creator

I build according the readme:

mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX:PATH=pwd/install -DTRITON_BUILD_ONNXRUNTIME_VERSION=1.9.0 -DTRITON_BUILD_CONTAINER_VERSION=21.08 .. make install

is there any special parameters when i build this onnxruntime ?