server icon indicating copy to clipboard operation
server copied to clipboard

Error locating b64/decode.h while building perf analyzer in tritonclient

Open Harsharma2308 opened this issue 6 months ago • 1 comments

Description Trying to build the client on linux.

Triton Information What version of Triton are you using? Using r23.06

Are you using the Triton container or did you build it yourself? Building myself on ubuntu18.04

To Reproduce

  1. Clone client repo r23.06 branch git clone -b r23.06 https://github.com/triton-inference-server/client.git
  2. cmake -DCMAKE_INSTALL_PREFIX=pwd/install -DTRITON_ENABLE_CC_HTTP=ON -DTRITON_ENABLE_CC_GRPC=ON -DTRITON_ENABLE_PERF_ANALYZER=ON -DTRITON_ENABLE_PERF_ANALYZER_C_API=ON -DTRITON_ENABLE_PERF_ANALYZER_TFS=ON -DTRITON_ENABLE_PERF_ANALYZER_TS=ON -DTRITON_ENABLE_PYTHON_HTTP=ON -DTRITON_ENABLE_PYTHON_GRPC=ON -DTRITON_ENABLE_JAVA_HTTP=ON -DTRITON_ENABLE_GPU=ON -DTRITON_ENABLE_EXAMPLES=ON -DTRITON_ENABLE_TESTS=ON -DTRITON_COMMON_REPO_TAG=r23.06 -DTRITON_THIRD_PARTY_REPO_TAG=r23.06 -DTRITON_CORE_REPO_TAG=r23.06 ..
  3. make cc-clients python-clients java-clients
  4. Getting error with perf analyzer -
 #include <b64/decode.h>
          ^~~~~~~~~~~~~~
compilation terminated.
perf_analyzer/CMakeFiles/perf_analyzer.dir/build.make:159: recipe for target 'perf_analyzer/CMakeFiles/perf_analyzer.dir/data_loader.cc.o' failed
make[6]: *** [perf_analyzer/CMakeFiles/perf_analyzer.dir/data_loader.cc.o] Error 1
CMakeFiles/Makefile2:1818: recipe for target 'perf_analyzer/CMakeFiles/perf_analyzer.dir/all' failed
make[5]: *** [perf_analyzer/CMakeFiles/perf_analyzer.dir/all] Error 2
Makefile:135: recipe for target 'all' failed
make[4]: *** [all] Error 2
CMakeFiles/cc-clients.dir/build.make:85: recipe for target 'cc-clients/src/cc-clients-stamp/cc-clients-build' failed
make[3]: *** [cc-clients/src/cc-clients-stamp/cc-clients-build] Error 2
CMakeFiles/Makefile2:121: recipe for target 'CMakeFiles/cc-clients.dir/all' failed
make[2]: *** [CMakeFiles/cc-clients.dir/all] Error 2
CMakeFiles/Makefile2:128: recipe for target 'CMakeFiles/cc-clients.dir/rule' failed
make[1]: *** [CMakeFiles/cc-clients.dir/rule] Error 2
Makefile:124: recipe for target 'cc-clients' failed
make: *** [cc-clients] Error 2```

Harsharma2308 avatar Feb 22 '24 23:02 Harsharma2308

Could you please install the following dependencies, required for perf_analyzer

$ sudo apt update
$ sudo apt install libb64-dev

oandreeva-nv avatar Feb 24 '24 01:02 oandreeva-nv

Closing due to lack of activity. Please re-open the issue if you would like to follow up with this issue.

krishung5 avatar May 09 '24 23:05 krishung5