Pass computes value to libyolo_layer build (#10210)

This commit is contained in:
Nate Meyer
2024-03-05 07:04:13 -05:00
committed by GitHub
parent 30b68e59f2
commit 390403d957
4 changed files with 9 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ git clone --depth 1 https://github.com/NateMeyer/tensorrt_demos.git -b condition
if [ ! -e /usr/local/cuda ]; then
ln -s /usr/local/cuda-* /usr/local/cuda
fi
cd ./tensorrt_demos/plugins && make all -j$(nproc)
cd ./tensorrt_demos/plugins && make all -j$(nproc) computes="${COMPUTE_LEVEL:-}"
cp libyolo_layer.so /usr/local/lib/libyolo_layer.so
# Store yolo scripts for later conversion