Skip to content

Conversation

@hxzd5568
Copy link
Contributor

PR Category

Operator Mechanism

PR Types

Bug fixes

Description

Pcard-67164

  1. 对部分可能出错的下标增强其类型;
  2. 区别累加精度和数值精度,和torch对齐
  3. 累加精度和paddle本身计算方式对齐,也就是仅float16 ,bfloat16 等提升为float32。float32以上不变,且仅仅影响reduce性能。
@paddle-bot
Copy link

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

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

@hxzd5568
Copy link
Contributor Author

/re-run all-failed

@hxzd5568
Copy link
Contributor Author

/re-run npu

2 similar comments
@hxzd5568
Copy link
Contributor Author

/re-run npu

@hxzd5568
Copy link
Contributor Author

/re-run npu

@lshpku lshpku merged commit 450930c into PaddlePaddle:develop Jul 24, 2025
108 of 111 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants