From d54fe387f1721626450f208c50b2bad0b241949c Mon Sep 17 00:00:00 2001 From: lanluo-nvidia Date: Thu, 25 Jul 2024 20:42:33 -0700 Subject: [PATCH 1/2] cherry pick from 3041 back to main --- .github/workflows/release-wheel-linux.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-wheel-linux.yml b/.github/workflows/release-wheel-linux.yml index 3977b82336..702df9825a 100644 --- a/.github/workflows/release-wheel-linux.yml +++ b/.github/workflows/release-wheel-linux.yml @@ -201,12 +201,12 @@ jobs: if [[ "${{ inputs.cxx11-tarball-release }}" == "true" ]]; then bazel build //:libtorchtrt --compilation_mode opt --config=default cp bazel-bin/libtorchtrt.tar.gz \ - release/tarball/libtorchtrt-${TORCHTRT_VERSION}-tensorrt${TENSORRT_VERSION}-cuda${CU_VERSION}-libtorch${PYTORCH_VERSION}-x86_64-linux.tar.gz + release/tarball/libtorchtrt-${BUILD_VERSION}-tensorrt${TRT_VERSION}-cuda${CU_VERSION}-libtorch${PYTORCH_VERSION}-x86_64-linux.tar.gz else ${CONDA_RUN} python setup.py bdist_wheel --release cp bazel-bin/libtorchtrt.tar.gz \ - release/tarball/libtorchtrt-${BUILD_VERSION}-pre-cxx11-abi-tensorrt${TRT_VERSION}-cuda${CU_VERSION}-libtorch${BUILD_VERSION}-x86_64-linux.tar.gz + release/tarball/libtorchtrt-${BUILD_VERSION}-pre-cxx11-abi-tensorrt${TRT_VERSION}-cuda${CU_VERSION}-libtorch${PYTORCH_VERSION}-x86_64-linux.tar.gz ${CONDA_RUN} python -m pip install auditwheel ${CONDA_RUN} python -m auditwheel repair \ From 8c9ebe625710e1a0d042fe52bd99e1b681cb2d70 Mon Sep 17 00:00:00 2001 From: lanluo-nvidia Date: Thu, 25 Jul 2024 20:45:44 -0700 Subject: [PATCH 2/2] test --- .github/workflows/release-wheel-linux.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-wheel-linux.yml b/.github/workflows/release-wheel-linux.yml index 702df9825a..7f3cef4801 100644 --- a/.github/workflows/release-wheel-linux.yml +++ b/.github/workflows/release-wheel-linux.yml @@ -201,12 +201,12 @@ jobs: if [[ "${{ inputs.cxx11-tarball-release }}" == "true" ]]; then bazel build //:libtorchtrt --compilation_mode opt --config=default cp bazel-bin/libtorchtrt.tar.gz \ - release/tarball/libtorchtrt-${BUILD_VERSION}-tensorrt${TRT_VERSION}-cuda${CU_VERSION}-libtorch${PYTORCH_VERSION}-x86_64-linux.tar.gz + release/tarball/libtorchtrt-${BUILD_VERSION}-tensorrt${TRT_VERSION}-cuda${CU_VERSION:2}-libtorch${PYTORCH_VERSION}-x86_64-linux.tar.gz else ${CONDA_RUN} python setup.py bdist_wheel --release cp bazel-bin/libtorchtrt.tar.gz \ - release/tarball/libtorchtrt-${BUILD_VERSION}-pre-cxx11-abi-tensorrt${TRT_VERSION}-cuda${CU_VERSION}-libtorch${PYTORCH_VERSION}-x86_64-linux.tar.gz + release/tarball/libtorchtrt-${BUILD_VERSION}-pre-cxx11-abi-tensorrt${TRT_VERSION}-cuda${CU_VERSION:2}-libtorch${PYTORCH_VERSION}-x86_64-linux.tar.gz ${CONDA_RUN} python -m pip install auditwheel ${CONDA_RUN} python -m auditwheel repair \