Skip to content

[0-size Tensor No.46、139、140、142、143、173、323] Add 0-size Tensor support for diff/nan_to_num #73077

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 6, 2025

Conversation

co63oc
Copy link
Contributor

@co63oc co63oc commented Jun 3, 2025

PR Category

Execute Infrastructure

PR Types

Improvements

Description

PaddleAPITest 测试错误是torch error,没有cuda error, 增加单测
46 paddle.diff 错误是torch error
CPU
image
GPU
image

139 paddle.nan_to_num
CPU
image
GPU
image

140 paddle.nanmean
CPU
image
GPU
image

142 paddle.nanquantile 错误为torch error
CPU
image
GPU
image
image

143 paddle.nansum
CPU
image
GPU
image

173 paddle.nn.functional.glu
CPU
image
GPU
image

Copy link

paddle-bot bot commented Jun 3, 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 Jun 3, 2025
@co63oc co63oc changed the title CI测试不review [0-size Tensor No.46、139、140、142、143、173] Add 0-size Tensor support for diff/nan_to_num Jun 4, 2025
@luotao1 luotao1 added the HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务 label Jun 4, 2025
@co63oc
Copy link
Contributor Author

co63oc commented Jun 4, 2025

/re-run all-failed

@DanielSun11
Copy link
Contributor

请验证一下 paddle.diff 在PaddleAPITest/report/0size_tensor_gpu/20250319/accuracy/coredump_error/error_config.txt中的config是否还有coredump。这些配置可能报torch error,请尝试下--paddle_only = True。 如果一些不合法的配置paddle.diff 没有检查出,请完善下参数检查

@co63oc
Copy link
Contributor Author

co63oc commented Jun 5, 2025

请验证一下 paddle.diff 在PaddleAPITest/report/0size_tensor_gpu/20250319/accuracy/coredump_error/error_config.txt中的config是否还有coredump。这些配置可能报torch error,请尝试下--paddle_only = True。 如果一些不合法的配置paddle.diff 没有检查出,请完善下参数检查

image
验证通过,paddle.diff 是python端算子,调用concat, subtract,如果有问题其他算子测试时应该会显示

@co63oc co63oc changed the title [0-size Tensor No.46、139、140、142、143、173] Add 0-size Tensor support for diff/nan_to_num [0-size Tensor No.46、139、140、142、143、173、323] Add 0-size Tensor support for diff/nan_to_num Jun 5, 2025
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

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

@wanghuancoder wanghuancoder merged commit 6d3db1f into PaddlePaddle:develop Jun 6, 2025
76 of 78 checks passed
@co63oc co63oc deleted the b60 branch June 14, 2025 22:43
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