forked from google-parfait/tensorflow-federated
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
138 lines (109 loc) · 3.6 KB
/
WORKSPACE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
workspace(name = "org_tensorflow_federated")
load(
"@bazel_tools//tools/build_defs/repo:git.bzl",
"git_repository",
"new_git_repository",
)
#
# Direct dependencies
#
git_repository(
name = "bazel_skylib",
remote = "https://github.com/bazelbuild/bazel-skylib.git",
tag = "1.3.0",
)
git_repository(
name = "com_google_absl",
commit = "66665d8d2e3fedff340b83f9841ca427145a7b26",
remote = "https://github.com/abseil/abseil-cpp.git",
)
git_repository(
name = "com_google_googletest",
remote = "https://github.com/google/googletest.git",
tag = "release-1.12.1",
)
git_repository(
name = "com_google_protobuf",
remote = "https://github.com/protocolbuffers/protobuf.git",
tag = "v3.21.9",
)
git_repository(
name = "org_tensorflow",
# The version of this dependency should match the version in
# https://github.com/tensorflow/federated/blob/main/requirements.txt.
patches = [
# Depending on restricted visibility BUILD target om external git
# repository does not seem to be supported.
# E.g. issue: https://github.com/bazelbuild/bazel/issues/3744
# TODO: b/263201501 - Make DTensor C++ API public and remove this patch.
"//third_party/tensorflow:dtensor_internal_visibility.patch",
"//third_party/tensorflow:internal_visibility.patch",
"//third_party/tensorflow:python_toolchain.patch",
"//third_party/tensorflow:tf2xla_visibility.patch",
],
remote = "https://github.com/tensorflow/tensorflow.git",
tag = "v2.14.0",
)
git_repository(
name = "pybind11_abseil",
commit = "38111ef06d426f75bb335a3b58aa0342f6ce0ce3",
remote = "https://github.com/pybind/pybind11_abseil.git",
)
git_repository(
name = "pybind11_protobuf",
commit = "80f3440cd8fee124e077e2e47a8a17b78b451363",
remote = "https://github.com/pybind/pybind11_protobuf.git",
)
git_repository(
name = "rules_license",
remote = "https://github.com/bazelbuild/rules_license.git",
tag = "0.0.4",
)
git_repository(
name = "rules_python",
remote = "https://github.com/bazelbuild/rules_python.git",
tag = "0.5.0",
)
git_repository(
name = "tensorflow_compression",
remote = "https://github.com/tensorflow/compression.git",
# The version of this dependency should match the version in
# https://github.com/tensorflow/federated/blob/main/requirements.txt.
tag = "v2.14.0",
)
#
# Inlined transitive dependencies, grouped by direct dependency.
#
# Required by pybind11_abseil and pybind11_protobuf
new_git_repository(
name = "pybind11",
build_file = "@pybind11_bazel//:pybind11.BUILD",
remote = "https://github.com/pybind/pybind11.git",
tag = "v2.9.2",
)
#
# Transitive dependencies, grouped by direct dependency.
#
load("@org_tensorflow//tensorflow:workspace3.bzl", "tf_workspace3")
tf_workspace3()
load("@org_tensorflow//tensorflow:workspace2.bzl", "tf_workspace2")
tf_workspace2()
load("@org_tensorflow//tensorflow:workspace1.bzl", "tf_workspace1")
tf_workspace1()
load("@org_tensorflow//tensorflow:workspace0.bzl", "tf_workspace0")
tf_workspace0()
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
protobuf_deps()
git_repository(
name = "com_github_grpc_grpc",
remote = "https://github.com/grpc/grpc.git",
tag = "v1.59.1",
)
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
grpc_deps()
# TODO: b/260598663 - Temporarily disable the direct dependency on
# `grpc_extra_deps`, for now we pick this dependency up via TensorFlows
# workspace.
# load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
#
# grpc_extra_deps()