Skip to content

Commit a02d944

Browse files
committed
test
1 parent 0a64986 commit a02d944

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

.github/scripts/generate-tensorrt-test-matrix.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,24 @@
1919

2020
TENSORRT_VERSIONS_DICT = {
2121
"windows": {
22-
"10.4": {
22+
"10.4.0": {
2323
"urls": "https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/10.4.0/zip/TensorRT-10.4.0.26.Windows.win10.cuda-12.6.zip",
2424
"strip_prefix": "TensorRT-10.4.0.26",
2525
"sha256": "3a7de83778b9e9f812fd8901e07e0d7d6fc54ce633fcff2e340f994df2c6356c",
2626
},
27-
"10.5": {
27+
"10.5.0": {
2828
"urls": "https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/10.5.0/zip/TensorRT-10.5.0.18.Windows.win10.cuda-12.6.zip",
2929
"strip_prefix": "TensorRT-10.5.0.18",
3030
"sha256": "e6436f4164db4e44d727354dccf7d93755efb70d6fbfd6fa95bdfeb2e7331b24",
3131
},
3232
},
3333
"linux": {
34-
"10.4": {
34+
"10.4.0": {
3535
"urls": "https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/10.4.0/tars/TensorRT-10.4.0.26.Linux.x86_64-gnu.cuda-12.6.tar.gz",
3636
"strip_prefix": "TensorRT-10.4.0.26",
3737
"sha256": "cb0273ecb3ba4db8993a408eedd354712301a6c7f20704c52cdf9f78aa97bbdb",
3838
},
39-
"10.5": {
39+
"10.5.0": {
4040
"urls": "https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/10.5.0/tars/TensorRT-10.5.0.18.Linux.x86_64-gnu.cuda-12.6.tar.gz",
4141
"strip_prefix": "TensorRT-10.5.0.18",
4242
"sha256": "f404d379d639552a3e026cd5267213bd6df18a4eb899d6e47815bbdb34854958",
@@ -92,8 +92,9 @@ def main(args: list[str]) -> None:
9292
item["desired_cuda"] in cuda_versions
9393
and item["python_version"] in python_versions
9494
):
95-
for _, tensorrt_json in tensorrt_versions.items():
95+
for tensorrt_version, tensorrt_json in tensorrt_versions.items():
9696
new_item = copy.deepcopy(item)
97+
tensorrt_json["version"] = tensorrt_version
9798
new_item["tensorrt"] = tensorrt_json
9899
filtered_includes.append(new_item)
99100
filtered_matrix_dict = {}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ jobs:
8989
UPLOAD_TO_BASE_BUCKET: ${{ matrix.upload_to_base_bucket }}
9090
ARCH: ${{ inputs.architecture }}
9191
TENSORRT_STRIP_PREFIX: ${{ matrix.tensorrt.strip_prefix }}
92+
TENSORRT_VERSION: ${{ matrix.tensorrt.version }}
9293
TENSORRT_URLS: ${{ matrix.tensorrt.urls }}
9394
TENSORRT_SHA256: ${{ matrix.tensorrt.sha256 }}
9495
name: release_${{ matrix.build_name }}

toolchains/ci_workspaces/MODULE.bazel.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ http_archive(
7070
sha256 = "${TENSORRT_SHA256}",
7171
strip_prefix = "${TENSORRT_STRIP_PREFIX}",
7272
urls = [
73-
${TENSORRT_URLS},
73+
"${TENSORRT_URLS}",
7474
],
7575
)
7676

@@ -80,7 +80,7 @@ http_archive(
8080
sha256 = "${TENSORRT_SHA256}",
8181
strip_prefix = "${TENSORRT_STRIP_PREFIX}",
8282
urls = [
83-
${TENSORRT_URLS},
83+
"${TENSORRT_URLS}",
8484
],
8585
)
8686

0 commit comments

Comments
 (0)