Skip to content

[PHI] Fix grid sample 3d kernel for big tensor #73253

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

lshpku
Copy link
Contributor

@lshpku lshpku commented Jun 11, 2025

PR Category

Operator Mechanism

PR Types

Bug fixes

Description

grid sample分为2D和3D的情况,前一个PR #72628 改了2D的情况,本PR继续改3D的情况,也是通过区分int和int64模板来实现

经测试,可以运行error_log里的全部139个case,但是有一些有精度报错的情况,这是因为paddle的align_corners默认是True,而torch的align_corners默认是False,这需要改PaddleAPITest,我本地改了之后全部通过

Pcard-85711

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.

@wanghuancoder wanghuancoder merged commit 824f140 into PaddlePaddle:develop Jun 12, 2025
49 of 51 checks passed
shanjiang7 pushed a commit to shanjiang7/Paddle that referenced this pull request Jun 12, 2025
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