Skip to content
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

【PaddlePaddle Hackathon 5 No.48】Fix bug that thread configuration parameters are out of bounds #58307

Merged
merged 5 commits into from
Nov 20, 2023

Conversation

WintersMontagne10335
Copy link
Contributor

@WintersMontagne10335 WintersMontagne10335 commented Oct 22, 2023

PR types

Bug fixes

PR changes

OPs

Description

StridedCopyKernel在某些情况下,block.x、block.y、block.z、grid.y、grid.z的数值,会变的极端:过大,会报错;过小,性能会受到影响。

@paddle-bot
Copy link

paddle-bot bot commented Oct 22, 2023

你的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 Oct 22, 2023
@WintersMontagne10335
Copy link
Contributor Author

@luotao1 涛姐这个PR改动超千行了,麻烦通过一下~~

@WintersMontagne10335
Copy link
Contributor Author

@wanghuancoder 您提到的StridedCopyKernel存在问题导致PaddleDetection develop分支崩溃,大概率是因为线程配置参数越界。目前已初步修复,但是需要再测试一下那个问题。您给的测试指令我直接运行不了,可能需要依赖特定的环境。有什么需要可以联系我。

@paddle-ci-bot
Copy link

paddle-ci-bot bot commented Oct 31, 2023

Sorry to inform you that dc039bd's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually.

@luotao1 luotao1 changed the title Fix bug that thread configuration parameters are out of bounds 【PaddlePaddle Hackathon 5 No.48】Fix bug that thread configuration parameters are out of bounds Nov 2, 2023
@PaddlePaddle PaddlePaddle locked and limited conversation to collaborators Nov 2, 2023
@PaddlePaddle PaddlePaddle unlocked this conversation Nov 2, 2023
Copy link
Contributor

@XiaoguangHu01 XiaoguangHu01 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 0c0d1ec into PaddlePaddle:develop Nov 20, 2023
SecretXV pushed a commit to SecretXV/Paddle that referenced this pull request Nov 28, 2023
…ameters are out of bounds (PaddlePaddle#58307)

* modified:   paddle/phi/kernels/gpu/strided_copy_kernel.cu

* modified:   VerifyThreadConfigurationParameters

* fix bugs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants