Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Crayon鑫
Paddle
提交
17adcf68
P
Paddle
项目概览
Crayon鑫
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
17adcf68
编写于
9月 24, 2021
作者:
W
Wilber
提交者:
GitHub
9月 24, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update lite branch (#36010)
上级
8caf951c
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
7 addition
and
7 deletion
+7
-7
cmake/external/lite.cmake
cmake/external/lite.cmake
+2
-2
cmake/external/xpu.cmake
cmake/external/xpu.cmake
+1
-1
paddle/scripts/paddle_build.sh
paddle/scripts/paddle_build.sh
+2
-2
tools/check_api_approvals.sh
tools/check_api_approvals.sh
+2
-2
未找到文件。
cmake/external/lite.cmake
浏览文件 @
17adcf68
...
...
@@ -197,9 +197,9 @@ set(LITE_SHARED_LIB ${LITE_BINARY_DIR}/${LITE_OUTPUT_BIN_DIR}/cxx/lib/libpaddle_
if
(
LITE_WITH_NNADAPTER
)
set
(
LITE_NNADAPTER_LIB
${
LITE_BINARY_DIR
}
/
${
LITE_OUTPUT_BIN_DIR
}
/cxx/lib/libnnadapter.so
)
if
(
NNADAPTER_WITH_HUAWEI_ASCEND_NPU
)
external_lite_libs
(
lite_nnadapter
${
LITE_BINARY_DIR
}
/
${
LITE_OUTPUT_BIN_DIR
}
/cxx/lib/libnnadapter.so
${
LITE_BINARY_DIR
}
/
${
LITE_OUTPUT_BIN_DIR
}
/cxx/lib/lib
nnadapter_driver_
huawei_ascend_npu.so
)
external_lite_libs
(
lite_nnadapter
${
LITE_BINARY_DIR
}
/
${
LITE_OUTPUT_BIN_DIR
}
/cxx/lib/libnnadapter.so
${
LITE_BINARY_DIR
}
/
${
LITE_OUTPUT_BIN_DIR
}
/cxx/lib/libhuawei_ascend_npu.so
)
set
(
LITE_DEPS lite_full_static lite_nnadapter
)
set
(
LITE_NNADAPTER_NPU_LIB
${
LITE_BINARY_DIR
}
/
${
LITE_OUTPUT_BIN_DIR
}
/cxx/lib/lib
nnadapter_driver_
huawei_ascend_npu.so
)
set
(
LITE_NNADAPTER_NPU_LIB
${
LITE_BINARY_DIR
}
/
${
LITE_OUTPUT_BIN_DIR
}
/cxx/lib/libhuawei_ascend_npu.so
)
endif
()
else
()
set
(
LITE_DEPS lite_full_static
)
...
...
cmake/external/xpu.cmake
浏览文件 @
17adcf68
...
...
@@ -35,7 +35,7 @@ ELSE ()
ENDIF
()
SET
(
XPU_BASE_URL_WITHOUT_DATE
"https://baidu-kunlun-product.cdn.bcebos.com/KL-SDK/klsdk-dev"
)
SET
(
XPU_BASE_URL
"
${
XPU_BASE_URL_WITHOUT_DATE
}
/202109
17
"
)
SET
(
XPU_BASE_URL
"
${
XPU_BASE_URL_WITHOUT_DATE
}
/202109
21
"
)
SET
(
XPU_XRE_URL
"
${
XPU_BASE_URL
}
/
${
XPU_XRE_DIR_NAME
}
.tar.gz"
CACHE STRING
""
FORCE
)
SET
(
XPU_XDNN_URL
"
${
XPU_BASE_URL
}
/
${
XPU_XDNN_DIR_NAME
}
.tar.gz"
CACHE STRING
""
FORCE
)
SET
(
XPU_XCCL_URL
"
${
XPU_BASE_URL_WITHOUT_DATE
}
/20210623/
${
XPU_XCCL_DIR_NAME
}
.tar.gz"
CACHE STRING
""
FORCE
)
...
...
paddle/scripts/paddle_build.sh
浏览文件 @
17adcf68
...
...
@@ -223,7 +223,7 @@ function cmake_base() {
-DWITH_GLOO=
${
gloo_flag
}
-DWITH_LITE=
${
WITH_LITE
:-
OFF
}
-DWITH_XPU=
${
WITH_XPU
:-
OFF
}
-DLITE_GIT_TAG=
_
release/v2.10
-DLITE_GIT_TAG=release/v2.10
-DWITH_UNITY_BUILD=
${
WITH_UNITY_BUILD
:-
OFF
}
-DWITH_XPU_BKCL=
${
WITH_XPU_BKCL
:-
OFF
}
-DWITH_ARM=
${
WITH_ARM
:-
OFF
}
...
...
@@ -266,7 +266,7 @@ EOF
-DWITH_PSCORE
=
${
distibuted_flag
}
\
-DWITH_PSLIB
=
${
WITH_PSLIB
:-
OFF
}
\
-DWITH_GLOO
=
${
gloo_flag
}
\
-DLITE_GIT_TAG
=
_
release/v2.10
\
-DLITE_GIT_TAG
=
release/v2.10
\
-DWITH_XPU
=
${
WITH_XPU
:-
OFF
}
\
-DXPU_SDK_ROOT
=
${
XPU_SDK_ROOT
:-
""
}
\
-DWITH_LITE
=
${
WITH_LITE
:-
OFF
}
\
...
...
tools/check_api_approvals.sh
浏览文件 @
17adcf68
...
...
@@ -41,13 +41,13 @@ function add_failed(){
api_params_diff
=
`
python
${
PADDLE_ROOT
}
/tools/check_api_compatible.py
${
PADDLE_ROOT
}
/paddle/fluid/API_DEV.spec
${
PADDLE_ROOT
}
/paddle/fluid/API_PR.spec
`
api_spec_diff
=
`
python
${
PADDLE_ROOT
}
/tools/diff_api.py
${
PADDLE_ROOT
}
/paddle/fluid/API_DEV.spec.api
${
PADDLE_ROOT
}
/paddle/fluid/API_PR.spec.api
`
if
[
"
$api_spec_diff
"
!=
""
-o
"
${
api_params_diff
}
"
!=
""
]
;
then
echo_line
=
"You must have one RD (XiaoguangHu01
or lanxianghit
) approval for API change.
\n
"
echo_line
=
"You must have one RD (XiaoguangHu01
, lanxianghit or Superjomn
) approval for API change.
\n
"
echo_line
=
"
${
echo_line
}
and one TPM approval for API change:
\n
"
echo_line
=
"
${
echo_line
}
jzhang533/ZhangJun, dingjiaweiww/DingJiaWei, Heeenrrry/LiKunLun, TCChenlong/ChenLong for general APIs
\n
"
echo_line
=
"
${
echo_line
}
PangHua/XiangHui for distributed related APIs
\n
"
echo_line
=
"
${
echo_line
}
twismon/WangYunKai, CheQiXiao/CheQiXiao for inference related APIs.
\n
"
check_approval 1 46782768 47554610
check_approval 1 46782768 47554610
328693
check_approval 1 29231 23093488 28379894 11935832 2682285 12050047 50894398
fi
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录