Skip to content

Conversation

@co63oc
Copy link
Contributor

@co63oc co63oc commented May 31, 2025

PR Category

Operator Mechanism

PR Types

Bug fixes

Description

[0-size Tensor No.341、347] Add 0-size Tensor support for tile

修改前向和反向
TileInferMeta 去掉0判断, symbolic shape中没有对应部分没有修改

bool TileOpInferSymbolicShape(pir::Operation *op,

image

kernel 修改 cpu/gpu/xpu,部分共用impl实现

torch 反向测试填充0

import torch x = torch.randn([2,1]) x.requires_grad=True torch.tile(x, [0]).sum().backward() print(x.grad) tensor([[0.], [0.]]) 

PaddleAPITest 测试通过
image

@paddle-bot
Copy link

paddle-bot bot commented May 31, 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 May 31, 2025
@co63oc co63oc changed the title [0-size Tensor No.341、347] Add 0-size Tensor support for tile CI测试不review tile Jun 1, 2025
@paddle-ci-bot
Copy link

paddle-ci-bot bot commented Jun 11, 2025

Sorry to inform you that 85cc747's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually.

@co63oc co63oc closed this Jun 14, 2025
@co63oc co63oc deleted the b53 branch June 14, 2025 22:43
@co63oc co63oc restored the b53 branch June 14, 2025 22:45
@co63oc co63oc reopened this Jun 14, 2025
@co63oc co63oc changed the title CI测试不review tile [0-size Tensor No.341、347] Add 0-size Tensor support for tile Jul 2, 2025
@co63oc co63oc changed the title [0-size Tensor No.341、347] Add 0-size Tensor support for tile [0-size Tensor No.341、347] Add 0-size Tensor support for tile [fluid_ops] Jul 3, 2025
@co63oc co63oc changed the title [0-size Tensor No.341、347] Add 0-size Tensor support for tile [fluid_ops] CI测试不review tile Jul 3, 2025
@codecov-commenter
Copy link

codecov-commenter commented Jul 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (develop@e1842d4). Learn more about missing BASE report.

Additional details and impacted files
@@ Coverage Diff @@ ## develop #73040 +/- ## =========================================== Coverage ? 100.00% =========================================== Files ? 1 Lines ? 1 Branches ? 0 =========================================== Hits ? 1 Misses ? 0 Partials ? 0 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
@co63oc
Copy link
Contributor Author

co63oc commented Jul 6, 2025

/re-run all-failed

@co63oc co63oc changed the title CI测试不review tile [0-size Tensor No.341、347] Add 0-size Tensor support for tile Jul 6, 2025
@co63oc
Copy link
Contributor Author

co63oc commented Jul 7, 2025

@DanielSun11 CI已完成需要review @luotao1

@co63oc co63oc changed the title [0-size Tensor No.341、347] Add 0-size Tensor support for tile [0-size Tensor No.341、347] Add 0-size Tensor support for tile [fluid_ops] Jul 12, 2025
@luotao1 luotao1 added the HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务 label Jul 14, 2025
@co63oc
Copy link
Contributor Author

co63oc commented Jul 16, 2025

/re-run all-failed

@co63oc
Copy link
Contributor Author

co63oc commented Jul 16, 2025

@DanielSun11 CI已完成需要review

Copy link
Contributor

@DanielSun11 DanielSun11 left a comment

Choose a reason for hiding this comment

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

LGTM

@luotao1 luotao1 merged commit 99a5418 into PaddlePaddle:develop Jul 16, 2025
71 of 77 checks passed
@co63oc co63oc deleted the b53 branch July 16, 2025 04:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

4 participants