Skip to content

Commit b3b5f45

Browse files
upgrade torch_tensorrt version from 2.8.0.dev to 2.9.0.dev (#3639)
1 parent eeb956d commit b3b5f45

File tree

8 files changed

+19
-19
lines changed

8 files changed

+19
-19
lines changed

.github/workflows/docgen.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
if: ${{ ! contains(github.actor, 'pytorchbot') }}
1515
environment: pytorchbot-env
1616
container:
17-
image: docker.io/pytorch/manylinux2_28-builder:cuda12.8
17+
image: docker.io/pytorch/manylinux2_28-builder:cuda12.9
1818
options: --gpus all
1919
env:
20-
CUDA_HOME: /usr/local/cuda-12.8
21-
VERSION_SUFFIX: cu128
22-
CU_VERSION: cu128
20+
CUDA_HOME: /usr/local/cuda-12.9
21+
VERSION_SUFFIX: cu129
22+
CU_VERSION: cu129
2323
CHANNEL: nightly
2424
CI_BUILD: 1
2525
steps:
@@ -35,14 +35,14 @@ jobs:
3535
- name: Install base deps
3636
run: |
3737
python3 -m pip install pip --upgrade
38-
python3 -m pip install pyyaml numpy torch --pre --extra-index-url https://download.pytorch.org/whl/nightly/cu128
38+
python3 -m pip install pyyaml numpy torch --pre --extra-index-url https://download.pytorch.org/whl/nightly/cu129
3939
./packaging/pre_build_script.sh
4040
- name: Get HEAD SHA
4141
id: vars
4242
run: echo "sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
4343
- name: Build Python Package
4444
run: |
45-
python3 -m pip install --pre . --extra-index-url https://download.pytorch.org/whl/nightly/cu128
45+
python3 -m pip install --pre . --extra-index-url https://download.pytorch.org/whl/nightly/cu129
4646
- name: Generate New Docs
4747
run: |
4848
cd docsrc

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module(
22
name = "torch_tensorrt",
3-
version = "2.8.0a0",
3+
version = "2.9.0a0",
44
repo_name = "org_pytorch_tensorrt",
55
)
66

cpp/include/torch_tensorrt/macros.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#define STR(x) XSTR(x)
2525

2626
#define TORCH_TENSORRT_MAJOR_VERSION 2
27-
#define TORCH_TENSORRT_MINOR_VERSION 6
27+
#define TORCH_TENSORRT_MINOR_VERSION 9
2828
#define TORCH_TENSORRT_PATCH_VERSION 0
2929
#define TORCH_TENSORRT_VERSION \
3030
STR(TORCH_TENSORRT_MAJOR_VERSION) \

docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
# Base image starts with CUDA
44
#TODO: cuda version
5-
ARG BASE_IMG=nvidia/cuda:12.8.0-devel-ubuntu22.04
5+
ARG BASE_IMG=nvidia/cuda:12.9.0-devel-ubuntu22.04
66
FROM ${BASE_IMG} as base
7-
ENV BASE_IMG=nvidia/cuda:12.8.0-devel-ubuntu22.04
7+
ENV BASE_IMG=nvidia/cuda:12.9.0-devel-ubuntu22.04
88

99
ARG TENSORRT_VERSION
1010
ENV TENSORRT_VERSION=${TENSORRT_VERSION}

docker/dist-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -x
44

55
TOP_DIR=$(cd $(dirname $0); pwd)/..
66

7-
BUILD_CMD="python -m pip wheel . --extra-index-url https://download.pytorch.org/whl/nightly/cu128 -w dist"
7+
BUILD_CMD="python -m pip wheel . --extra-index-url https://download.pytorch.org/whl/nightly/cu129 -w dist"
88

99
# TensorRT restricts our pip version
1010
cd ${TOP_DIR} \

py/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ numpy
22
packaging
33
pybind11==2.6.2
44
--extra-index-url https://download.pytorch.org/whl/nightly/cu129
5-
torch>=2.8.0.dev,<2.9.0
5+
torch>=2.9.0.dev,<2.10.0
66
--extra-index-url https://pypi.ngc.nvidia.com
77
pyyaml
88
dllist

pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ requires = [
1010
"future>=0.18.3",
1111
"tensorrt-cu12>=10.11.0,<10.12.0; platform_machine != 'aarch64' or (platform_machine == 'aarch64' and 'tegra' not in platform_release)",
1212
"tensorrt-cu12>=10.3.0,<10.4.0; platform_machine == 'aarch64' and 'tegra' in platform_release",
13-
"torch>=2.8.0.dev,<2.9.0; platform_machine != 'aarch64' or (platform_machine == 'aarch64' and 'tegra' not in platform_release)",
13+
"torch>=2.9.0.dev,<2.10.0; platform_machine != 'aarch64' or (platform_machine == 'aarch64' and 'tegra' not in platform_release)",
1414
"torch>=2.7.0,<2.8.0; platform_machine == 'aarch64' and 'tegra' in platform_release",
1515
"pybind11==2.6.2",
1616
"numpy; platform_machine != 'aarch64' or (platform_machine == 'aarch64' and 'tegra' not in platform_release)",
@@ -59,7 +59,7 @@ keywords = [
5959
"inference",
6060
]
6161
dependencies = [
62-
"torch>=2.8.0.dev,<2.9.0; platform_machine != 'aarch64' or (platform_machine == 'aarch64' and 'tegra' not in platform_release)",
62+
"torch>=2.9.0.dev,<2.10.0; platform_machine != 'aarch64' or (platform_machine == 'aarch64' and 'tegra' not in platform_release)",
6363
"torch>=2.7.0,<2.8.0; platform_machine == 'aarch64' and 'tegra' in platform_release",
6464

6565
"tensorrt>=10.11.0,<10.12.0; platform_machine != 'aarch64' or (platform_machine == 'aarch64' and 'tegra' not in platform_release)",
@@ -135,17 +135,17 @@ index-strategy = "unsafe-best-match"
135135

136136
[tool.uv.sources]
137137
torch = [
138-
{ index = "pytorch-nightly-cu128", marker = "platform_machine != 'aarch64' or (platform_machine == 'aarch64' and 'tegra' not in platform_release)" },
138+
{ index = "pytorch-nightly-cu129", marker = "platform_machine != 'aarch64' or (platform_machine == 'aarch64' and 'tegra' not in platform_release)" },
139139
{ index = "jetson-containers", marker = "platform_machine == 'aarch64' and 'tegra' in platform_release" },
140140
]
141141
torchvision = [
142-
{ index = "pytorch-nightly-cu128", marker = "platform_machine != 'aarch64' or (platform_machine == 'aarch64' and 'tegra' not in platform_release)" },
142+
{ index = "pytorch-nightly-cu129", marker = "platform_machine != 'aarch64' or (platform_machine == 'aarch64' and 'tegra' not in platform_release)" },
143143
{ index = "jetson-containers", marker = "platform_machine == 'aarch64' and 'tegra' in platform_release" },
144144
]
145145

146146
[[tool.uv.index]]
147-
name = "pytorch-nightly-cu128"
148-
url = "https://download.pytorch.org/whl/nightly/cu128"
147+
name = "pytorch-nightly-cu129"
148+
url = "https://download.pytorch.org/whl/nightly/cu129"
149149
explicit = false
150150

151151
[[tool.uv.index]]

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.8.0a0
1+
2.9.0a0

0 commit comments

Comments
 (0)