Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Serving
提交
f3708905
S
Serving
项目概览
PaddlePaddle
/
Serving
大约 1 年 前同步成功
通知
186
Star
833
Fork
253
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
105
列表
看板
标记
里程碑
合并请求
10
Wiki
2
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Serving
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
105
Issue
105
列表
看板
标记
里程碑
合并请求
10
合并请求
10
Pages
分析
分析
仓库分析
DevOps
Wiki
2
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
f3708905
编写于
7月 17, 2020
作者:
B
barrierye
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
remove some log info
上级
af3a6560
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
10 addition
and
10 deletion
+10
-10
tools/serving_build.sh
tools/serving_build.sh
+10
-10
未找到文件。
tools/serving_build.sh
浏览文件 @
f3708905
...
...
@@ -503,12 +503,12 @@ function java_run_test() {
# pwd: /Serving
# compile java sdk
cd
java
# pwd: /Serving/java
mvn compile
mvn
install
mvn compile
>
/dev/null
mvn
install
>
/dev/null
# compile java sdk example
cd
examples
# pwd: /Serving/java/examples
mvn compile
mvn
install
mvn compile
>
/dev/null
mvn
install
>
/dev/null
local
TYPE
=
$1
export
SERVING_BIN
=
${
SERVING_WORKDIR
}
/build-server-
${
TYPE
}
/core/general-server/serving
...
...
@@ -528,7 +528,7 @@ function java_run_test() {
# imdb (model_ensemble)
cd
../../python/examples/grpc_impl_example/imdb
# pwd: /Serving/python/examples/grpc_impl_example/imdb
sh get_data.sh
sh get_data.sh
>
/dev/null
check_cmd
"python test_multilang_ensemble_server.py > /dev/null &"
sleep
5
# wait for the server to start
cd
../../../java/examples
# /Serving/java/examples
...
...
@@ -537,8 +537,8 @@ function java_run_test() {
# yolov4 (int32)
cd
../../python/examples/grpc_impl_example/yolov4
# pwd: /Serving/python/examples/grpc_impl_example/yolov4
python
-m
paddle_serving_app.package
--get_model
yolov4
tar
-xz
vf
yolov4.tar.gz
python
-m
paddle_serving_app.package
--get_model
yolov4
>
/dev/null
tar
-xz
f
yolov4.tar.gz
>
/dev/null
check_cmd
"python -m paddle_serving_server.serve --model yolov4_model --port 9393 --use_multilang --mem_optim > /dev/null &"
cd
../../../java/examples
# /Serving/java/examples
java
-cp
target/paddle-serving-sdk-java-examples-0.0.1-jar-with-dependencies.jar PaddleServingClientExample yolov4 src/main/resources/000000570688.jpg
...
...
@@ -546,7 +546,7 @@ function java_run_test() {
# cube (load server config and client config in Server side)
cd
../../python/examples/grpc_impl_example/criteo_ctr_with_cube
# pwd: /Serving/python/examples/grpc_impl_example/criteo_ctr_with_cube
check_cmd
"wget https://paddle-serving.bj.bcebos.com/unittest/ctr_cube_unittest.tar.gz"
check_cmd
"wget https://paddle-serving.bj.bcebos.com/unittest/ctr_cube_unittest.tar.gz
> /dev/null
"
check_cmd
"tar xf ctr_cube_unittest.tar.gz"
check_cmd
"mv models/ctr_client_conf ./"
check_cmd
"mv models/ctr_serving_model_kv ./"
...
...
@@ -615,7 +615,7 @@ function python_test_grpc_impl() {
# test load server config and client config in Server side
cd
criteo_ctr_with_cube
# pwd: /Serving/python/examples/grpc_impl_example/criteo_ctr_with_cube
check_cmd
"wget https://paddle-serving.bj.bcebos.com/unittest/ctr_cube_unittest.tar.gz"
check_cmd
"wget https://paddle-serving.bj.bcebos.com/unittest/ctr_cube_unittest.tar.gz
> /dev/null
"
check_cmd
"tar xf ctr_cube_unittest.tar.gz"
check_cmd
"mv models/ctr_client_conf ./"
check_cmd
"mv models/ctr_serving_model_kv ./"
...
...
@@ -1056,8 +1056,8 @@ function main() {
build_client
$TYPE
# pwd: /Serving
build_server
$TYPE
# pwd: /Serving
build_app
$TYPE
# pwd: /Serving
python_run_test
$TYPE
# pwd: /Serving
java_run_test
$TYPE
# pwd: /Serving
python_run_test
$TYPE
# pwd: /Serving
monitor_test
$TYPE
# pwd: /Serving
echo
"serving
$TYPE
part finished as expected."
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录