Skip to content

[BIG tensor] fix overflow in cudnn_softmax by replacing the api#74329

Merged
wanghuancoder merged 2 commits intoPaddlePaddle:developfrom
hxzd5568:fix_softmax_soft_overflow
Aug 1, 2025
Merged

[BIG tensor] fix overflow in cudnn_softmax by replacing the api#74329
wanghuancoder merged 2 commits intoPaddlePaddle:developfrom
hxzd5568:fix_softmax_soft_overflow

Conversation

@hxzd5568
Copy link
Contributor

@hxzd5568 hxzd5568 commented Jul 31, 2025

PR Category

Operator Mechanism

PR Types

Bug fixes

Description

Pcard-67164
cross_entropy 在 soft_label with_softmax 模式下调用了cudnn_softmax, 该api存在溢出情况。更换为调用内置softmax核函数。

@paddle-bot
Copy link

paddle-bot bot commented Jul 31, 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.

@hxzd5568
Copy link
Contributor Author

/re-run all-failed

4 similar comments
@hxzd5568
Copy link
Contributor Author

/re-run all-failed

@hxzd5568
Copy link
Contributor Author

/re-run all-failed

@hxzd5568
Copy link
Contributor Author

hxzd5568 commented Aug 1, 2025

/re-run all-failed

@hxzd5568
Copy link
Contributor Author

hxzd5568 commented Aug 1, 2025

/re-run all-failed

Copy link
Contributor

@wanghuancoder wanghuancoder left a comment

Choose a reason for hiding this comment

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

LGTM

@wanghuancoder wanghuancoder merged commit e554b1e into PaddlePaddle:develop Aug 1, 2025
158 of 172 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants