@@ -60,20 +60,6 @@ http_archive(
60
60
urls = ["https://download.pytorch.org/libtorch/${CHANNEL}/${CU_VERSION}/libtorch-cxx11-abi-shared-with-deps-latest.zip"],
61
61
)
62
62
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
-
77
63
# Download these tarballs manually from the NVIDIA website
78
64
# Either place them in the distdir directory in third_party and use the --distdir flag
79
65
# or modify the urls to "file:///<PATH TO TARBALL>/<TARBALL NAME>.tar.gz
@@ -110,17 +96,17 @@ http_archive(
110
96
# x86_64 python distribution. If using NVIDIA's version just point to the root of the package
111
97
# for both versions here and do not use --config=pre-cxx11-abi
112
98
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
+ )
118
104
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
+ )
124
110
125
111
#new_local_repository(
126
112
# name = "tensorrt",
0 commit comments