Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

convolution layer when cudnn_off = False will cause random result #14941

Answered by vdantu
xiaodao2049 asked this question in Q&A
Discussion options

You must be logged in to vote

@xiaodao2049 : I think the reason is that there are multiple implementations of convolution when using cundd and cudnn chooses the best algorithm based on your available system resources at runtime. You could try using "MXNET_ENFORCE_DETERMINISM" (Refer this PR for full context) and see if this helps. If not you could turn off autotune by setting "MXNET_CUDNN_AUTOTUNE_DEFAULT" to 0 and see if that helps.

@apeforest , please correct me if any part of my answer is misrepresented :)

@mxnet-label-bot add [question, cudnn]

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by xiaodao2049
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #14941 on September 05, 2020 19:30.