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 lanking520 committed Mar 19, 2019
1 parent c56c146 commit c31bb7e
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 c31bb7e

Please sign in to comment.