eric-haibin-lin commented on a change in pull request #14830: [WIP] Use env var 
to enforce safe accumulation in ReduceAxesCompute
URL: https://github.com/apache/incubator-mxnet/pull/14830#discussion_r281871960
 
 

 ##########
 File path: docs/faq/env_var.md
 ##########
 @@ -280,6 +280,11 @@ When USE_PROFILER is enabled in Makefile or CMake, the 
following environments ca
   - Values: Int ```(default=4)```
   - This variable controls how many CuDNN dropout state resources to create 
for each GPU context for use in operator.
 
+* MXNET_ENFORCE_SAFE_ACCUMULATION
+  - Values: Values: 0(false) or 1(true) ```(default=0)```
+  - If this variable is set, the accumulation will enter the safe mode, 
meaning accumulation is done in a data type of higher precision than
+    the input data type, leading to more accurate results with a possible 
performance loss and backward compatibility loss.
 
 Review comment:
   @anirudh2290 there's no guarantee that being more precise gives you a model 
with better accuracy / lower perplexity. 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to