Repository navigation
Add cuDNN deterministic env variable (only for convolution) - #24747
Conversation
|
@timshen91 is a better reviewer for this, since he reviewed pr/24355. |
|
Hi Tim (@timshen91), when I run |
|
You're seeing this because clang-format is not a stable format, and Google runs bleeding-edge clang, as compared to whatever version you happen to have installed on your system. We've recently set things up so that when we import a PR, we run our bleeding-edge clang-format over the whole thing. So I believe @yifeif was planning to disable the clang-format check externally; it shouldn't be necessary anymore. |
|
(So I'd say for this PR, don't worry about it.) |
db001c7 to
731ae19
Compare
|
I've made some changes. This is ready for review again. |
|
I'm assuming these four build failures are unrelated to my pull request. Please let me know if I caused this and/or if there is anything I need to to to run those checks again. |
I'm helping to get this PR merged. I'll keep you posted if anything is required from your end. |
PiperOrigin-RevId: 229457378
|
See follow-on pull request 25269 that addresses non-determinism in max pooling. |
|
How it's related to |
|
@mrgloom,
When |
This change is a component of the recipe for making TensorFlow training reproducible on GPUs.
Setting the environment variable TF_CUDNN_DETERMINISTIC=1 (or true) will ensure that both forward and backwards convolution algorithms are both fixed and deterministic. It overrides autotune and selects deterministic back-prop algorithms.
This pull request has two previous abandoned versions:
This pull request is different from 24355 in the following ways:
Attention @azaks2 @timshen91