Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle
提交
4a374c60
P
Paddle
项目概览
PaddlePaddle
/
Paddle
1 年多 前同步成功
通知
2302
Star
20931
Fork
5422
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1423
列表
看板
标记
里程碑
合并请求
543
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1,423
Issue
1,423
列表
看板
标记
里程碑
合并请求
543
合并请求
543
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
4a374c60
编写于
4月 13, 2023
作者:
J
jjyaoao
提交者:
GitHub
4月 13, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
delete WITH_ASCEND_CL (#52825)
* delete WITH_ASCEND_CL * delete NPU/ and WITH_MLU
上级
48ccb785
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
4 addition
and
6 deletion
+4
-6
paddle/fluid/operators/controlflow/while_op_helper.cc
paddle/fluid/operators/controlflow/while_op_helper.cc
+3
-3
paddle/phi/backends/context_pool.cc
paddle/phi/backends/context_pool.cc
+1
-1
tools/coverage/paddle_coverage_new.sh
tools/coverage/paddle_coverage_new.sh
+0
-2
未找到文件。
paddle/fluid/operators/controlflow/while_op_helper.cc
浏览文件 @
4a374c60
...
@@ -233,9 +233,9 @@ bool GetCondData(const phi::DenseTensor &cond) {
...
@@ -233,9 +233,9 @@ bool GetCondData(const phi::DenseTensor &cond) {
framework
::
TensorCopySync
(
cond
,
platform
::
CPUPlace
(),
cpu_cond
.
get
());
framework
::
TensorCopySync
(
cond
,
platform
::
CPUPlace
(),
cpu_cond
.
get
());
#else
#else
PADDLE_THROW
(
platform
::
errors
::
PreconditionNotMet
(
PADDLE_THROW
(
platform
::
errors
::
PreconditionNotMet
(
"This version of PaddlePaddle does NOT support GPU/
NPU/
XPU but got "
"This version of PaddlePaddle does NOT support GPU/XPU but got "
"GPU/
NPU/
XPU tensor Cond in WhileOp. Please compile WITH_GPU or "
"GPU/XPU tensor Cond in WhileOp. Please compile WITH_GPU or "
"WITH_
ASCEND_CL or WITH_
XPU option."
));
"WITH_XPU option."
));
#endif
#endif
return
cpu_cond
->
data
<
bool
>
()[
0
];
return
cpu_cond
->
data
<
bool
>
()[
0
];
}
}
...
...
paddle/phi/backends/context_pool.cc
浏览文件 @
4a374c60
...
@@ -72,7 +72,7 @@ phi::DeviceContext* DeviceContextPool::Get(const phi::Place& place) {
...
@@ -72,7 +72,7 @@ phi::DeviceContext* DeviceContextPool::Get(const phi::Place& place) {
if
(
it
==
ptr
->
end
())
{
if
(
it
==
ptr
->
end
())
{
PADDLE_THROW
(
phi
::
errors
::
Unimplemented
(
PADDLE_THROW
(
phi
::
errors
::
Unimplemented
(
"Place %s is not supported. Please check that your paddle compiles "
"Place %s is not supported. Please check that your paddle compiles "
"with WITH_GPU, WITH_XPU
, WITH_IPU, WITH_MLU or WITH_ASCEND_CL
option "
"with WITH_GPU, WITH_XPU
or WITH_IPU
option "
"or check "
"or check "
"that your train process set the correct device id if you use "
"that your train process set the correct device id if you use "
"Executor."
,
"Executor."
,
...
...
tools/coverage/paddle_coverage_new.sh
浏览文件 @
4a374c60
...
@@ -116,8 +116,6 @@ function gen_full_html_report_npu() {
...
@@ -116,8 +116,6 @@ function gen_full_html_report_npu() {
# if [ ${WITH_XPU:-OFF} == "ON" ]; then
# if [ ${WITH_XPU:-OFF} == "ON" ]; then
# gen_full_html_report_xpu || true
# gen_full_html_report_xpu || true
# elif [ ${WITH_ASCEND_CL:-OFF} == "ON" ]; then
# gen_full_html_report_npu || true
# else
# else
# gen_full_html_report || true
# gen_full_html_report || true
# fi
# fi
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录