From 981c0e38d6c743c32e8810c9240399970128d8b4 Mon Sep 17 00:00:00 2001 From: Misha Chornyi Date: Wed, 15 Apr 2026 09:09:37 -0700 Subject: [PATCH 1/4] feat(TRI-286): add auditwheel to sdk_build stage of Dockerfile.sdk auditwheel is required by build_wheel.py --linux to auto-discover the correct manylinux platform tag from actual glibc symbol dependencies, replacing the previous hard-coded per-arch tag strings. --- Dockerfile.sdk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.sdk b/Dockerfile.sdk index 0df4f399b8..2ce57c73f9 100644 --- a/Dockerfile.sdk +++ b/Dockerfile.sdk @@ -84,7 +84,7 @@ RUN apt-get update && \ software-properties-common \ vim \ wget && \ - pip3 install --upgrade "grpcio-tools<1.68" cmake==4.0.3 + pip3 install --upgrade "grpcio-tools<1.68" cmake==4.0.3 auditwheel ENV CMAKE_POLICY_MINIMUM_REQUIRED=3.5 From 7364aa28d681a3539e50dca62de906c3dd00eac1 Mon Sep 17 00:00:00 2001 From: Misha Chornyi Date: Wed, 15 Apr 2026 15:49:47 -0700 Subject: [PATCH 2/4] fix(TRI-286): install py3-none-any wheel in SDK image The SDK cmake build (TRITON_ENABLE_PERF_ANALYZER=OFF, no cuda_shared_memory .so) produces a pure Python tritonclient wheel. Using build_wheel.py --linux for the SDK is unnecessary and results in an unnormalized py3-none-manylinux tag (none ABI + platform-specific tag is contradictory). Switch to the generic py3-none-any wheel that cmake always produces. This is the correct normalized tag for a pure Python package. --- Dockerfile.sdk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.sdk b/Dockerfile.sdk index 2ce57c73f9..6fa260c46a 100644 --- a/Dockerfile.sdk +++ b/Dockerfile.sdk @@ -197,7 +197,7 @@ COPY qa/images/mug.jpg images/mug.jpg # be used to run the client examples. RUN pip3 install --upgrade "numpy<2" pillow attrdict && \ find install/python/ -maxdepth 1 -type f -name \ - "tritonclient-*linux*.whl" | xargs printf -- '%s[all]' | \ + "tritonclient-*-any.whl" | xargs printf -- '%s[all]' | \ xargs pip3 install --upgrade # Install GenAI-Perf From 7239e5cb3eca9f79341fdae8806bff3f9fda9a62 Mon Sep 17 00:00:00 2001 From: Misha Chornyi Date: Wed, 15 Apr 2026 16:25:20 -0700 Subject: [PATCH 3/4] fix(TRI-286): update whl glob to match py3-none-any wheel tritonclient is now pure Python (no native extensions after PR #797). Both generic and linux cmake wheel targets produce py3-none-any.whl. Update find patterns in Dockerfile.sdk, Dockerfile.QA, and setup_python_enviroment.sh to match the correct wheel filename. --- Dockerfile.QA | 2 +- Dockerfile.sdk | 2 +- qa/L0_backend_python/setup_python_enviroment.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile.QA b/Dockerfile.QA index 5c04db5843..a8ffbd8a19 100644 --- a/Dockerfile.QA +++ b/Dockerfile.QA @@ -376,7 +376,7 @@ COPY --chown=1000:1000 --from=sdk /workspace/qa/ qa/ # install the tritonserver/triton python client APIs. RUN rm -fr qa/L0_copyrights qa/L0_build_variants && \ find qa/pkgs/ -maxdepth 1 -type f -name \ - "tritonclient-*linux*.whl" | xargs printf -- '%s[all]' | \ + "tritonclient-*-py3-none-any.whl" | xargs printf -- '%s[all]' | \ xargs pip3 install --upgrade ENV LD_LIBRARY_PATH /opt/tritonserver/qa/clients:${LD_LIBRARY_PATH} diff --git a/Dockerfile.sdk b/Dockerfile.sdk index 6fa260c46a..14373ecff4 100644 --- a/Dockerfile.sdk +++ b/Dockerfile.sdk @@ -197,7 +197,7 @@ COPY qa/images/mug.jpg images/mug.jpg # be used to run the client examples. RUN pip3 install --upgrade "numpy<2" pillow attrdict && \ find install/python/ -maxdepth 1 -type f -name \ - "tritonclient-*-any.whl" | xargs printf -- '%s[all]' | \ + "tritonclient-*-py3-none-any.whl" | xargs printf -- '%s[all]' | \ xargs pip3 install --upgrade # Install GenAI-Perf diff --git a/qa/L0_backend_python/setup_python_enviroment.sh b/qa/L0_backend_python/setup_python_enviroment.sh index ea93cd551b..ce6be322ba 100755 --- a/qa/L0_backend_python/setup_python_enviroment.sh +++ b/qa/L0_backend_python/setup_python_enviroment.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2023-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright 2023-2026, 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 @@ -109,7 +109,7 @@ rm -f /usr/bin/python3 && \ ln -s "/usr/bin/python3.${PYTHON_ENV_VERSION}" /usr/bin/python3 pip3 install --upgrade requests numpy virtualenv protobuf find /opt/tritonserver/qa/pkgs/ -maxdepth 1 -type f -name \ - "tritonclient-*linux*.whl" | xargs printf -- '%s[all]' | \ + "tritonclient-*-py3-none-any.whl" | xargs printf -- '%s[all]' | \ xargs pip3 install --upgrade # Build triton-shm-monitor for the test From 09efa517d90e611afe4de65dfe1adb0ad1f108f6 Mon Sep 17 00:00:00 2001 From: Misha Chornyi Date: Thu, 16 Apr 2026 22:48:02 +0000 Subject: [PATCH 4/4] Update L0_sdk --- qa/L0_sdk/test.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/qa/L0_sdk/test.sh b/qa/L0_sdk/test.sh index f309cf4c67..84c6f429fb 100755 --- a/qa/L0_sdk/test.sh +++ b/qa/L0_sdk/test.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2019-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright 2019-2026, 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 @@ -153,11 +153,9 @@ fi # we need to replace the text here as well to match the normalized version. WHLVERSION=`cat /workspace/TRITON_VERSION | sed 's/dev/\.dev0/'` if [[ "aarch64" != $(uname -m) ]] ; then - WHLS="tritonclient-${WHLVERSION}-py3-none-any.whl \ - tritonclient-${WHLVERSION}-py3-none-manylinux1_x86_64.whl" + WHLS="tritonclient-${WHLVERSION}-py3-none-any.whl" else - WHLS="tritonclient-${WHLVERSION}-py3-none-any.whl \ - tritonclient-${WHLVERSION}-py3-none-manylinux2014_aarch64.whl" + WHLS="tritonclient-${WHLVERSION}-py3-none-any.whl" fi for l in $WHLS; do if [[ ! -f "triton_client/python/$l" ]]; then