Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/marian-regression-tests.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Grundkiewicz <rgrundkiewicz@gmail.com>2022-01-24 21:31:55 +0300
committerGitHub <noreply@github.com>2022-01-24 21:31:55 +0300
commit0716f4e012d1e3f7543bffa8aecc97ce9c903e17 (patch)
treef15e7e241cc75ae6c86e68ac8e1d65e32aee721c
parentdded929791f139e5300ef662a03e5ff7c2fd35fd (diff)
Use lower precision
-rw-r--r--tests/training/features/quantized-model/test_quantmodel_with_bias.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/training/features/quantized-model/test_quantmodel_with_bias.sh b/tests/training/features/quantized-model/test_quantmodel_with_bias.sh
index 8dee56b..d57a1c1 100644
--- a/tests/training/features/quantized-model/test_quantmodel_with_bias.sh
+++ b/tests/training/features/quantized-model/test_quantmodel_with_bias.sh
@@ -34,7 +34,7 @@ test -e $PREFIX.log
# Compare the current output with the expected output
cat $PREFIX.log | $MRT_TOOLS/extract-costs.sh > $PREFIX.out
-$MRT_TOOLS/diff-nums.py $PREFIX.out $PREFIX.expected -o $PREFIX.diff
+$MRT_TOOLS/diff-nums.py -p 0.005 $PREFIX.out $PREFIX.expected -o $PREFIX.diff
# make sure that the resulting model has no more than 256 different values (i.e. quantized)
$MRT_TOOLS/check-model-unique-vals.py train/model.npz -b 8 --with_bias