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

Commit be8fdc8

Browse files
lebegszha
authored andcommitted
document env variable MXNET_ENFORCE_DETERMINISM (#13156)
1 parent 9f8aa60 commit be8fdc8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/faq/env_var.md

+6
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,12 @@ When USE_PROFILER is enabled in Makefile or CMake, the following environments ca
177177
- Flag to enable or disable MKLDNN accelerator. On by default.
178178
- Only applies to mxnet that has been compiled with MKLDNN (```pip install mxnet-mkl``` or built from source with ```USE_MKLDNN=1```)
179179

180+
* MXNET_ENFORCE_DETERMINISM
181+
- Values: 0(false) or 1(true) ```(default=0)```
182+
- If set to true, MXNet will only use deterministic algorithms in forward and backward computation.
183+
If no such algorithm exists given other constraints, MXNet will error out. This variable affects the choice
184+
of CUDNN convolution algorithms. Please see [CUDNN developer guide](https://docs.nvidia.com/deeplearning/sdk/cudnn-developer-guide/index.html) for more details.
185+
180186
Settings for Minimum Memory Usage
181187
---------------------------------
182188
- Make sure ```min(MXNET_EXEC_NUM_TEMP, MXNET_GPU_WORKER_NTHREADS) = 1```

0 commit comments

Comments
 (0)