Skip to content

Conversation

@fxyfxy777
Copy link
Contributor

@fxyfxy777 fxyfxy777 commented Jul 29, 2025

PR Category

Operator Mechanism

PR Types

Bug fixes

Description

paddle.nn.functional.softmax对于大tensor的问题修复

  • 解决 CUDA Error 700 的问题:由于 D 类型设置不当,导致 CUDA kernel 报错,已将其类型修改为正确的模板类型,避免非法转换。
  • 解决精度误差导致的单测失败:由于我们当前精度较高,导致误差容忍度不够,适当放宽了 atol 的设置,使其可以通过对比测试。详见 PFCCLab/PaddleAPITest#464

Pcard-92269

@paddle-bot
Copy link

paddle-bot bot commented Jul 29, 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 contributor External developers label Jul 29, 2025
@CLAassistant
Copy link

CLAassistant commented Jul 29, 2025

CLA assistant check
All committers have signed the CLA.

@fxyfxy777
Copy link
Contributor Author

/re-run Coverage

1 similar comment
@fxyfxy777
Copy link
Contributor Author

/re-run Coverage

@lshpku lshpku changed the title fixccuda error 700 fix cuda error 700 for softmax Jul 30, 2025
@fxyfxy777
Copy link
Contributor Author

/re-run all-failed

@lshpku lshpku merged commit d7d976b into PaddlePaddle:develop Jul 31, 2025
74 of 85 checks passed
@fxyfxy777 fxyfxy777 deleted the fix_softmax branch July 31, 2025 03:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers

4 participants