Skip to content

Commit

Permalink
Remove nondeterministic print in tiny nn test
Browse files Browse the repository at this point in the history
  • Loading branch information
lightvector committed Jan 11, 2023
1 parent a4637df commit d6af403
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cpp/runsearchtests.sh
Expand Up @@ -48,7 +48,7 @@ set -o pipefail
./katago runnnevalcanarytests configs/gtp_example.cfg tests/models/g170e-b10c128-s1141046784-d204142634.bin.gz 6 | grep -v ': nnRandSeed0 = ' | tee -a tests/results/runNNCanaryTests.txt

mkdir -p tests/scratch
./katago runtinynntests tests/scratch 1.0 | grep -v ': nnRandSeed0 = ' | tee tests/results/runTinyNNTests.txt
./katago runtinynntests tests/scratch 1.0 | grep -v ': nnRandSeed0 = ' | grep -v 'finishing, processed' | tee tests/results/runTinyNNTests.txt

exit 0
}
2 changes: 1 addition & 1 deletion cpp/runsearchtestslimited.sh
Expand Up @@ -10,7 +10,7 @@ set -o pipefail
./katago runsearchtestsv9 tests/models/g170-b6c96-s175395328-d26788732.txt.gz false false false | tee tests/results/runSearchTestsV9.txt

mkdir -p tests/scratch
./katago runtinynntests tests/scratch 1.0 | grep -v ': nnRandSeed0 = ' | tee tests/results/runTinyNNTests.txt
./katago runtinynntests tests/scratch 1.0 | grep -v ': nnRandSeed0 = ' | grep -v 'finishing, processed' | tee tests/results/runTinyNNTests.txt

exit 0
}
2 changes: 0 additions & 2 deletions cpp/tests/results/runTinyNNTests.txt
Expand Up @@ -38,11 +38,9 @@ whiteHandicapBonus = 0
: Cuda backend thread 0: Found GPU NVIDIA RTX A5000 memory 25434652672 compute capability major 8 minor 6
: Cuda backend thread 0: Model version 11 useFP16 = true useNHWC = true
: Cuda backend thread 0: Model name: b1c6nbt
: GPU -1 finishing, processed 41 rows 21 batches
: After dedups: nnModelFile0 = tests/scratch/tmpTinyMishModel.bin.gz useFP16 auto useNHWC auto
: Initializing neural net buffer to be size 19 * 19 allowing smaller boards
: Cuda backend thread 0: Found GPU NVIDIA RTX A5000 memory 25434652672 compute capability major 8 minor 6
: Cuda backend thread 0: Model version 11 useFP16 = true useNHWC = true
: Cuda backend thread 0: Model name: b1c6nbt
: GPU -1 finishing, processed 41 rows 21 batches
: Tiny net sanity check complete

0 comments on commit d6af403

Please sign in to comment.