Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[XPU] fix the conflict between xdnn and plugin kernel #59326

Merged
merged 1 commit into from
Nov 27, 2023
Merged

[XPU] fix the conflict between xdnn and plugin kernel #59326

merged 1 commit into from
Nov 27, 2023

Conversation

runzhech
Copy link
Contributor

@runzhech runzhech commented Nov 24, 2023

PR types

Bug fixes

PR changes

OPs

Description

部分算子在选择调用的kernel时会根据编译选项,选择调用xdnn或者是plugin的kernel,近期一些算子添加了bf16的接口,而plugin kernel没有bf16,这会导致开启-DWITH_XPU_PLUGIN=ON后由于找不到bf16的plugin kernel而编译出错。
这个pr在plugin kernel中添加了bf16的接口,并返回unimplemented,避免了编译报错。

Copy link

paddle-bot bot commented Nov 24, 2023

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@paddle-bot paddle-bot bot added the contributor External developers label Nov 24, 2023
Copy link
Contributor

@cqulilujia cqulilujia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@zhangyk0314 zhangyk0314 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@QingshuChen QingshuChen merged commit b715c2e into PaddlePaddle:develop Nov 27, 2023
28 checks passed
SecretXV pushed a commit to SecretXV/Paddle that referenced this pull request Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants