@@ -4,6 +4,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
4
4
load ("@bazel_tools//tools/build_defs/repo:git.bzl" , "git_repository" )
5
5
6
6
7
+
8
+
7
9
http_archive (
8
10
name = "rules_python" ,
9
11
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(
32
34
build_file = "@//third_party/cuda:BUILD" ,
33
35
)
34
36
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
+
35
45
http_archive (
36
46
name = "libtorch" ,
37
47
build_file = "@//third_party/libtorch:BUILD" ,
@@ -43,17 +53,15 @@ http_archive(
43
53
# Downloaded distributions to use with --distdir
44
54
http_archive (
45
55
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" ],
48
57
build_file = "@//third_party/cudnn/archive:BUILD" ,
49
58
sha256 = "600267f2caaed2fd58eb214ba669d8ea35f396a7d19b94822e6b36f9f7088c20" ,
50
59
strip_prefix = "cuda"
51
60
)
52
61
53
62
http_archive (
54
63
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" ],
57
65
build_file = "@//third_party/tensorrt/archive:BUILD" ,
58
66
sha256 = "c7d73b2585b18aae68b740249efa8c8ba5ae852abe9a023720595432a8eb4efd" ,
59
67
strip_prefix = "TensorRT-7.0.0.11"
0 commit comments