Skip to content

[0-size Tensor No.4] Add 0-size Tensor support for addmm - #73170

Merged
wanghuancoder merged 1 commit into
PaddlePaddle:developfrom
co63oc:d4
Jun 10, 2025
Merged

wanghuancoder merged 1 commit into
PaddlePaddle:developfrom
co63oc:d4

Conversation

@co63oc

@co63oc co63oc commented Jun 8, 2025 •

Copy link
Copy Markdown
Contributor

PR Category

Execute Infrastructure

PR Types

Improvements

Description

[0-size Tensor No.4] Add 0-size Tensor support for addmm

修改infermeta中判断numel为0,symbolic_shape没有对应代码

kernel 修改impl中实现和xpu实现

PaddleAPITest 测试没有cuda error,其他为shape判断,和torch相同
image

image

@paddle-bot

paddle-bot Bot commented Jun 8, 2025

Copy link
Copy Markdown

你的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 Jun 8, 2025
@co63oc co63oc changed the title CI测试不review addmm [0-size Tensor No.4] Add 0-size Tensor support for addmm Jun 8, 2025
@luotao1 luotao1 added the HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务 label Jun 9, 2025
@co63oc

co63oc commented Jun 10, 2025

Copy link
Copy Markdown
Contributor Author

@DanielSun11 CI已完成请review

@DanielSun11 DanielSun11 left a comment

Copy link
Copy Markdown
Contributor

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 f74615f into PaddlePaddle:develop Jun 10, 2025
shanjiang7 pushed a commit to shanjiang7/Paddle that referenced this pull request Jun 12, 2025
@co63oc
co63oc deleted the d4 branch June 24, 2025 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants