Skip to content

Conversation

@chengduoZH
Copy link
Contributor

To make the operator faster, cudnn may provide some algorithm that the result of them is non-deterministic, those operators include conv2d, max_pool and so on.
This PR attempts to add FLAGS_cudnn_algo_use_autotune to determine using the deterministic algorithm or autotune algorithm.

Reference: https://docs.nvidia.com/deeplearning/sdk/cudnn-developer-guide/index.html#cudnnConvolutionBwdFilterAlgo_t

@chengduoZH chengduoZH force-pushed the add_FLAGS_use_deterministic_algo branch 2 times, most recently from ff7b508 to 4adb05b Compare April 27, 2018 15:22
Copy link

@tonyyang-svail tonyyang-svail left a comment

Choose a reason for hiding this comment

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

LGTM!

@tonyyang-svail
Copy link

tonyyang-svail commented Apr 27, 2018

This PR adds the feature in #10266

@chengduoZH chengduoZH force-pushed the add_FLAGS_use_deterministic_algo branch from 4adb05b to c5774e3 Compare April 28, 2018 02:24
@chengduoZH chengduoZH force-pushed the add_FLAGS_use_deterministic_algo branch from fcb0a76 to 9fda5c9 Compare April 28, 2018 04:56
@chengduoZH chengduoZH merged commit f61dfee into PaddlePaddle:develop Apr 28, 2018
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