未验证 提交 c830a28e 编写于 作者: H haosicheng 提交者: GitHub

disable set_value in kp *test=kunlun (#49153)

上级 cef601bf
......@@ -119,10 +119,3 @@ void SetValueGradKernel(const Context& dev_ctx,
}
} // namespace phi
PD_REGISTER_KERNEL(set_value_grad,
XPU,
ALL_LAYOUT,
phi::SetValueGradKernel,
float,
phi::dtype::float16) {}
......@@ -145,21 +145,3 @@ void SetValueKernel(const Context& dev_ctx,
}
} // namespace phi
PD_REGISTER_KERNEL(set_value,
XPU,
ALL_LAYOUT,
phi::SetValueKernel,
float,
phi::dtype::float16,
int,
int64_t) {}
PD_REGISTER_KERNEL(set_value_with_tensor,
XPU,
ALL_LAYOUT,
phi::SetTensorValueKernel,
float,
phi::dtype::float16,
int,
int64_t) {}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册