Skip to content

Stablize depthwise conv#35161

Merged
jerrywgz merged 3 commits intoPaddlePaddle:developfrom
jerrywgz:stablize_depthwise_conv
Sep 1, 2021
Merged

Stablize depthwise conv#35161
jerrywgz merged 3 commits intoPaddlePaddle:developfrom
jerrywgz:stablize_depthwise_conv

Conversation

@jerrywgz
Copy link
Contributor

PR types

Bug fixes

PR changes

OPs

Describe

Stablize depthwise conv. The reduce process in filter gradient kernel is computed in warpreduce followed by atomicadd directly which may cause numerical instability. This PR adds blockreduce after warpreduce to solve the problem.

@paddle-bot-old
Copy link

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

@jerrywgz jerrywgz merged commit 3c21f26 into PaddlePaddle:develop Sep 1, 2021
@jerrywgz jerrywgz deleted the stablize_depthwise_conv branch September 1, 2021 04:25
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