Skip to content

Commit 09d5e0a

Browse files
committed
attempt 2
1 parent 9621a44 commit 09d5e0a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packaging/pre_build_script.sh

+4-3
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@ if [[ ${TENSORRT_VERSION} != "" ]]; then
2525
# this is the upgraded TensorRT version, replace current tensorrt version to the upgrade tensorRT version in the pyproject.toml
2626
# example: __tensorrt_version__: ">=10.3.0,<=10.6.0"
2727
# replace: tensorrt-cu12>=10.3.0,<=10.6.0 to tensorrt-cu12==10.8.0
28+
echo "111111111111111 TENSORRT_VERSION: ${TENSORRT_VERSION}"
2829
current_version=$(cat dev_dep_versions.yml | grep __tensorrt_version__ | sed 's/__tensorrt_version__: //g' | sed 's/"//g')
29-
sed -i -e "s/tensorrt-cu12${current_version}/tensorrt-cu12==${TENSORRT_VERSION}/g" \
30-
-e "s/tensorrt-cu12-bindings${current_version}/tensorrt-cu12-bindings==${TENSORRT_VERSION}/g" \
31-
-e "s/tensorrt-cu12-libs${current_version}/tensorrt-cu12-libs==${TENSORRT_VERSION}/g" \
30+
sed -i -e "s/tensorrt-cu12${current_version}/tensorrt-cu12==10.6.0/g" \
31+
-e "s/tensorrt-cu12-bindings${current_version}/tensorrt-cu12-bindings==10.6.0/g" \
32+
-e "s/tensorrt-cu12-libs${current_version}/tensorrt-cu12-libs==10.6.0/g" \
3233
pyproject.toml
3334
fi
3435

0 commit comments

Comments
 (0)