Giter Club home page Giter Club logo

Comments (4)

szalpal avatar szalpal commented on May 30, 2024

Hello @HoangTienDuc !
Catch2 is a submodule in dali_backend, so you need to clone recursively:

git clone --recursive [email protected]:triton-inference-server/dali_backend.git
          ^^^^^^^^^^^

How to build guide gives you details on building. Please note, that for development dali_backend itself (without the need of building tritonserver), it's more convenient to use supplied Dockerfile.

from dali_backend.

Edwardmark avatar Edwardmark commented on May 30, 2024

@szalpal similar error as follows:

RUN mkdir build_in_ci && cd build_in_ci &&     cmake                                                   -D CMAKE_INSTALL_PREFIX=/opt/tritonserver             -D CMAKE_BUILD_TYPE=Release                           -D TRITON_COMMON_REPO_TAG="r$TRITON_VERSION"          -D TRITON_CORE_REPO_TAG="r$TRITON_VERSION"            -D TRITON_BACKEND_REPO_TAG="r$TRITON_VERSION"         .. &&                                               make -j"$(grep ^processor /proc/cpuinfo | wc -l)" install
 ---> Running in 3b5951f51394
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Build configuration: Release
Scanning dependencies of target repo-common-populate
[ 11%] Creating directories for 'repo-common-populate'
[ 22%] Performing download step (git clone) for 'repo-common-populate'
Cloning into 'repo-common-src'...
fatal: invalid reference: r
CMake Error at repo-common-subbuild/repo-common-populate-prefix/tmp/repo-common-populate-gitclone.cmake:40 (message):
  Failed to checkout tag: 'r'


make[2]: *** [CMakeFiles/repo-common-populate.dir/build.make:112: repo-common-populate-prefix/src/repo-common-populate-stamp/repo-common-populate-download] Error 1
make[1]: *** [CMakeFiles/Makefile2:96: CMakeFiles/repo-common-populate.dir/all] Error 2
make: *** [Makefile:104: all] Error 2

CMake Error at /usr/local/share/cmake-3.17/Modules/FetchContent.cmake:912 (message):
  Build step for repo-common failed: 2
Call Stack (most recent call first):
  /usr/local/share/cmake-3.17/Modules/FetchContent.cmake:1003 (__FetchContent_directPopulate)
  /usr/local/share/cmake-3.17/Modules/FetchContent.cmake:1044 (FetchContent_Populate)
  CMakeLists.txt:72 (FetchContent_MakeAvailable)


Could you tell me how to deal with it? Thanks.

from dali_backend.

banasraf avatar banasraf commented on May 30, 2024

@Edwardmark
It looks like the TRITON_VERSION variable is not set. Do you build a container using one of the Dockerfiles available in the repository (docker directory)?

If you run this command in any other way (e.g. custom Dockerfile) you have to set the TRITON_VERSION variable to the version matching your triton server. (latest: 21.05)

from dali_backend.

Edwardmark avatar Edwardmark commented on May 30, 2024

@Edwardmark
It looks like the TRITON_VERSION variable is not set. Do you build a container using one of the Dockerfiles available in the repository (docker directory)?

If you run this command in any other way (e.g. custom Dockerfile) you have to set the TRITON_VERSION variable to the version matching your triton server. (latest: 21.05)

Thanks.

from dali_backend.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.