Skip to content

[XPU] add multinomial op #65413

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

Merged
merged 1 commit into from
Jun 25, 2024
Merged

Conversation

houj04
Copy link
Contributor

@houj04 houj04 commented Jun 24, 2024

PR Category

Custom Device

PR Types

New features

Description

新增XPU下面的multinomial算子,需要升级XHPC以使用XDNN中的multinomial函数。

XFA里面引用的某个头文件,在严格的编译选项下面会导致编译不过,看了一下并不需要放在最外层的include中,因此先把它临时干掉(标记了TODO),后续等XHPC修好了之后再去掉hack。

算子单测是直接参考了GPU的写法。

Copy link

paddle-bot bot commented Jun 24, 2024

你的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.

Copy link
Contributor

@XiaociZhang XiaociZhang 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

@ZibinGuo ZibinGuo 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 ba99d31 into PaddlePaddle:develop Jun 25, 2024
co63oc pushed a commit to co63oc/Paddle that referenced this pull request Jun 25, 2024
@houj04 houj04 added the XPU label Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants