triton-inference-server / openvino_backend

OpenVINO backend for Triton.
BSD 3-Clause "New" or "Revised" License
29 stars 16 forks source link

Revert "Add support for models with dynamic shapes (#69)" #70

Closed nv-kmcgill53 closed 8 months ago

nv-kmcgill53 commented 8 months ago

This reverts commit a68ca46bc88a324982a0f35e9785d92a283466bf.

The commit we are reverting breaks our build with the following error:

/tmp/tritonbuild/openvino/src/openvino.cc: In member function 'TRITONSERVER_Error* triton::backend::openvino::ModelState::ValidateInputs(size_t)':
/tmp/tritonbuild/openvino/src/openvino.cc:572:20: error: cannot convert 'std::string' {aka 'std::__cxx11::basic_string<char>'} to 'const char*'
  572 |               std::string("openvino backend does dimensions values other than "
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                    |
      |                    std::string {aka std::__cxx11::basic_string<char>}
  573 |                           "-1 or positive integers"));
      |                           ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/tritonbuild/openvino/build/_deps/repo-core-src/include/triton/core/tritonbackend.h:31,
                 from /tmp/tritonbuild/openvino/build/_deps/repo-backend-src/include/triton/backend/backend_common.h:39,
                 from /tmp/tritonbuild/openvino/src/openvino_utils.h:35,
                 from /tmp/tritonbuild/openvino/src/openvino.cc:33:
/tmp/tritonbuild/openvino/build/_deps/repo-core-src/include/triton/core/tritonserver.h:324:47: note:   initializing argument 2 of 'TRITONSERVER_Error* TRITONSERVER_ErrorNew(TRITONSERVER_Error_Code, const char*)'
  324 |     TRITONSERVER_Error_Code code, const char* msg);
      |                                   ~~~~~~~~~~~~^~~