Skip to content

Commit

Permalink
Enforce determinism for backwards compatibility checker (apache#14463)
Browse files Browse the repository at this point in the history
  • Loading branch information
zachgk authored and vdantu committed Mar 31, 2019
1 parent 5bfda35 commit 9db8329
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ cd tests/nightly/model_backwards_compatibility_check
echo `pwd`

echo '=========================='
python model_backwards_compat_inference.py
export MXNET_ENFORCE_DETERMINISM=1
python model_backwards_compat_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ run_models() {
echo '=========================='
echo "Running training files and preparing models"
echo '=========================='
export MXNET_ENFORCE_DETERMINISM=1
python model_backwards_compat_train.py
echo '=========================='
}
Expand Down

0 comments on commit 9db8329

Please sign in to comment.