@@ -60,20 +60,6 @@ http_archive(
6060 urls = ["https://download.pytorch.org/libtorch/${CHANNEL}/${CU_VERSION}/libtorch-cxx11-abi-shared-with-deps-latest.zip"],
6161)
6262
63- http_archive(
64- name = "libtorch_pre_cxx11_abi",
65- build_file = "@//third_party/libtorch:BUILD",
66- strip_prefix = "libtorch",
67- urls = ["https://download.pytorch.org/libtorch/${CHANNEL}/${CU_VERSION}/libtorch-shared-with-deps-latest.zip"],
68- )
69-
70- http_archive(
71- name = "libtorch_win",
72- build_file = "@//third_party/libtorch:BUILD",
73- strip_prefix = "libtorch",
74- urls = ["https://download.pytorch.org/libtorch/${CHANNEL}/${CU_VERSION}/libtorch-win-shared-with-deps-latest.zip"],
75- )
76-
7763# Download these tarballs manually from the NVIDIA website
7864# Either place them in the distdir directory in third_party and use the --distdir flag
7965# or modify the urls to "file:///<PATH TO TARBALL>/<TARBALL NAME>.tar.gz
@@ -110,17 +96,17 @@ http_archive(
11096# x86_64 python distribution. If using NVIDIA's version just point to the root of the package
11197# for both versions here and do not use --config=pre-cxx11-abi
11298
113- # new_local_repository(
114- # name = "libtorch ",
115- # path = "${TORCH_INSTALL_PATH}",
116- # build_file = "third_party/libtorch/BUILD"
117- # )
99+ new_local_repository(
100+ name = "libtorch_win ",
101+ path = "${TORCH_INSTALL_PATH}",
102+ build_file = "third_party/libtorch/BUILD"
103+ )
118104
119- # new_local_repository(
120- # name = "libtorch_pre_cxx11_abi",
121- # path = "${TORCH_INSTALL_PATH}",
122- # build_file = "third_party/libtorch/BUILD"
123- #
105+ new_local_repository(
106+ name = "libtorch_pre_cxx11_abi",
107+ path = "${TORCH_INSTALL_PATH}",
108+ build_file = "third_party/libtorch/BUILD"
109+ )
124110
125111#new_local_repository(
126112# name = "tensorrt",
0 commit comments