未验证 提交 40078103 编写于 作者: T TTerror 提交者: GitHub

update masked_select_op for kunlun (#38678)

上级 9108e777
......@@ -36,7 +36,7 @@ ENDIF()
if(NOT DEFINED XPU_BASE_URL)
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}/20211228")
SET(XPU_BASE_URL "${XPU_BASE_URL_WITHOUT_DATE}/20220104")
else()
SET(XPU_BASE_URL "${XPU_BASE_URL}")
endif()
......
......@@ -57,7 +57,7 @@ class MaskedSelectXPUKernel : public framework::OpKernel<T> {
PADDLE_ENFORCE_XPU_SUCCESS(
xpu::masked_select(dev_ctx.x_context(), input_data, mask_data, out_data,
input_shape, mask_shape));
input_shape, mask_shape, out_size_cpu));
}
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册