Skip to content

Commit e11ec82

Browse files
committed
fix
1 parent 3386b92 commit e11ec82

File tree

9 files changed

+23
-22
lines changed

9 files changed

+23
-22
lines changed

.github/scripts/generate-release-matrix.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55
import sys
66

77
RELEASE_CUDA_VERSION = {
8-
"wheel": ["cu124"],
9-
"tarball": ["cu124"],
8+
"wheel": ["cu128"],
9+
"tarball": ["cu128"],
1010
}
1111
RELEASE_PYTHON_VERSION = {
12-
"wheel": ["3.8", "3.9", "3.10", "3.11", "3.12"],
13-
"tarball": ["3.10"],
12+
"wheel": ["3.9", "3.10", "3.11", "3.12"],
13+
"tarball": ["3.11"],
1414
}
1515

1616
CXX11_TARBALL_CONTAINER_IMAGE = {
17-
"cu124": "pytorch/libtorch-cxx11-builder:cuda12.4-main",
17+
"cu128": "pytorch/libtorch-cxx11-builder:cuda12.8-main",
1818
}
1919

2020

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
# channel: test if the future tensorRT version test workflow is triggered from the release branch(release/2.5 etc....)
1313
CUDA_VERSIONS_DICT = {
1414
"nightly": ["cu128"],
15-
"test": ["cu124", "cu126", "cu128"],
16-
"release": ["cu124", "cu126", "cu128"],
15+
"test": ["cu118", "cu126", "cu128"],
16+
"release": ["cu118", "cu126", "cu128"],
1717
}
1818

1919
# please update the python version you want to test with the future tensorRT version here
2020
# channel: nightly if the future tensorRT version test workflow is triggered from the main branch or your personal branch
2121
# channel: test if the future tensorRT version test workflow is triggered from the release branch(release/2.5 etc....)
2222
PYTHON_VERSIONS_DICT = {
23-
"nightly": ["3.9"],
23+
"nightly": ["3.11"],
2424
"test": ["3.9", "3.10", "3.11", "3.12"],
2525
"release": ["3.9", "3.10", "3.11", "3.12"],
2626
}

.github/scripts/generate_binary_build_matrix.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
"release": ["3.9", "3.10", "3.11", "3.12"],
2525
}
2626
CUDA_ARCHES_DICT = {
27-
"nightly": ["11.8", "12.4", "12.6", "12.8"],
28-
"test": ["11.8", "12.1", "12.4"],
29-
"release": ["11.8", "12.1", "12.4"],
27+
"nightly": ["11.8", "12.6", "12.8"],
28+
"test": ["11.8", "12.6", "12.8"],
29+
"release": ["11.8", "12.6", "12.8"],
3030
}
3131
ROCM_ARCHES_DICT = {
3232
"nightly": ["6.1", "6.2"],

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ auto results = trt_mod.forward({input_tensor});
117117
These are the following dependencies used to verify the testcases. Torch-TensorRT can work with other versions, but the tests are not guaranteed to pass.
118118
119119
- Bazel 6.3.2
120-
- Libtorch 2.5.0.dev (latest nightly) (built with CUDA 12.4)
121-
- CUDA 12.4
120+
- Libtorch 2.7.0.dev (latest nightly) (built with CUDA 12.8)
121+
- CUDA 12.8
122122
- TensorRT 10.8.0.43
123123
124124
## Deprecation Policy

docker/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
# syntax=docker/dockerfile:1
22

33
# Base image starts with CUDA
4-
ARG BASE_IMG=nvidia/cuda:12.4.1-devel-ubuntu22.04
4+
#TODO: cuda version
5+
ARG BASE_IMG=nvidia/cuda:12.8.0-devel-ubuntu22.04
56
FROM ${BASE_IMG} as base
6-
ENV BASE_IMG=nvidia/cuda:12.4.1-devel-ubuntu22.04
7+
ENV BASE_IMG=nvidia/cuda:12.8.0-devel-ubuntu22.04
78

89
ARG TENSORRT_VERSION
910
ENV TENSORRT_VERSION=${TENSORRT_VERSION}
1011
RUN test -n "$TENSORRT_VERSION" || (echo "No tensorrt version specified, please use --build-arg TENSORRT_VERSION=x.y to specify a version." && exit 1)
1112

12-
ARG PYTHON_VERSION=3.10
13+
ARG PYTHON_VERSION=3.11
1314
ENV PYTHON_VERSION=${PYTHON_VERSION}
1415

1516
ARG USE_PRE_CXX11_ABI

py/ci/build_whl.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
# Example usage: docker run -it -v$(pwd):/workspace/TensorRT build_torch_tensorrt_wheel /bin/bash /workspace/TensorRT/py/ci/build_whl.sh
44

55
export CXX=g++
6-
export CUDA_HOME=/usr/local/cuda-12.4
6+
export CUDA_HOME=/usr/local/cuda-12.8
77
export PROJECT_DIR=/workspace/TensorRT
88

99
rm -rf /usr/local/cuda
1010

11-
if [[ $CUDA_HOME == "/usr/local/cuda-12.4" ]]; then
11+
if [[ $CUDA_HOME == "/usr/local/cuda-12.8" ]]; then
1212
cp -r /usr/local/cuda-11.8 /usr/local/cuda
1313
cp -r /usr/local/cuda-12.0/ /usr/local/cuda/
14-
rsync -a /usr/local/cuda-12.4/ /usr/local/cuda/
14+
rsync -a /usr/local/cuda-12.8/ /usr/local/cuda/
1515
export CUDA_HOME=/usr/local/cuda
1616
else
1717
ln -s $CUDA_HOME /usr/local/cuda

py/torch_tensorrt/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def _find_lib(name: str, paths: List[str]) -> str:
5656
ctypes.CDLL(_find_lib(lib, WIN_PATHS))
5757

5858
elif sys.platform.startswith("linux"):
59-
LINUX_PATHS = ["/usr/local/cuda-12.4/lib64", "/usr/lib", "/usr/lib64"]
59+
LINUX_PATHS = ["/usr/local/cuda-12.8/lib64", "/usr/lib", "/usr/lib64"]
6060
if "LD_LIBRARY_PATH" in os.environ:
6161
LINUX_PATHS += os.environ["LD_LIBRARY_PATH"].split(os.path.pathsep)
6262

toolchains/legacy/WORKSPACE.x86_64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ local_repository(
4343
new_local_repository(
4444
name = "cuda",
4545
build_file = "@//third_party/cuda:BUILD",
46-
path = "/usr/local/cuda-12.4/",
46+
path = "/usr/local/cuda-12.8/",
4747
)
4848

4949
new_local_repository(

toolchains/legacy/WORKSPACE.x86_64.release.ubuntu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ local_repository(
4343
new_local_repository(
4444
name = "cuda",
4545
build_file = "@//third_party/cuda:BUILD",
46-
path = "/usr/local/cuda-12.4",
46+
path = "/usr/local/cuda-12.8",
4747
)
4848

4949
new_local_repository(

0 commit comments

Comments
 (0)