Skip to content

Conversation

@co63oc
Copy link
Contributor

@co63oc co63oc commented Jul 21, 2025

PR Category

Operator Mechanism

PR Types

Bug fixes

Description

修改python判断,增加单测,gather_inds 为0-size时,output为创建的tensor,没有反向,单测没有测试反向
image

PaddleAPITest测试通过
image

@paddle-bot
Copy link

paddle-bot bot commented Jul 21, 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 21, 2025
@luotao1 luotao1 added the HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务 label Jul 21, 2025
@codecov-commenter
Copy link

codecov-commenter commented Jul 21, 2025

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

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

Files with missing lines Patch % Lines
python/paddle/nn/functional/loss.py 0.00% 1 Missing ⚠️

❌ Your patch status has failed because the patch coverage (0.00%) is below the target coverage (90.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop   #74143   +/-   ##
==========================================
  Coverage           ?    0.00%           
==========================================
  Files              ?        1           
  Lines              ?        1           
  Branches           ?        0           
==========================================
  Hits               ?        0           
  Misses             ?        1           
  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 22, 2025

/re-run all-failed

@co63oc co63oc changed the title [0-size Tensor Job2 No.53] Add 0-size Tensor support for paddle.nn.functional.adaptive_log_softmax_with_loss [0-size Tensor Job2 No.53] Add 0-size Tensor support for paddle.nn.functional.adaptive_log_softmax_with_loss [fluid_ops] Jul 22, 2025
@co63oc
Copy link
Contributor Author

co63oc commented Jul 22, 2025

/re-run all-failed

1 similar comment
@co63oc
Copy link
Contributor Author

co63oc commented Jul 22, 2025

/re-run all-failed

@co63oc
Copy link
Contributor Author

co63oc commented Jul 22, 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

@DanielSun11 DanielSun11 merged commit 62eabd0 into PaddlePaddle:develop Jul 23, 2025
95 of 99 checks passed
@co63oc co63oc deleted the h32 branch July 23, 2025 04:07
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