Skip to content

Commit 94d1bdd

Browse files
committed
chore: cutting release branch for 2.1.0
Signed-off-by: Naren Dasan <[email protected]> Signed-off-by: Naren Dasan <[email protected]>
1 parent 7062730 commit 94d1bdd

File tree

8 files changed

+13
-16
lines changed

8 files changed

+13
-16
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ torch.jit.save(trt_ts_module, "trt_torchscript_module.ts") # save the TRT embedd
115115

116116
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.
117117

118-
- Bazel 5.2.0
119-
- Libtorch 2.2.0.dev (latest nightly) (built with CUDA 12.1)
118+
- Bazel 6.2.1
119+
- Libtorch 2.1.0
120120
- CUDA 12.1
121121
- cuDNN 8.8.1
122122
- TensorRT 8.6.1

WORKSPACE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@ http_archive(
5454
name = "libtorch",
5555
build_file = "@//third_party/libtorch:BUILD",
5656
strip_prefix = "libtorch",
57-
urls = ["https://download.pytorch.org/libtorch/nightly/cu121/libtorch-cxx11-abi-shared-with-deps-latest.zip"],
57+
urls = ["https://download.pytorch.org/libtorch/test/cu121/libtorch-cxx11-abi-shared-with-deps-latest.zip"],
5858
)
5959

6060
http_archive(
6161
name = "libtorch_pre_cxx11_abi",
6262
build_file = "@//third_party/libtorch:BUILD",
6363
strip_prefix = "libtorch",
64-
urls = ["https://download.pytorch.org/libtorch/nightly/cu121/libtorch-shared-with-deps-latest.zip"],
64+
urls = ["https://download.pytorch.org/libtorch/test/cu121/libtorch-shared-with-deps-latest.zip"],
6565
)
6666

6767
# Download these tarballs manually from the NVIDIA website

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 2
27+
#define TORCH_TENSORRT_MINOR_VERSION 1
2828
#define TORCH_TENSORRT_PATCH_VERSION 0
2929
#define TORCH_TENSORRT_VERSION \
3030
STR(TORCH_TENSORRT_MAJOR_VERSION) \

dev_dep_versions.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
__version__: "2.2.0.dev0"
21
__cuda_version__: "12.1"
32
__cudnn_version__: "8.8"
43
__tensorrt_version__: "8.6"

py/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ numpy
22
packaging
33
pybind11==2.6.2
44
--extra-index-url https://download.pytorch.org/whl/nightly/cu121
5-
torch>=2.2.0.dev,<2.3.0
6-
torchvision>=0.16.0.dev,<0.17.0
5+
torch>=2.1.0,<2.2.0
6+
torchvision>=0.16.0,<0.17.0
77
--extra-index-url https://pypi.ngc.nvidia.com
88
tensorrt==8.6.1
99
pyyaml

pyproject.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ requires = [
99
"typing-extensions>=4.7.0",
1010
"future>=0.18.3",
1111
"tensorrt>=8.6,<8.7",
12-
"torch >=2.2.0.dev,<2.3.0",
13-
#"torch==2.1.0.dev20230731",
12+
"torch>=2.1.0,<2.2.0",
1413
"pybind11==2.6.2",
1514
"numpy",
1615
]
@@ -42,8 +41,7 @@ readme = {file = "py/README.md", content-type = "text/markdown"}
4241
requires-python = ">=3.8"
4342
keywords = ["pytorch", "torch", "tensorrt", "trt", "ai", "artificial intelligence", "ml", "machine learning", "dl", "deep learning", "compiler", "dynamo", "torchscript", "inference"]
4443
dependencies = [
45-
"torch >=2.2.0.dev,<2.3.0",
46-
#"torch==2.1.0.dev20230731",
44+
"torch>=2.1.0,<2.2.0",
4745
"tensorrt>=8.6,<8.7",
4846
"packaging>=23",
4947
"numpy",
@@ -52,7 +50,7 @@ dependencies = [
5250
dynamic = ["version"]
5351

5452
[project.optional-dependencies]
55-
torchvision = ["torchvision >=0.16.dev,<0.17.0"]
53+
torchvision = ["torchvision>=0.16.0,<0.17.0"]
5654

5755
[project.urls]
5856
Homepage = "https://pytorch.org/tensorrt"

toolchains/ci_workspaces/WORKSPACE.x86_64.release.rhel.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,14 @@ http_archive(
5959
name = "libtorch",
6060
build_file = "@//third_party/libtorch:BUILD",
6161
strip_prefix = "libtorch",
62-
urls = ["https://download.pytorch.org/libtorch/nightly/cu121/libtorch-cxx11-abi-shared-with-deps-latest.zip"],
62+
urls = ["https://download.pytorch.org/libtorch/test/cu121/libtorch-cxx11-abi-shared-with-deps-latest.zip"],
6363
)
6464

6565
http_archive(
6666
name = "libtorch_pre_cxx11_abi",
6767
build_file = "@//third_party/libtorch:BUILD",
6868
strip_prefix = "libtorch",
69-
urls = ["https://download.pytorch.org/libtorch/nightly/cu121/libtorch-shared-with-deps-latest.zip"],
69+
urls = ["https://download.pytorch.org/libtorch/test/cu121/libtorch-shared-with-deps-latest.zip"],
7070
)
7171

7272
####################################################################################

version.txt

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

0 commit comments

Comments
 (0)