Skip to content

Commit 14673ab

Browse files
committed
change all default py to 3.11
1 parent 8642311 commit 14673ab

File tree

7 files changed

+12
-7
lines changed

7 files changed

+12
-7
lines changed

.github/workflows/build-test-tensorrt-linux.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
test-infra-ref: main
2121
with-rocm: false
2222
with-cpu: false
23+
python-versions: '["3.11"]'
2324

2425
generate-tensorrt-matrix:
2526
needs: [generate-matrix]
@@ -29,7 +30,7 @@ jobs:
2930
steps:
3031
- uses: actions/setup-python@v5
3132
with:
32-
python-version: '3.10'
33+
python-version: '3.11'
3334
- uses: actions/checkout@v4
3435
with:
3536
repository: pytorch/tensorrt

.github/workflows/build-test-tensorrt-windows.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
test-infra-ref: main
2121
with-rocm: false
2222
with-cpu: false
23+
python-versions: '["3.11"]'
2324

2425
generate-tensorrt-matrix:
2526
needs: [generate-matrix]
@@ -29,7 +30,7 @@ jobs:
2930
steps:
3031
- uses: actions/setup-python@v5
3132
with:
32-
python-version: '3.10'
33+
python-version: '3.11'
3334
- uses: actions/checkout@v4
3435
with:
3536
repository: pytorch/tensorrt

.github/workflows/build-test-windows.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
test-infra-ref: main
2424
with-rocm: false
2525
with-cpu: false
26+
python-versions: '["3.11"]'
2627

2728
substitute-runner:
2829
needs: generate-matrix

.github/workflows/release-linux.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
test-infra-ref: main
2525
with-rocm: false
2626
with-cpu: false
27+
python-versions: '["3.11"]'
2728

2829
generate-release-tarball-matrix:
2930
needs: [generate-matrix]
@@ -33,7 +34,7 @@ jobs:
3334
steps:
3435
- uses: actions/setup-python@v5
3536
with:
36-
python-version: '3.10'
37+
python-version: '3.11'
3738
- uses: actions/checkout@v4
3839
with:
3940
repository: pytorch/tensorrt
@@ -83,7 +84,7 @@ jobs:
8384
steps:
8485
- uses: actions/setup-python@v5
8586
with:
86-
python-version: '3.10'
87+
python-version: '3.11'
8788
- uses: actions/checkout@v4
8889
with:
8990
repository: pytorch/tensorrt

.github/workflows/release-wheel-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ jobs:
241241
name: ${{ env.ARTIFACT_NAME }}
242242
path: ${{ inputs.repository }}/release/wheel/
243243
- name: Upload pre-cxx11 tarball to GitHub
244-
if: ${{ inputs.cxx11-tarball-release != 'true' && env.PYTHON_VERSION == '3.10' }}
244+
if: ${{ inputs.cxx11-tarball-release != 'true' && env.PYTHON_VERSION == '3.11' }}
245245
continue-on-error: true
246246
uses: actions/upload-artifact@v4
247247
with:

.github/workflows/release-windows.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
test-infra-ref: main
2525
with-rocm: false
2626
with-cpu: false
27+
python-versions: '["3.11"]'
2728

2829
generate-release-matrix:
2930
needs: [generate-matrix]
@@ -33,7 +34,7 @@ jobs:
3334
steps:
3435
- uses: actions/setup-python@v5
3536
with:
36-
python-version: '3.10'
37+
python-version: '3.11'
3738
- uses: actions/checkout@v4
3839
with:
3940
repository: pytorch/tensorrt

docker/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* The `Dockerfile` currently uses <a href="https://github.com/bazelbuild/bazelisk">Bazelisk</a> to select the Bazel version, and uses the exact library versions of Torch and CUDA listed in <a href="https://github.com/pytorch/TensorRT#dependencies">dependencies</a>.
66
* The desired versions of TensorRT must be specified as build-args, with major and minor versions as in: `--build-arg TENSORRT_VERSION=a.b`
77
* [**Optional**] The desired base image be changed by explicitly setting a base image, as in `--build-arg BASE_IMG=nvidia/cuda:11.8.0-devel-ubuntu22.04`, though this is optional.
8-
* [**Optional**] Additionally, the desired Python version can be changed by explicitly setting a version, as in `--build-arg PYTHON_VERSION=3.10`, though this is optional as well.
8+
* [**Optional**] Additionally, the desired Python version can be changed by explicitly setting a version, as in `--build-arg PYTHON_VERSION=3.11`, though this is optional as well.
99

1010
* This `Dockerfile` installs `cxx11-abi` versions of Pytorch and builds Torch-TRT using `cxx11-abi` libtorch as well. As of torch 2.7, torch requires `cxx11-abi` for all CUDA 11.8, 12.4, 12.6, and later versions.
1111

0 commit comments

Comments
 (0)