Repository navigation
[0-size Tensor No.6、7、284、285]Add 0-size Tensor support for amin - #73333
Merged
Merged
Conversation
Contributor
Author
|
/re-run all-failed |
Codecov ReportAttention: Patch coverage is
❌ 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 #73333 +/- ##
==========================================
Coverage ? 0.00%
==========================================
Files ? 2
Lines ? 6
Branches ? 0
==========================================
Hits ? 0
Misses ? 6
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This was referenced Jun 16, 2025
wanghuancoder
approved these changes
Jun 17, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Category
Execute Infrastructure
PR Types
Improvements
Description
[0-size Tensor No.6、7、284、285]
paddle.amax
paddle.amin
paddle.Tensor.amax
paddle.Tensor.amin
[0-size Tensor Job2 No.47、49、88、90]
任务二中在同一个单测文件
paddle.max
paddle.min
paddle.Tensor.max
paddle.Tensor.min
修改 paddle/phi/kernels/funcs/reduce_function.h 中检查
修改 amax, amin CPU 反向, max, min 使用的是amax, amin,修改 max,min XPU 反向,以解决CI中报错
infermeta 不用修改
PaddleAPITest 测试


amax
GPU 测试通过
CPU 测试通过
amin


GPU 测试通过
CPU 测试通过
max


GPU 测试通过
CPU 错误为torch error
min


GPU 错误为torch error
CPU 错误为numpy error