Skip to content

Conversation

@cangtianhuang
Copy link
Contributor

PR Category

Execute Infrastructure

PR Types

Bug fixes

Description

该 PR 仅修复了 paddle.broadcast_tensors 对 0-size 和 单Tensor 的支持(对 多dtype支持 的尝试详见 #71788

修改如下:

修改编译后,测试结果如下:

image

@HydrogenSulfate @wanghuancoder

@paddle-bot
Copy link

paddle-bot bot commented Apr 1, 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 Apr 1, 2025
@cangtianhuang cangtianhuang changed the title [0-Size Tensor问题修复] paddle.broadcast_tensors [0-Size Tensor问题修复] paddle.broadcast_tensors Apr 1, 2025
@luotao1 luotao1 added the HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务 label Apr 2, 2025
Copy link
Contributor

@HydrogenSulfate HydrogenSulfate left a comment

Choose a reason for hiding this comment

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

LGTM

@HydrogenSulfate HydrogenSulfate merged commit 66d552d into PaddlePaddle:develop Apr 2, 2025
32 checks passed
@cangtianhuang cangtianhuang deleted the broadcast_tensors branch April 2, 2025 08:40
YqGe585 pushed a commit to YqGe585/Paddle that referenced this pull request May 7, 2025
* Support single and 0-size tensor. * refine tests * fix test * refine test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

3 participants