Skip to content

Conversation

@ggggxm
Copy link
Contributor

@ggggxm ggggxm commented Jul 8, 2025

PR Category

Operator Mechanism

PR Types

Bug fixes

Description

将einsum的前向和反向kernel与shape有关的参数类型改为int64_t,支持大Tensor运算。
float16的精度问题仍然存在,预测与matmul kernel相关。

@paddle-bot
Copy link

paddle-bot bot commented Jul 8, 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 8, 2025
@ggggxm
Copy link
Contributor Author

ggggxm commented Jul 9, 2025

/re-run all-failed

Comment on lines +75 to 76
// map a label('a' - 'z') -> int64_t, O(1) speed.
class LabelMap {
Copy link
Contributor

Choose a reason for hiding this comment

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

这个LabelMap也要用int64吗?看起来只是map到了一个axis,不是map到shape

Copy link
Contributor Author

Choose a reason for hiding this comment

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

key是axis,用label'a-z'来表示,在数组索引的时候将label修饰为int;value是shape,所以也要改成int64.

@lshpku lshpku merged commit f529429 into PaddlePaddle:develop Jul 9, 2025
88 of 92 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers

2 participants