You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by zh...@apache.org on 2018/11/07 18:23:23 UTC

[incubator-mxnet] branch v1.3.x updated: document env variable MXNET_ENFORCE_DETERMINISM (#13156)

This is an automated email from the ASF dual-hosted git repository.

zhasheng pushed a commit to branch v1.3.x
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/v1.3.x by this push:
     new be8fdc8  document env variable MXNET_ENFORCE_DETERMINISM (#13156)
be8fdc8 is described below

commit be8fdc87773fe6310a9a513ed2962d2bad3049a7
Author: Anton Chernov <me...@gmail.com>
AuthorDate: Wed Nov 7 19:22:51 2018 +0100

    document env variable MXNET_ENFORCE_DETERMINISM (#13156)
---
 docs/faq/env_var.md | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/docs/faq/env_var.md b/docs/faq/env_var.md
index 6546752..b24c6b1 100644
--- a/docs/faq/env_var.md
+++ b/docs/faq/env_var.md
@@ -177,6 +177,12 @@ When USE_PROFILER is enabled in Makefile or CMake, the following environments ca
   - Flag to enable or disable MKLDNN accelerator. On by default.
   - Only applies to mxnet that has been compiled with MKLDNN (```pip install mxnet-mkl``` or built from source with ```USE_MKLDNN=1```)
 
+* MXNET_ENFORCE_DETERMINISM
+  - Values: 0(false) or 1(true) ```(default=0)```
+  - If set to true, MXNet will only use deterministic algorithms in forward and backward computation.
+  If no such algorithm exists given other constraints, MXNet will error out. This variable affects the choice
+  of CUDNN convolution algorithms. Please see [CUDNN developer guide](https://docs.nvidia.com/deeplearning/sdk/cudnn-developer-guide/index.html) for more details.
+
 Settings for Minimum Memory Usage
 ---------------------------------
 - Make sure ```min(MXNET_EXEC_NUM_TEMP, MXNET_GPU_WORKER_NTHREADS) = 1```