Skip to content

Conversation

@DanielSun11
Copy link
Contributor

@DanielSun11 DanielSun11 commented Jun 11, 2025

PR Category

Execute Infrastructure

PR Types

Bug fixes

Description

复测报错:

image

问题分析:

#72937 的修复存在问题,由于其对比的对象是numpy的nanmedia,在遇到0-size Tensor时与Torch的行为有区别,进而导致一些复测case出错。

修复方法:

删除#72937 对shape推导部分的修改,只保留其对kernel部分的修改。添加单测,单测的结果应该是torch的输出。

PaddleAPITest回测:

  • CPU
    image

  • GPU
    image

pcard-67164

@paddle-bot
Copy link

paddle-bot bot commented Jun 11, 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.

@DanielSun11
Copy link
Contributor Author

/re-run all-failed

@luotao1 luotao1 merged commit a6fcb93 into PaddlePaddle:develop Jun 12, 2025
71 of 80 checks passed
@DanielSun11 DanielSun11 deleted the fix_nanmedian branch September 18, 2025 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants