Skip to content

Conversation

@DanielSun11
Copy link
Contributor

@DanielSun11 DanielSun11 commented May 23, 2025

PR Category

Execute Infrastructure

PR Types

Improvements

Description

修复 fmax fmin不支持0 size Tensor的问题。
通过调试发现,其中fmax fmin的前向过程并不会报错,报错点在于反向过程不支持0 size Tensor。

  • infermeta推导没有问题;
  • 修复了反向kernel;
  • 其他device没有对应的kernel
  • 添加单测
  • PaddleAPITest回测结果:
    image

image

pcard-67164

@paddle-bot
Copy link

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

Copy link
Contributor

@wanghuancoder wanghuancoder 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
Copy link
Contributor Author

/re-run all-failed

1 similar comment
@DanielSun11
Copy link
Contributor Author

/re-run all-failed

@wanghuancoder wanghuancoder merged commit b48ac45 into PaddlePaddle:develop May 26, 2025
98 of 105 checks passed
@DanielSun11 DanielSun11 deleted the fix_fmax_fmin 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.

2 participants