Skip to content

Commit 722a2bd

Browse files
2.12 torch-tensorrt release cut (#4206)
1 parent 3602f10 commit 722a2bd

5 files changed

Lines changed: 10 additions & 10 deletions

File tree

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/cu130 -w dist"
7+
BUILD_CMD="python -m pip wheel . --extra-index-url https://download.pytorch.org/whl/test/cu130 -w dist"
88

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

py/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
numpy
22
packaging
33
pybind11==2.6.2
4-
--extra-index-url https://download.pytorch.org/whl/nightly/cu130
5-
torch>=2.12.0.dev,<2.13.0
4+
--extra-index-url https://download.pytorch.org/whl/test/cu130
5+
torch>=2.12.0,<2.13.0
66
--extra-index-url https://pypi.ngc.nvidia.com
77
pyyaml
88
dllist

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ requires = [
66
"ninja>=1.11.0",
77
"pyyaml>=6.0",
88
"cffi>=1.15.1",
9-
"torch>=2.12.0.dev,<2.13.0",
9+
"torch>=2.12.0,<2.13.0",
1010
"pybind11==2.6.2",
1111
]
1212
build-backend = "setuptools.build_meta"
@@ -152,10 +152,10 @@ conflicts = [
152152

153153
[tool.uv.sources]
154154
torch = [
155-
{ index = "pytorch-nightly-cu130" },
155+
{ index = "pytorch-test-cu130" },
156156
]
157157
torchvision = [
158-
{ index = "pytorch-nightly-cu130" },
158+
{ index = "pytorch-test-cu130" },
159159
]
160160

161161
[[tool.uv.index]]

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ def get_sbsa_requirements(base_requirements):
780780
# TensorRT does not currently build wheels for Tegra, so we need to use the local tensorrt install from the tarball for thor
781781
# also due to we use sbsa torch_tensorrt wheel for thor, so when we build sbsa wheel, we need to only include tensorrt dependency.
782782
return requirements + [
783-
"torch>=2.12.0.dev,<2.13.0",
783+
"torch>=2.12.0,<2.13.0",
784784
"tensorrt>=10.16.1,<10.17.0",
785785
]
786786

@@ -791,7 +791,7 @@ def get_x86_64_requirements(base_requirements):
791791
if IS_DLFW_CI:
792792
return requirements
793793
else:
794-
requirements = requirements + ["torch>=2.12.0.dev,<2.13.0"]
794+
requirements = requirements + ["torch>=2.12.0,<2.13.0"]
795795
if USE_TRT_RTX:
796796
return requirements + [
797797
"tensorrt_rtx>=1.4.0.76",

tests/py/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ nvidia-modelopt[all]; python_version >'3.9' and python_version <'3.13'
1414
# flashinfer-python is not supported for python version 3.13 or higher
1515
# flashinfer-python is broken on python 3.9 at the moment, so skip it for now
1616
flashinfer-python; python_version >'3.9' and python_version <'3.13'
17-
--extra-index-url https://download.pytorch.org/whl/nightly/cu130
18-
torchvision>=0.26.0.dev,<0.27.0
17+
--extra-index-url https://download.pytorch.org/whl/test/cu130
18+
torchvision>=0.26.0,<0.27.0
1919
timm>=1.0.3

0 commit comments

Comments
 (0)