Skip to content

zjd1988/tritonserver_cpp_wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tritonserver_cpp_wrapper

安装依赖

apt-get install libdw-dev   // backward 使用

3rd_party

https://github.com/imageworks/pystring.git v1.1.4
https://github.com/gulrak/filesystem.git v1.5.14
https://github.com/nothings/stb/blob/master/stb_image.h v2.29
https://github.com/Tencent/rapidjson.git v1.1.0
https://github.com/gabime/spdlog.git v1.12.0
https://github.com/jarro2783/cxxopts.git v3.3.0
https://github.com/llohse/libnpy.git v1.0.1

build

docker pull nvcr.io/nvidia/tritonserver:23.12-py3
git clone https://github.com/zjd1988/tritonserver_cpp_wrapper.git
docker run -it --gpus="device=0" -v $PWD:/workspace/tritonserver_wrapper \
    nvcr.io/nvidia/tritonserver:23.12-py3 /bin/bash
cd /workspace/tritonserver_cpp_wrapper
mkdir build && cd build
cmake .. && make -j4

<!-- mobilenetv2 model test -->
./model_infer --name mobilenetv2 --version 1 --model_repo_path /workspace/tritonserver_wrapper/test/models/

<!-- yolov5n model test -->
./model_infer --name yolov5n --version 1 --model_repo_path /workspace/tritonserver_wrapper/test/models/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published