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 bug in sigmoid_cross_entropy_with_logits and its grad #70974

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

houj04
Copy link
Contributor

@houj04 houj04 commented Jan 24, 2025

PR Category

Custom Device

PR Types

Bug fixes

Description

参考这个PR: #65859 ,修改了XPU下面sigmoid_cross_entropy_with_logits_gradsigmoid_cross_entropy_with_logits两个算子的计算逻辑。

真正的计算步骤在XDNN算子库中,本PR主要是修改了依赖库版本,以及修改了算子绑定部分,改成调用新写的正确的函数。

改了之后,这个单测test_binary_cross_entropy_with_logits_op可以通过了,因此从列表中移除。

Copy link

paddle-bot bot commented Jan 24, 2025

你的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 XPU label Jan 24, 2025
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.

1 participant