triton-inference-server / fil_backend

FIL backend for the Triton Inference Server
Apache License 2.0
68 stars 35 forks source link

CMake build issue when using cmake --build #375

Closed Tabrizian closed 8 months ago

Tabrizian commented 8 months ago

The issue has been resolved after merging https://github.com/triton-inference-server/fil_backend/pull/372 and https://github.com/triton-inference-server/fil_backend/pull/371 but posting issue for here for completeness.

  1. git clone https://github.com/triton-inference-server/fil_backend -b r23.12
  2. mkdir build && cd build
  3. cmake DTRITON_FIL_DOCKER_BUILD:BOOL=ON -DTRITON_BUILD_CONTAINER=gitlab-master.nvidia.com:5005/dl/dgx/cuda:12.3-devel-ubuntu22.04--23.12 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=/tmp/tritonbuild/fil/install -DTRITON_COMMON_REPO_TAG:STRING=main -DTRITON_CORE_REPO_TAG:STRING=main -DTRITON_BACKEND_REPO_TAG:STRING=main -DTRITON_ENABLE_GPU:BOOL=ON -DTRITON_ENABLE_MALI_GPU:BOOL=OFF ..
  4. cmake --build .

Error:

Error: could not find CMAKE_PROJECT_NAME in Cache