Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Serving
提交
c66eb3a7
S
Serving
项目概览
PaddlePaddle
/
Serving
大约 1 年 前同步成功
通知
185
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
c66eb3a7
编写于
3月 12, 2021
作者:
H
HexToString
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
delete unused change
上级
84c3dc93
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
0 addition
and
15 deletion
+0
-15
CMakeLists.txt
CMakeLists.txt
+0
-3
core/predictor/framework/infer_data.h
core/predictor/framework/infer_data.h
+0
-4
core/predictor/src/pdserving.cpp
core/predictor/src/pdserving.cpp
+0
-8
未找到文件。
CMakeLists.txt
100644 → 100755
浏览文件 @
c66eb3a7
...
@@ -18,9 +18,6 @@ set(PADDLE_SERVING_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
...
@@ -18,9 +18,6 @@ set(PADDLE_SERVING_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
set
(
PADDLE_SERVING_BINARY_DIR
${
CMAKE_CURRENT_BINARY_DIR
}
)
set
(
PADDLE_SERVING_BINARY_DIR
${
CMAKE_CURRENT_BINARY_DIR
}
)
SET
(
PADDLE_SERVING_INSTALL_DIR
${
CMAKE_BINARY_DIR
}
/output
)
SET
(
PADDLE_SERVING_INSTALL_DIR
${
CMAKE_BINARY_DIR
}
/output
)
SET
(
CMAKE_INSTALL_RPATH
"
\$
ORIGIN"
"
${
CMAKE_INSTALL_RPATH
}
"
)
SET
(
CMAKE_INSTALL_RPATH
"
\$
ORIGIN"
"
${
CMAKE_INSTALL_RPATH
}
"
)
SET
(
CMAKE_BUILD_TYPE
"Debug"
)
SET
(
CMAKE_CXX_FLAGS_DEBUG
"$ENV{CXXFLAGS} -O0 -Wall -g -ggdb"
)
SET
(
CMAKE_CXX_FLAGS_RELEASE
"$ENV{CXXFLAGS} -O3 -Wall"
)
include
(
system
)
include
(
system
)
project
(
paddle-serving CXX C
)
project
(
paddle-serving CXX C
)
...
...
core/predictor/framework/infer_data.h
浏览文件 @
c66eb3a7
...
@@ -39,10 +39,6 @@ class DataBuf {
...
@@ -39,10 +39,6 @@ class DataBuf {
size_t
size
()
const
{
return
_size
;
}
size_t
size
()
const
{
return
_size
;
}
void
set_owned
(
bool
owned
){
_owned
=
owned
;
}
void
free
()
{
void
free
()
{
_size
=
0
;
_size
=
0
;
if
(
_owned
)
{
if
(
_owned
)
{
...
...
core/predictor/src/pdserving.cpp
浏览文件 @
c66eb3a7
...
@@ -118,8 +118,6 @@ int ut_main(int argc, char** argv) {
...
@@ -118,8 +118,6 @@ int ut_main(int argc, char** argv) {
#else
#else
int
main
(
int
argc
,
char
**
argv
)
{
int
main
(
int
argc
,
char
**
argv
)
{
#endif
#endif
try
{
google
::
ParseCommandLineFlags
(
&
argc
,
&
argv
,
true
);
google
::
ParseCommandLineFlags
(
&
argc
,
&
argv
,
true
);
if
(
FLAGS_V
)
{
if
(
FLAGS_V
)
{
...
@@ -241,11 +239,5 @@ try
...
@@ -241,11 +239,5 @@ try
google
::
ShutdownGoogleLogging
();
google
::
ShutdownGoogleLogging
();
#endif
#endif
VLOG
(
2
)
<<
"Paddle Inference Server exit successfully!"
;
VLOG
(
2
)
<<
"Paddle Inference Server exit successfully!"
;
}
catch
(
const
std
::
exception
&
exc
)
{
// catch anything thrown within try block that derives from std::exception
std
::
cerr
<<
exc
.
what
();
}
return
0
;
return
0
;
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录