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

Fix gather_op to avoid cudaErrorLaunchFailure for solov2, test=develop #34200

Merged
merged 1 commit into from
Jul 16, 2021
Merged

Conversation

haohongxiang
Copy link
Contributor

@haohongxiang haohongxiang commented Jul 15, 2021

PR types

Bug fixes

PR changes

OPs

Describe

Fix gather_op to avoid cudaErrorLaunchFailure for solov2
icafe卡片:https://console.cloud.baidu-int.com/devops/icafe/issue/DLTP-32060/show
由于框架dev的改动,导致solov2模型评估/预测报错

经排查:在gather_op的cuda_kernel_loop对index做越界分析时,将index与上界input_size(the size of input)作比较时,报错信息如下:
image
目前未找到合适的解决方法,先取消上界越界分析,后续找到解决方法后再修复。

PR链接:#34096

再更:(解决方法是将input_size在GPUGather内从cpu拷贝到gpu后再传入cuda_kernel中进行比较,但会影响此基础Op的性能)

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

Copy link
Member

@ForFishes ForFishes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ForFishes ForFishes merged commit 380bc4e into PaddlePaddle:develop Jul 16, 2021
@haohongxiang haohongxiang deleted the dev branch July 16, 2021 07:05
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