Skip to content

Commit 16f5d0d

Browse files
committed
Revert "with_pypi_cudnn_experiment"
This reverts commit c9145a6. - Also upgrades to Jun 19 nightly and changes CI WORKSPACE
1 parent 0e5e62e commit 16f5d0d

File tree

8 files changed

+31
-29
lines changed

8 files changed

+31
-29
lines changed

.circleci/config.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -252,13 +252,13 @@ commands:
252252
parameters:
253253
torch-build:
254254
type: string
255-
default: "2.1.0.dev20230613+cu121"
255+
default: "2.1.0.dev20230619+cu121.with.pypi.cudnn"
256256
torchvision-build:
257257
type: string
258-
default: "0.16.0.dev20230613+cu121"
258+
default: "0.16.0.dev20230619+cu121"
259259
torch-build-index:
260260
type: string
261-
default: "https://download.pytorch.org/whl/nightly/cu121"
261+
default: "https://download.pytorch.org/whl/nightly/cu121_pypi_cudnn"
262262
torchvision-build-index:
263263
type: string
264264
default: "https://download.pytorch.org/whl/nightly/cu121"
@@ -1338,13 +1338,13 @@ parameters:
13381338
# Nightly platform config
13391339
torch-build:
13401340
type: string
1341-
default: "2.1.0.dev20230613+cu121"
1341+
default: "2.1.0.dev20230619+cu121.with.pypi.cudnn"
13421342
torchvision-build:
13431343
type: string
1344-
default: "0.16.0.dev20230613+cu121"
1344+
default: "0.16.0.dev20230619+cu121"
13451345
torch-build-index:
13461346
type: string
1347-
default: "https://download.pytorch.org/whl/nightly/cu121"
1347+
default: "https://download.pytorch.org/whl/nightly/cu121_pypi_cudnn"
13481348
torch-build-legacy:
13491349
type: string
13501350
default: "1.13.1+cu117"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ torch.jit.save(trt_ts_module, "trt_torchscript_module.ts") # save the TRT embedd
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

118118
- Bazel 5.2.0
119-
- Libtorch 2.1.0.dev20230613 (built with CUDA 12.1)
119+
- Libtorch 2.1.0.dev20230619 (built with CUDA 12.1)
120120
- CUDA 12.1
121121
- cuDNN 8.9.1
122122
- TensorRT 8.6.1

WORKSPACE

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,17 @@ new_local_repository(
5151
http_archive(
5252
name = "libtorch",
5353
build_file = "@//third_party/libtorch:BUILD",
54-
sha256 = "1c3712b3b1de34e9989549f53675b557f6f0ca0b800ccbbc80c941af68abcc65",
54+
sha256 = "5ba55259b65e071346a2b547b8d1378595f1467a39aaa923fecb09f134f1bcba",
5555
strip_prefix = "libtorch",
56-
urls = ["https://download.pytorch.org/libtorch/nightly/cu121/libtorch-cxx11-abi-shared-with-deps-2.1.0.dev20230613%2Bcu121.zip"],
56+
urls = ["https://download.pytorch.org/libtorch/nightly/cu121/libtorch-cxx11-abi-shared-with-deps-2.1.0.dev20230619%2Bcu121.zip"],
5757
)
5858

5959
http_archive(
6060
name = "libtorch_pre_cxx11_abi",
6161
build_file = "@//third_party/libtorch:BUILD",
62-
sha256 = "6bbb53f2f9533804175a0d2eeae5093ee1907158a9ec75c7fb9d10e2103d5df5",
62+
sha256 = "8f6661bfc11597e77400e9e36cc8dd8e5e385ba82361d630d9ccede8518d7c7e",
6363
strip_prefix = "libtorch",
64-
urls = ["https://download.pytorch.org/libtorch/nightly/cu121/libtorch-shared-with-deps-2.1.0.dev20230613%2Bcu121.zip"],
64+
urls = ["https://download.pytorch.org/libtorch/nightly/cu121/libtorch-shared-with-deps-2.1.0.dev20230619%2Bcu121.zip"],
6565
)
6666

6767
# Download these tarballs manually from the NVIDIA website

py/requirements.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ numpy
22
packaging
33
pybind11==2.6.2
44
--extra-index-url https://download.pytorch.org/whl/nightly/cu121
5-
#--extra-index-url https://download.pytorch.org/whl/nightly/cu121_pypi_cudnn
6-
torch==2.1.0.dev20230613+cu121#.with.pypi.cudnn
7-
torchvision==0.16.0.dev20230613+cu121
5+
torch==2.1.0.dev20230619+cu121
6+
torchvision==0.16.0.dev20230619+cu121
87
--extra-index-url https://pypi.ngc.nvidia.com
98
tensorrt==8.6.1

py/torch_tensorrt/dynamo/backend/lowering/_decompositions.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ def inplace_op(*args, **kwargs):
3434
replace_inplace_op(aten.index_reduce_, aten.index_reduce)
3535
replace_inplace_op(aten.logit_, aten.logit)
3636
replace_inplace_op(aten.relu_, aten.relu)
37-
replace_inplace_op(aten.renorm_, aten.renorm)
3837
replace_inplace_op(aten.round_, aten.round)
3938
replace_inplace_op(aten.scatter_, aten.scatter)
4039
replace_inplace_op(aten.scatter_add_, aten.scatter_add)

toolchains/ci_workspaces/WORKSPACE.x86_64

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,20 @@ new_local_repository(
6161
# x86_64 python distribution. If using NVIDIA's version just point to the root of the package
6262
# for both versions here and do not use --config=pre-cxx11-abi
6363

64-
new_local_repository(
64+
http_archive(
6565
name = "libtorch",
66-
path = "/opt/circleci/.pyenv/versions/3.9.4/lib/python3.9/site-packages/torch",
67-
build_file = "third_party/libtorch/BUILD"
66+
build_file = "@//third_party/libtorch:BUILD",
67+
sha256 = "5ba55259b65e071346a2b547b8d1378595f1467a39aaa923fecb09f134f1bcba",
68+
strip_prefix = "libtorch",
69+
urls = ["https://download.pytorch.org/libtorch/nightly/cu121/libtorch-cxx11-abi-shared-with-deps-2.1.0.dev20230619%2Bcu121.zip"],
6870
)
6971

70-
new_local_repository(
72+
http_archive(
7173
name = "libtorch_pre_cxx11_abi",
72-
path = "/opt/circleci/.pyenv/versions/3.9.4/lib/python3.9/site-packages/torch",
73-
build_file = "third_party/libtorch/BUILD"
74+
build_file = "@//third_party/libtorch:BUILD",
75+
sha256 = "8f6661bfc11597e77400e9e36cc8dd8e5e385ba82361d630d9ccede8518d7c7e",
76+
strip_prefix = "libtorch",
77+
urls = ["https://download.pytorch.org/libtorch/nightly/cu121/libtorch-shared-with-deps-2.1.0.dev20230619%2Bcu121.zip"],
7478
)
7579

7680
new_local_repository(

toolchains/ci_workspaces/WORKSPACE.x86_64.release.rhel

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,17 @@ new_local_repository(
5656
http_archive(
5757
name = "libtorch",
5858
build_file = "@//third_party/libtorch:BUILD",
59-
sha256 = "1c3712b3b1de34e9989549f53675b557f6f0ca0b800ccbbc80c941af68abcc65",
59+
sha256 = "5ba55259b65e071346a2b547b8d1378595f1467a39aaa923fecb09f134f1bcba",
6060
strip_prefix = "libtorch",
61-
urls = ["https://download.pytorch.org/libtorch/nightly/cu121/libtorch-cxx11-abi-shared-with-deps-2.1.0.dev20230613%2Bcu121.zip"],
61+
urls = ["https://download.pytorch.org/libtorch/nightly/cu121/libtorch-cxx11-abi-shared-with-deps-2.1.0.dev20230619%2Bcu121.zip"],
6262
)
6363

6464
http_archive(
6565
name = "libtorch_pre_cxx11_abi",
6666
build_file = "@//third_party/libtorch:BUILD",
67-
sha256 = "6bbb53f2f9533804175a0d2eeae5093ee1907158a9ec75c7fb9d10e2103d5df5",
67+
sha256 = "8f6661bfc11597e77400e9e36cc8dd8e5e385ba82361d630d9ccede8518d7c7e",
6868
strip_prefix = "libtorch",
69-
urls = ["https://download.pytorch.org/libtorch/nightly/cu121/libtorch-shared-with-deps-2.1.0.dev20230613%2Bcu121.zip"],
69+
urls = ["https://download.pytorch.org/libtorch/nightly/cu121/libtorch-shared-with-deps-2.1.0.dev20230619%2Bcu121.zip"],
7070
)
7171

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

toolchains/ci_workspaces/WORKSPACE.x86_64.release.ubuntu

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,17 @@ new_local_repository(
5656
http_archive(
5757
name = "libtorch",
5858
build_file = "@//third_party/libtorch:BUILD",
59-
sha256 = "1c3712b3b1de34e9989549f53675b557f6f0ca0b800ccbbc80c941af68abcc65",
59+
sha256 = "5ba55259b65e071346a2b547b8d1378595f1467a39aaa923fecb09f134f1bcba",
6060
strip_prefix = "libtorch",
61-
urls = ["https://download.pytorch.org/libtorch/nightly/cu121/libtorch-cxx11-abi-shared-with-deps-2.1.0.dev20230613%2Bcu121.zip"],
61+
urls = ["https://download.pytorch.org/libtorch/nightly/cu121/libtorch-cxx11-abi-shared-with-deps-2.1.0.dev20230619%2Bcu121.zip"],
6262
)
6363

6464
http_archive(
6565
name = "libtorch_pre_cxx11_abi",
6666
build_file = "@//third_party/libtorch:BUILD",
67-
sha256 = "6bbb53f2f9533804175a0d2eeae5093ee1907158a9ec75c7fb9d10e2103d5df5",
67+
sha256 = "8f6661bfc11597e77400e9e36cc8dd8e5e385ba82361d630d9ccede8518d7c7e",
6868
strip_prefix = "libtorch",
69-
urls = ["https://download.pytorch.org/libtorch/nightly/cu121/libtorch-shared-with-deps-2.1.0.dev20230613%2Bcu121.zip"],
69+
urls = ["https://download.pytorch.org/libtorch/nightly/cu121/libtorch-shared-with-deps-2.1.0.dev20230619%2Bcu121.zip"],
7070
)
7171

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

0 commit comments

Comments
 (0)