Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions qa/L0_backend_bls/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ git clone --single-branch --depth=1 -b $TRITON_BACKEND_REPO_TAG \
(cd backend/examples/backends/bls &&
mkdir build &&
cd build &&
export CMAKE_POLICY_VERSION_MINIMUM=3.5 &&
cmake -DCMAKE_INSTALL_PREFIX:PATH=`pwd`/install \
-DTRITON_REPO_ORGANIZATION:STRING=${TRITON_REPO_ORGANIZATION} \
-DTRITON_BACKEND_REPO_TAG=${TRITON_BACKEND_REPO_TAG} \
Expand Down
2 changes: 2 additions & 0 deletions qa/L0_backend_python/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ create_python_backend_stub() {
rm -rf python_backend
git clone ${TRITON_REPO_ORGANIZATION}/python_backend -b $PYTHON_BACKEND_REPO_TAG
CUDA_PATH=$(readlink -f /usr/local/cuda)
export CMAKE_POLICY_VERSION_MINIMUM=3.5
(cd python_backend/ && mkdir builddir && cd builddir && \
export CMAKE_POLICY_VERSION_MINIMUM=3.5 && \
cmake -DTRITON_ENABLE_GPU=ON -DCMAKE_CUDA_COMPILER=$CUDA_PATH/bin/nvcc \
-DCUDAToolkit_ROOT=$CUDA_PATH -DTRITON_REPO_ORGANIZATION:STRING=${TRITON_REPO_ORGANIZATION} \
-DTRITON_BACKEND_REPO_TAG=$TRITON_BACKEND_REPO_TAG -DTRITON_COMMON_REPO_TAG=$TRITON_COMMON_REPO_TAG \
Expand Down
1 change: 1 addition & 0 deletions qa/L0_backend_python/setup_python_enviroment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ find /opt/tritonserver/qa/pkgs/ -maxdepth 1 -type f -name \

# Build triton-shm-monitor for the test
cd python_backend && rm -rf install build && mkdir build && cd build && \
export CMAKE_POLICY_VERSION_MINIMUM=3.5 && \
cmake -DCMAKE_INSTALL_PREFIX:PATH=$PWD/install \
-DTRITON_REPO_ORGANIZATION:STRING=${TRITON_REPO_ORGANIZATION} \
-DTRITON_COMMON_REPO_TAG:STRING=${TRITON_COMMON_REPO_TAG} \
Expand Down
3 changes: 2 additions & 1 deletion qa/L0_backend_python/variants/test.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Copyright 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright 2021-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
Expand Down Expand Up @@ -34,6 +34,7 @@ rm -rf python_backend

git clone ${TRITON_REPO_ORGANIZATION}/python_backend -b $PYTHON_BACKEND_REPO_TAG
(cd python_backend/ && mkdir builddir && cd builddir && \
export CMAKE_POLICY_VERSION_MINIMUM=3.5 && \
cmake -DTRITON_ENABLE_GPU=OFF -DTRITON_REPO_ORGANIZATION:STRING=${TRITON_REPO_ORGANIZATION} -DTRITON_BACKEND_REPO_TAG=$TRITON_BACKEND_REPO_TAG -DTRITON_COMMON_REPO_TAG=$TRITON_COMMON_REPO_TAG -DTRITON_CORE_REPO_TAG=$TRITON_CORE_REPO_TAG ../ && \
make -j18 install)

Expand Down
2 changes: 2 additions & 0 deletions qa/L0_backend_tutorial/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ git clone --single-branch --depth=1 -b $TRITON_BACKEND_REPO_TAG \
(cd backend/examples/backends/minimal &&
mkdir build &&
cd build &&
export CMAKE_POLICY_VERSION_MINIMUM=3.5 && \
cmake -DCMAKE_INSTALL_PREFIX:PATH=`pwd`/install \
-DTRITON_REPO_ORGANIZATION:STRING=${TRITON_REPO_ORGANIZATION} \
-DTRITON_BACKEND_REPO_TAG=${TRITON_BACKEND_REPO_TAG} \
Expand Down Expand Up @@ -140,6 +141,7 @@ rm -fr /opt/tritonserver/backends/minimal
(cd backend/examples/backends/recommended &&
mkdir build &&
cd build &&
export CMAKE_POLICY_VERSION_MINIMUM=3.5 && \
cmake -DCMAKE_INSTALL_PREFIX:PATH=`pwd`/install \
-DTRITON_REPO_ORGANIZATION:STRING=${TRITON_REPO_ORGANIZATION} \
-DTRITON_BACKEND_REPO_TAG=${TRITON_BACKEND_REPO_TAG} \
Expand Down
2 changes: 2 additions & 0 deletions qa/L0_batch_custom/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ git clone --single-branch --depth=1 -b $TRITON_BACKEND_REPO_TAG \
(cd backend/examples/batching_strategies/volume_batching &&
mkdir build &&
cd build &&
export CMAKE_POLICY_VERSION_MINIMUM=3.5 && \
cmake -DCMAKE_INSTALL_PREFIX:PATH=`pwd`/install \
-DTRITON_REPO_ORGANIZATION:STRING=${TRITON_REPO_ORGANIZATION} \
-DTRITON_BACKEND_REPO_TAG=${TRITON_BACKEND_REPO_TAG} \
Expand All @@ -98,6 +99,7 @@ git clone --single-branch --depth=1 -b $TRITON_BACKEND_REPO_TAG \
(cd backend/examples/batching_strategies/single_batching &&
mkdir build &&
cd build &&
export CMAKE_POLICY_VERSION_MINIMUM=3.5 && \
cmake -DCMAKE_INSTALL_PREFIX:PATH=`pwd`/install \
-DTRITON_REPO_ORGANIZATION:STRING=${TRITON_REPO_ORGANIZATION} \
-DTRITON_BACKEND_REPO_TAG=${TRITON_BACKEND_REPO_TAG} \
Expand Down
6 changes: 6 additions & 0 deletions qa/L0_client_build_variants/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ TRITON_COMMON_REPO_TAG=${TRITON_COMMON_REPO_TAG:="main"}

(cd /workspace/build && \
rm -fr cc-clients java-clients python-clients && \
export CMAKE_POLICY_VERSION_MINIMUM=3.5 && \
cmake -DCMAKE_INSTALL_PREFIX=/workspace/install \
-DTRITON_ENABLE_CC_HTTP=ON \
-DTRITON_ENABLE_CC_GRPC=ON \
Expand Down Expand Up @@ -85,6 +86,7 @@ fi
#
(cd /workspace/build && \
rm -fr cc-clients python-clients && \
export CMAKE_POLICY_VERSION_MINIMUM=3.5 && \
cmake -DCMAKE_INSTALL_PREFIX=/workspace/install \
-DTRITON_ENABLE_CC_HTTP=OFF \
-DTRITON_ENABLE_CC_GRPC=ON \
Expand Down Expand Up @@ -112,6 +114,7 @@ fi
#
(cd /workspace/build && \
rm -fr cc-clients python-clients && \
export CMAKE_POLICY_VERSION_MINIMUM=3.5 && \
cmake -DCMAKE_INSTALL_PREFIX=/workspace/install \
-DTRITON_ENABLE_CC_HTTP=ON \
-DTRITON_ENABLE_CC_GRPC=OFF \
Expand Down Expand Up @@ -141,6 +144,7 @@ mkdir -p /workspace/build
# Build without C API in Perf Analyzer
#
(cd /workspace/build && \
export CMAKE_POLICY_VERSION_MINIMUM=3.5 && \
cmake -DCMAKE_INSTALL_PREFIX=/workspace/install \
-DTRITON_ENABLE_CC_HTTP=ON \
-DTRITON_ENABLE_CC_GRPC=ON \
Expand All @@ -166,6 +170,7 @@ fi
#
(cd /workspace/build && \
rm -fr cc_clients perf_analyzer && \
export CMAKE_POLICY_VERSION_MINIMUM=3.5 && \
cmake -DCMAKE_INSTALL_PREFIX=/workspace/install \
-DTRITON_ENABLE_CC_HTTP=ON \
-DTRITON_ENABLE_CC_GRPC=ON \
Expand All @@ -191,6 +196,7 @@ fi
#
(cd /workspace/build && \
rm -fr cc_clients perf_analyzer && \
export CMAKE_POLICY_VERSION_MINIMUM=3.5 && \
cmake -DCMAKE_INSTALL_PREFIX=/workspace/install \
-DTRITON_ENABLE_CC_HTTP=ON \
-DTRITON_ENABLE_CC_GRPC=ON \
Expand Down
3 changes: 2 additions & 1 deletion qa/L0_perf_kaldi/test.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
# Copyright (c) 2020-2025, NVIDIA CORPORATION. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
Expand Down Expand Up @@ -48,6 +48,7 @@ pip3 install --upgrade wheel setuptools grpcio-tools

# Build client library and kaldi perf client
(cd triton-inference-server/build && \
export CMAKE_POLICY_VERSION_MINIMUM=3.5 && \
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX:PATH=/workspace/install && \
make -j16 trtis-clients)
Expand Down
Loading