Skip to content

[0-size Tensor Job2 No.39、86] Add 0-size Tensor support for index_select #73270

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 1 commit into from
Jun 12, 2025

Conversation

co63oc
Copy link
Contributor

@co63oc co63oc commented Jun 12, 2025

PR Category

Execute Infrastructure

PR Types

Improvements

Description

[0-size Tensor Job2 No.39、86] Add 0-size Tensor support for index_select

index_select 修改infermeta 判断
symbolic shape 中没有对应代码

增加单测

PaddleAPITest 测试
GPU 测试用例中dim维度为空会有错误,torch中dim维度同样不能为空,其他测试通过
image
image

CPU 不支持float16错误
image

Copy link

paddle-bot bot commented Jun 12, 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 12, 2025
@co63oc co63oc changed the title CI测试不review index_select [0-size Tensor Job2 No.39、86] Add 0-size Tensor support for index_select Jun 12, 2025
@luotao1 luotao1 added the HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务 label Jun 12, 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

@wanghuancoder wanghuancoder merged commit 0f2b873 into PaddlePaddle:develop Jun 12, 2025
52 of 54 checks passed
@co63oc co63oc deleted the e14 branch June 24, 2025 08:29
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