未验证 提交 4a374c60 编写于 作者: J jjyaoao 提交者: GitHub

delete WITH_ASCEND_CL (#52825)

* delete WITH_ASCEND_CL

* delete NPU/ and WITH_MLU
上级 48ccb785
......@@ -233,9 +233,9 @@ bool GetCondData(const phi::DenseTensor &cond) {
framework::TensorCopySync(cond, platform::CPUPlace(), cpu_cond.get());
#else
PADDLE_THROW(platform::errors::PreconditionNotMet(
"This version of PaddlePaddle does NOT support GPU/NPU/XPU but got "
"GPU/NPU/XPU tensor Cond in WhileOp. Please compile WITH_GPU or "
"WITH_ASCEND_CL or WITH_XPU option."));
"This version of PaddlePaddle does NOT support GPU/XPU but got "
"GPU/XPU tensor Cond in WhileOp. Please compile WITH_GPU or "
"WITH_XPU option."));
#endif
return cpu_cond->data<bool>()[0];
}
......
......@@ -72,7 +72,7 @@ phi::DeviceContext* DeviceContextPool::Get(const phi::Place& place) {
if (it == ptr->end()) {
PADDLE_THROW(phi::errors::Unimplemented(
"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 "
"that your train process set the correct device id if you use "
"Executor.",
......
......@@ -116,8 +116,6 @@ function gen_full_html_report_npu() {
# if [ ${WITH_XPU:-OFF} == "ON" ]; then
# gen_full_html_report_xpu || true
# elif [ ${WITH_ASCEND_CL:-OFF} == "ON" ]; then
# gen_full_html_report_npu || true
# else
# gen_full_html_report || true
# fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册