@@ -4,6 +4,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
44load ("@bazel_tools//tools/build_defs/repo:git.bzl" , "git_repository" )
55
66
7+
8+
79http_archive (
810 name = "rules_python" ,
911 url = "https://github.com/bazelbuild/rules_python/releases/download/0.0.1/rules_python-0.0.1.tar.gz" ,
@@ -32,6 +34,14 @@ new_local_repository(
3234 build_file = "@//third_party/cuda:BUILD" ,
3335)
3436
37+ http_archive (
38+ name = "libtorch_non_cxx11_abi" ,
39+ build_file = "@//third_party/libtorch:BUILD" ,
40+ strip_prefix = "libtorch" ,
41+ sha256 = "ea8de17c5f70015583f3a7a43c7a5cdf91a1d4bd19a6a7bc11f074ef6cd69e27" ,
42+ urls = ["https://download.pytorch.org/libtorch/cu102/libtorch-shared-with-deps-1.5.0.zip" ],
43+ )
44+
3545http_archive (
3646 name = "libtorch" ,
3747 build_file = "@//third_party/libtorch:BUILD" ,
@@ -43,17 +53,15 @@ http_archive(
4353# Downloaded distributions to use with --distdir
4454http_archive (
4555 name = "cudnn" ,
46- urls = ["https://developer.nvidia.com/compute/machine-learning/cudnn/secure/7.6.5.32/Production/10.2_20191118/cudnn-10.2-linux-x64-v7.6.5.32.tgz" ,],
47-
56+ urls = ["https://developer.nvidia.com/compute/machine-learning/cudnn/secure/7.6.5.32/Production/10.2_20191118/cudnn-10.2-linux-x64-v7.6.5.32.tgz" ],
4857 build_file = "@//third_party/cudnn/archive:BUILD" ,
4958 sha256 = "600267f2caaed2fd58eb214ba669d8ea35f396a7d19b94822e6b36f9f7088c20" ,
5059 strip_prefix = "cuda"
5160)
5261
5362http_archive (
5463 name = "tensorrt" ,
55- urls = ["https://developer.nvidia.com/compute/machine-learning/tensorrt/secure/7.0/7.0.0.11/tars/TensorRT-7.0.0.11.Ubuntu-18.04.x86_64-gnu.cuda-10.2.cudnn7.6.tar.gz" ,],
56-
64+ urls = ["https://developer.nvidia.com/compute/machine-learning/tensorrt/secure/7.0/7.0.0.11/tars/TensorRT-7.0.0.11.Ubuntu-18.04.x86_64-gnu.cuda-10.2.cudnn7.6.tar.gz" ],
5765 build_file = "@//third_party/tensorrt/archive:BUILD" ,
5866 sha256 = "c7d73b2585b18aae68b740249efa8c8ba5ae852abe9a023720595432a8eb4efd" ,
5967 strip_prefix = "TensorRT-7.0.0.11"
0 commit comments