Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Serving
提交
116032a7
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看板
提交
116032a7
编写于
3月 17, 2020
作者:
D
Dong Daxiang
提交者:
GitHub
3月 17, 2020
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #292 from MRXLT/general-server-py3
update inference lib to 1.7.1 && support py3
上级
b5aee430
e7e765fa
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
5 addition
and
6 deletion
+5
-6
cmake/paddlepaddle.cmake
cmake/paddlepaddle.cmake
+1
-1
python/CMakeLists.txt
python/CMakeLists.txt
+2
-3
python/paddle_serving_server/__init__.py
python/paddle_serving_server/__init__.py
+1
-1
python/paddle_serving_server_gpu/__init__.py
python/paddle_serving_server_gpu/__init__.py
+1
-1
未找到文件。
cmake/paddlepaddle.cmake
浏览文件 @
116032a7
...
...
@@ -31,7 +31,7 @@ message( "WITH_GPU = ${WITH_GPU}")
# Paddle Version should be one of:
# latest: latest develop build
# version number like 1.5.2
SET
(
PADDLE_VERSION
"1.
6.3
"
)
SET
(
PADDLE_VERSION
"1.
7.1
"
)
if
(
WITH_GPU
)
SET
(
PADDLE_LIB_VERSION
"
${
PADDLE_VERSION
}
-gpu-cuda
${
CUDA_VERSION_MAJOR
}
-cudnn7-avx-mkl"
)
...
...
python/CMakeLists.txt
浏览文件 @
116032a7
...
...
@@ -31,15 +31,14 @@ if (NOT CLIENT_ONLY)
endif
()
endif
()
set
(
SERVING_CLIENT_CORE
${
PADDLE_SERVING_BINARY_DIR
}
/core/general-client/serving_client.so
)
set
(
SERVING_CLIENT_CORE
${
PADDLE_SERVING_BINARY_DIR
}
/core/general-client/*.so
)
message
(
"python env: "
${
py_env
}
)
if
(
CLIENT_ONLY
)
add_custom_command
(
OUTPUT
${
PADDLE_SERVING_BINARY_DIR
}
/.timestamp
COMMAND cp -r
${
CMAKE_CURRENT_SOURCE_DIR
}
/paddle_serving_client/
${
PADDLE_SERVING_BINARY_DIR
}
/python/
COMMAND
${
CMAKE_COMMAND
}
-E copy
${
PADDLE_SERVING_BINARY_DIR
}
/core/general-client/serving_client.so
${
PADDLE_SERVING_BINARY_DIR
}
/python/paddle_serving_client/
COMMAND
${
CMAKE_COMMAND
}
-E copy
${
SERVING_CLIENT_CORE
}
${
PADDLE_SERVING_BINARY_DIR
}
/python/paddle_serving_client/serving_client.so
COMMAND env
${
py_env
}
${
PYTHON_EXECUTABLE
}
setup.py bdist_wheel
DEPENDS
${
SERVING_CLIENT_CORE
}
sdk_configure_py_proto
${
PY_FILES
}
)
add_custom_target
(
paddle_python ALL DEPENDS serving_client
${
PADDLE_SERVING_BINARY_DIR
}
/.timestamp
)
...
...
python/paddle_serving_server/__init__.py
浏览文件 @
116032a7
...
...
@@ -19,7 +19,7 @@ import google.protobuf.text_format
import
tarfile
import
socket
import
paddle_serving_server
as
paddle_serving_server
from
version
import
serving_server_version
from
.
version
import
serving_server_version
from
contextlib
import
closing
...
...
python/paddle_serving_server_gpu/__init__.py
浏览文件 @
116032a7
...
...
@@ -20,7 +20,7 @@ import google.protobuf.text_format
import
tarfile
import
socket
import
paddle_serving_server_gpu
as
paddle_serving_server
from
version
import
serving_server_version
from
.
version
import
serving_server_version
from
contextlib
import
closing
import
argparse
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录