Skip to content

Commit b849867

Browse files
committed
Merge commit for internal changes
2 parents 21dd5f5 + 2328aef commit b849867

File tree

6 files changed

+16
-69
lines changed

6 files changed

+16
-69
lines changed

WORKSPACE

Lines changed: 5 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,11 @@
1-
new_http_archive(
2-
name = "gmock_archive",
3-
url = "https://googlemock.googlecode.com/files/gmock-1.7.0.zip",
4-
sha256 = "26fcbb5925b74ad5fc8c26b0495dfc96353f4d553492eb97e85a8a6d2f43095b",
5-
build_file = "tensorflow/google/protobuf/gmock.BUILD",
6-
)
7-
8-
new_http_archive(
9-
name = "eigen_archive",
10-
url = "https://bitbucket.org/eigen/eigen/get/70505a059011.tar.gz",
11-
sha256 = "9751bd3485a9b373bc1b40626feac37484099e54b2b47a93d3da8bf1312a7beb",
12-
build_file = "tensorflow/eigen.BUILD",
13-
)
14-
15-
bind(
16-
name = "gtest",
17-
actual = "@gmock_archive//:gtest",
18-
)
19-
20-
bind(
21-
name = "gtest_main",
22-
actual = "@gmock_archive//:gtest_main",
23-
)
24-
251
local_repository(
26-
name = "tf",
27-
path = __workspace_dir__ + "/tensorflow",
2+
name = "tf",
3+
path = __workspace_dir__ + "/tensorflow",
284
)
295

6+
load('//tensorflow/tensorflow:workspace.bzl', 'tf_workspace')
7+
tf_workspace("tensorflow/")
8+
309
# ===== gRPC dependencies =====
3110

3211
bind(
@@ -58,37 +37,3 @@ new_http_archive(
5837
strip_prefix = "zlib-1.2.8",
5938
url = "http://zlib.net/zlib128.zip",
6039
)
61-
62-
# =========================
63-
64-
git_repository(
65-
name = "re2",
66-
remote = "https://github.com/google/re2.git",
67-
commit = "791beff",
68-
)
69-
70-
new_http_archive(
71-
name = "jpeg_archive",
72-
url = "http://www.ijg.org/files/jpegsrc.v9a.tar.gz",
73-
sha256 = "3a753ea48d917945dd54a2d97de388aa06ca2eb1066cbfdc6652036349fe05a7",
74-
build_file = "tensorflow/jpeg.BUILD",
75-
)
76-
77-
new_http_archive(
78-
name = "png_archive",
79-
url = "https://storage.googleapis.com/libpng-public-archive/libpng-1.2.53.tar.gz",
80-
sha256 = "e05c9056d7f323088fd7824d8c6acc03a4a758c4b4916715924edc5dd3223a72",
81-
build_file = "tensorflow/png.BUILD",
82-
)
83-
84-
new_http_archive(
85-
name = "six_archive",
86-
url = "https://pypi.python.org/packages/source/s/six/six-1.10.0.tar.gz#md5=34eed507548117b2ab523ab14b2f8b55",
87-
sha256 = "105f8d68616f8248e24bf0e9372ef04d3cc10104f1980f54d57b2ce73a5ad56a",
88-
build_file = "tensorflow/six.BUILD",
89-
)
90-
91-
bind(
92-
name = "six",
93-
actual = "@six_archive//:six",
94-
)

grpc

Submodule grpc updated 566 files

tensorflow

Submodule tensorflow updated 377 files

tensorflow_serving/BUILD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ licenses(["notice"]) # Apache 2.0
88

99
exports_files(["LICENSE"])
1010

11+
# open source marker; do not remove
12+
1113
package_group(
1214
name = "internal",
1315
packages = [

tensorflow_serving/g3doc/setup.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,21 @@ To compile and use TensorFlow Serving, you need to set up some prerequisites.
66

77
### Bazel
88

9-
TensorFlow Serving requires Bazel 0.1.5 or higher. You can find the Bazel
9+
TensorFlow Serving requires Bazel 0.2.0 or higher. You can find the Bazel
1010
installation instructions [here](http://bazel.io/docs/install.html).
1111

1212
If you have the prerequisites for Bazel, those instructions consist of the
1313
following steps:
1414

1515
1. Download the relevant binary from
1616
[here](https://github.com/bazelbuild/bazel/releases).
17-
Let's say you downloaded bazel-0.1.5-installer-linux-x86_64.sh. You would
17+
Let's say you downloaded bazel-0.2.0-installer-linux-x86_64.sh. You would
1818
execute:
1919

2020
~~~shell
2121
cd ~/Downloads
22-
chmod +x bazel-0.1.5-installer-linux-x86_64.sh
23-
./bazel-0.1.5-installer-linux-x86_64.sh --user
22+
chmod +x bazel-0.2.0-installer-linux-x86_64.sh
23+
./bazel-0.2.0-installer-linux-x86_64.sh --user
2424
~~~
2525
2. Set up your environment. Put this in your ~/.bashrc.
2626

tensorflow_serving/servables/tensorflow/serving_session.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ class ServingSession : public Session {
3535
~ServingSession() override = default;
3636

3737
// Methods that return errors.
38-
Status Create(const GraphDef& graph) override;
39-
Status Extend(const GraphDef& graph) override;
40-
Status Close() override;
38+
Status Create(const GraphDef& graph) final;
39+
Status Extend(const GraphDef& graph) final;
40+
Status Close() final;
4141

4242
// (Subclasses just implement Run().)
4343
};

0 commit comments

Comments
 (0)