tensorflow / serving

A flexible, high-performance serving system for machine learning models

Home Page:https://www.tensorflow.org/serving

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Source Code Failed in Docker

chenzhiyin opened this issue · comments

LOG:
INFO: From Compiling tensorflow/core/kernels/data/experimental/random_access_ops.cc:
In file included from external/org_tensorflow/tensorflow/core/common_runtime/inline_function_utils.h:25:0,
from external/org_tensorflow/tensorflow/core/common_runtime/function.h:29,
from external/org_tensorflow/tensorflow/core/kernels/data/iterator_ops.h:21,
from external/org_tensorflow/tensorflow/core/kernels/data/experimental/random_access_ops.h:21,
from external/org_tensorflow/tensorflow/core/kernels/data/experimental/random_access_ops.cc:15:
external/org_tensorflow/tensorflow/core/common_runtime/lower_function_call_inline_policy.h:38:1: warning: multi-line comment [-Wcomment]
// LINT.ThenChange(inline_function_utils.h,
^
[9,325 / 9,850] 192 actions running
Compiling tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc; 16s local
Compiling tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc; 16s local
Compiling tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc; 16s local
Compiling tensorflow/core/grappler/optimizers/tfg_optimizer_hook.cc; 16s local
Compiling tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc; 16s local
Compiling tensorflow/core/kernels/fft_ops.cc; 16s local
Compiling tensorflow/core/kernels/argmax_op.cc; 16s local
Compiling tensorflow/core/kernels/split_op.cc; 16s local ...

Server terminated abruptly (error code: 14, error message: 'Connection reset by peer', log file: '/home/zhiyin/projects/serving/.cache/_bazel_root/24cbe6b2638461940994566e72e59e3d/server/jvm.out')

BUILD COMMAND
sudo sh tools/run_in_docker.sh bazel build tensorflow_serving/model_servers:tensorflow_model_server

branch: master

I also have tried the code with tags:2.5.2 and the image with tage:2.5.2-devel. It is always terminated abruptly with err code 14.
Furthermore, the "jvm.out" file is empty.

I have been successful to compile the source code on another machine. Maybe, I guess the failure has no business with the source code.