Skip to content

Commit 1c7aebd

Browse files
committed
test
1 parent e11eaa3 commit 1c7aebd

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/scripts/filter-matrix.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@
1313
# jetpack 6.2 only officially supports python 3.10 and cu126
1414
jetpack_python_versions: List[str] = ["3.10"]
1515
jetpack_cuda_versions: List[str] = ["cu126"]
16-
# rtx 1.2 currently only supports cu129 and cu130
16+
# rtx 1.3 currently only supports cu129 and cu130
1717
rtx_cuda_versions: List[str] = ["cu129", "cu130"]
18-
# trt 10.14.1 currently only supports cu129 and cu130
19-
trt_cuda_versions: List[str] = ["cu126", "cu128", "cu129", "cu130"]
18+
# CUDA versions for TensorRT: aarch64 only supports cu130, x86 supports cu126/128/129/130
19+
trt_cuda_versions_x86: List[str] = ["cu126", "cu128", "cu129", "cu130"]
20+
trt_cuda_versions_aarch64: List[str] = ["cu130"]
2021

2122
jetpack_container_image: str = "nvcr.io/nvidia/l4t-jetpack:r36.4.0"
2223
sbsa_container_image: str = "quay.io/pypa/manylinux_2_39_aarch64"
@@ -60,6 +61,11 @@ def filter_matrix_item(
6061
if item["desired_cuda"] not in rtx_cuda_versions:
6162
return False
6263
else:
64+
# Select CUDA versions based on architecture
65+
if item["gpu_arch_type"] == "cuda-aarch64":
66+
trt_cuda_versions = trt_cuda_versions_aarch64
67+
else:
68+
trt_cuda_versions = trt_cuda_versions_x86
6369
if item["desired_cuda"] not in trt_cuda_versions:
6470
return False
6571
if item["gpu_arch_type"] == "cuda-aarch64":

0 commit comments

Comments
 (0)