Skip to content

[0-size Tensor No.348] Add 0-size Tensor support for paddle.trace API - #72853

Merged
wanghuancoder merged 8 commits into
PaddlePaddle:developfrom
DanielSun11:fix_0-size_trace
May 23, 2025
Merged

wanghuancoder merged 8 commits into
PaddlePaddle:developfrom
DanielSun11:fix_0-size_trace

Conversation

@DanielSun11

Copy link
Copy Markdown
Contributor

PR Category

Execute Infrastructure

PR Types

Improvements

Description

修复paddle.trace不支持0 size Tensor问题
PaddleAPITest报错:
image
infermeta推导没有错误,修复前向反向kernel,其他device无对应kernel。
paddleAPITest回测结果:
image

Pcard-67164

@paddle-bot

paddle-bot Bot commented May 21, 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.

@codecov-commenter

codecov-commenter commented May 22, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (develop@22fd52c). Learn more about missing BASE report.

Additional details and impacted files
@@             Coverage Diff             @@
##             develop    #72853   +/-   ##
===========================================
  Coverage           ?   100.00%           
===========================================
  Files              ?         1           
  Lines              ?         2           
  Branches           ?         0           
===========================================
  Hits               ?         2           
  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.

@wanghuancoder wanghuancoder 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 c2f0e5a into PaddlePaddle:develop May 23, 2025
@DanielSun11
DanielSun11 deleted the fix_0-size_trace branch September 18, 2025 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants