Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Serving
提交
fe4115a2
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看板
提交
fe4115a2
编写于
11月 07, 2019
作者:
W
wangguibao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Elastic CTR
上级
e847c753
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
111 addition
and
1002 deletion
+111
-1002
elastic-ctr/client/CMakeLists.txt
elastic-ctr/client/CMakeLists.txt
+10
-1
elastic-ctr/client/demo/data/ctr_prediction/data.txt
elastic-ctr/client/demo/data/ctr_prediction/data.txt
+100
-1000
elastic-ctr/serving/CMakeLists.txt
elastic-ctr/serving/CMakeLists.txt
+1
-1
未找到文件。
elastic-ctr/client/CMakeLists.txt
浏览文件 @
fe4115a2
...
@@ -12,14 +12,23 @@ add_dependencies(elasticctr pybind)
...
@@ -12,14 +12,23 @@ add_dependencies(elasticctr pybind)
target_link_libraries
(
elasticctr brpc configure protobuf leveldb -lcrypto
target_link_libraries
(
elasticctr brpc configure protobuf leveldb -lcrypto
-lssl -lz
)
-lssl -lz
)
set_target_properties
(
elasticctr PROPERTIES INTERFACE_LINK_LIBRARIES
""
)
add_executable
(
elastic_ctr_demo
${
CMAKE_CURRENT_LIST_DIR
}
/demo/demo.cpp
)
add_executable
(
elastic_ctr_demo
${
CMAKE_CURRENT_LIST_DIR
}
/demo/demo.cpp
)
set_target_properties
(
elastic_ctr_demo PROPERTIES LINK_LIBRARIES
""
)
target_link_libraries
(
elastic_ctr_demo elasticctr python -lpthread -lcrypto -lm -lrt
target_link_libraries
(
elastic_ctr_demo elasticctr python -lpthread -lcrypto -lm -lrt
-lssl -ldl -lz
)
-lssl -ldl -lz
)
get_filename_component
(
PYTHON_LIBRARY_REAL_PATH
${
PYTHON_LIBRARY
}
REALPATH
)
# install
# install
install
(
TARGETS elastic_ctr_demo
install
(
TARGETS elastic
ctr elastic
_ctr_demo
RUNTIME DESTINATION
RUNTIME DESTINATION
${
PADDLE_SERVING_INSTALL_DIR
}
/elastic_ctr/client/bin
LIBRARY DESTINATION
${
PADDLE_SERVING_INSTALL_DIR
}
/elastic_ctr/client/bin
)
${
PADDLE_SERVING_INSTALL_DIR
}
/elastic_ctr/client/bin
)
install
(
FILES
${
PYTHON_LIBRARY_REAL_PATH
}
DESTINATION
${
PADDLE_SERVING_INSTALL_DIR
}
/elastic_ctr/client/bin
)
install
(
DIRECTORY
${
CMAKE_CURRENT_LIST_DIR
}
/demo/conf DESTINATION
install
(
DIRECTORY
${
CMAKE_CURRENT_LIST_DIR
}
/demo/conf DESTINATION
${
PADDLE_SERVING_INSTALL_DIR
}
/elastic_ctr/client/
)
${
PADDLE_SERVING_INSTALL_DIR
}
/elastic_ctr/client/
)
install
(
DIRECTORY
${
CMAKE_CURRENT_LIST_DIR
}
/demo/data/ctr_prediction DESTINATION
install
(
DIRECTORY
${
CMAKE_CURRENT_LIST_DIR
}
/demo/data/ctr_prediction DESTINATION
...
...
elastic-ctr/client/demo/data/ctr_prediction/data.txt
浏览文件 @
fe4115a2
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
elastic-ctr/serving/CMakeLists.txt
浏览文件 @
fe4115a2
...
@@ -50,7 +50,7 @@ if (${WITH_MKL})
...
@@ -50,7 +50,7 @@ if (${WITH_MKL})
install
(
FILES
install
(
FILES
${
CMAKE_BINARY_DIR
}
/third_party/install/Paddle/third_party/install/mklml/lib/libmklml_intel.so
${
CMAKE_BINARY_DIR
}
/third_party/install/Paddle/third_party/install/mklml/lib/libmklml_intel.so
${
CMAKE_BINARY_DIR
}
/third_party/install/Paddle/third_party/install/mklml/lib/libiomp5.so
${
CMAKE_BINARY_DIR
}
/third_party/install/Paddle/third_party/install/mklml/lib/libiomp5.so
${
CMAKE_BINARY_DIR
}
/third_party/install/Paddle/third_party/install/mkldnn/lib/libmkldnn.so
${
CMAKE_BINARY_DIR
}
/third_party/install/Paddle/third_party/install/mkldnn/lib/libmkldnn.so
.0
DESTINATION
DESTINATION
${
PADDLE_SERVING_INSTALL_DIR
}
/elastic_ctr/serving/bin
)
${
PADDLE_SERVING_INSTALL_DIR
}
/elastic_ctr/serving/bin
)
endif
()
endif
()
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录