nodchip
2646080543
Merge branch 'master' of github.com:nodchip/Stockfish
2020-08-15 11:58:05 +09:00
nodchip
79654ac509
Added winning_probability_coefficient option to specify the coefficient to calculate the winning probability from a value. #71
2020-08-15 11:57:08 +09:00
tttak
69a95e431b
update convert_bin
...
learn convert_bin in.txt output_file_name out.bin check_invalid_fen 1 check_illegal_move 1
convert in.txt ... done 16 parsed 3 is filtered (invalid fen:1, illegal move:2, invalid ply:0)
2020-08-15 00:27:52 +09:00
nodchip
ee823afdad
Deleted a duplicated Readme.md.
2020-08-14 23:33:28 +09:00
Joseph Ellis
430467db1c
Create a UCI Training option
...
Creates a UCI Training option and uses it to disable LMP on PV nodes.
2020-08-13 08:32:10 +09:00
Joseph Ellis
44a54b63f1
Don't allow LMP on PvNodes
...
I mentioned this a while back in discord, but nothing seems to have ever come from it. Anyway, to the best of my knowledge most current training data gen is being done at relatively low fixed depths. With this in mind, the change to not allow LMP in PvNodes should result in a fairly significant increase in strength and reliability of the PV.
2020-08-13 08:32:10 +09:00
xXH4CKST3RXx
e12a0cd9eb
Update README.md
...
Additional instruction.
2020-08-12 10:33:39 +09:00
xXH4CKST3RXx
c3224dd9a1
Update README.md
...
Typo
2020-08-12 10:33:39 +09:00
xXH4CKST3RXx
62228e6b18
Update README.md
...
Grammar, changed link.
2020-08-12 10:33:39 +09:00
nodchip
75b9d6f6b1
Fixed build parameters.
2020-08-11 16:37:47 +09:00
nodchip
35f04aaf24
Removed an unnecessary call for pos.is_draw().
2020-08-10 19:42:39 +09:00
nodchip
c420b327bf
Added output messages.
2020-08-10 16:23:04 +09:00
nodchip
8c0429d1e5
Added detect_draw_by_insufficient_mating_material option.
2020-08-10 16:14:56 +09:00
nodchip
84070c02e6
Renamed use_game_draw_adjudication to detect_draw_by_consecutive_low_score.
2020-08-10 16:02:18 +09:00
nodchip
5467ba3c23
Renamed use_hash_in_training to skip_duplicated_positions_in_training.
2020-08-10 15:58:17 +09:00
nodchip
87c50c5cbc
Renamed use_draw_in_validation to use_draw_games_in_validation.
...
Added comments.
2020-08-10 15:55:34 +09:00
nodchip
fa5b2aec3a
Renamed use_draw_in_training to use_draw_games_in_training.
2020-08-10 15:51:23 +09:00
nodchip
a41cbb9ca9
Renamed use_draw_in_training_data_generation option to write_out_draw_game_in_training_data_generation.
2020-08-10 15:49:24 +09:00
nodchip
3bd3ef0aea
Implemented the code to detect draw by insufficient mating material.
2020-08-10 15:47:11 +09:00
nodchip
4a87d7b787
Added the use_game_draw_adjudication option.
2020-08-10 15:44:58 +09:00
nodchip
12c6c2f550
Chagned to use the search value instead of the value of the PV leaf to avoid crash by assertion.
2020-08-10 13:07:22 +09:00
nodchip
bac96aa04a
Changed to use TB in the training data generator. #67
2020-08-10 12:17:26 +09:00
nodchip
e65c515d6b
Changed to specify the current tick as a random seed. #68
2020-08-10 12:09:21 +09:00
nodchip
643be3c6f9
Changed not to use std::random_device(). Because it always returns the same integers on MingW. #68
2020-08-10 10:45:03 +09:00
tttak
31d4f46f5e
update convert_bin
...
learn convert_bin in.txt output_file_name out.bin check_illegal_move 1
convert in.txt ... done 16 parsed 4 is filtered (illegal fen:1, illegal move:2, illegal ply:1)
2020-08-10 09:53:52 +09:00
nodchip
53d15e5ec2
Merge pull request #79 from nodchip/nnue-player-merge
...
Merge Stockfish master to nodchip's repository
2020-08-10 09:51:44 +09:00
nodchip
4260ed0c7f
Merge branch 'master' of github.com:official-stockfish/Stockfish into nnue-player-merge
2020-08-10 08:52:55 +09:00
nodchip
4f97d3446d
Cleaned up source code.
2020-08-10 08:52:34 +09:00
Joost VandeVondele
27b593a944
Fix a data race for NNUE
...
the stateInfo at the rootPos is no longer read-only, as the NNUE accumulator is part of it.
Threads can thus not share this object and need their own copy.
tested for no regression
https://tests.stockfishchess.org/tests/view/5f3022239081672066536bce
LLR: 2.96 (-2.94,2.94) {-1.50,0.50}
Total: 52800 W: 6843 L: 6802 D: 39155
Ptnml(0-2): 336, 4646, 16399, 4679, 340
closes https://github.com/official-stockfish/Stockfish/pull/2957
fixes https://github.com/official-stockfish/Stockfish/issues/2933
No functional change
2020-08-09 23:51:07 +02:00
Dariusz Orzechowski
a6e89293df
Avoid special casing for MinGW
...
after some testing, no version of MinGW/gcc has been found where this code is still necessary.
Probably older code (pre-c++17?)
closes https://github.com/official-stockfish/Stockfish/pull/2891
No functional change
2020-08-09 23:49:14 +02:00
Vizvezdenec
2bfde55429
Adjust NNUE usage based on number of pawns in position
...
The idea of this patch is that positions are usually more complex and hard to evaluate even if there are more pawns.
This patch adjusts NNUE threshold usage depending on number of pawns in position, if pawn count is <3 we use the
classical evaluation more often, for pawn count = 3 patch the is non-functional,
with pawn count > 3 NNUE evaluation is used more often.
passed STC
https://tests.stockfishchess.org/tests/view/5f2f02d09081672066536b1f
LLR: 2.96 (-2.94,2.94) {-0.50,1.50}
Total: 36520 W: 5011 L: 4823 D: 26686
Ptnml(0-2): 299, 3482, 10548, 3594, 337
passed LTC
https://tests.stockfishchess.org/tests/view/5f2f4c329081672066536b5c
LLR: 2.98 (-2.94,2.94) {0.25,1.75}
Total: 39272 W: 2630 L: 2433 D: 34209
Ptnml(0-2): 53, 2066, 15218, 2229, 70
closes https://github.com/official-stockfish/Stockfish/pull/2960
bench 4084753
2020-08-09 21:26:17 +02:00
Joost VandeVondele
cd1bb27dd4
Fix aligned_alloc on MinGW
...
introduced with d7a26899a9
closes https://github.com/official-stockfish/Stockfish/pull/2959
No functional change.
2020-08-09 21:25:22 +02:00
Joost VandeVondele
320fa1b2f0
Improve error message on missing net.
...
small rewording, but also print the download url for the default net.
closes https://github.com/official-stockfish/Stockfish/pull/2954
No functional change
2020-08-09 17:09:18 +02:00
Daniel Dugovic
d7a26899a9
Use fallback implementation for C++ aligned_alloc
...
fixes https://github.com/official-stockfish/Stockfish/issues/2921
closes https://github.com/official-stockfish/Stockfish/pull/2927
No functional change
2020-08-09 17:07:45 +02:00
nodchip
7f1f08d094
Merge branch 'master' of github.com:official-stockfish/Stockfish into nnue-player-merge
...
# Conflicts:
# README.md
2020-08-09 09:19:47 +09:00
Unai Corzo
add890a10b
LMR search tweak
...
All credit to Vizvezdenec, the original author of the idea.
STC https://tests.stockfishchess.org/tests/view/5f2d606a61e3b6af64881f88
LLR: 2.95 (-2.94,2.94) {-0.50,1.50}
Total: 8440 W: 1191 L: 1048 D: 6201
Ptnml(0-2): 59, 754, 2467, 865, 75
LTC https://tests.stockfishchess.org/tests/view/5f2d84ad61e3b6af64881fbd
LLR: 2.95 (-2.94,2.94) {0.25,1.75}
Total: 21896 W: 1557 L: 1406 D: 18933
Ptnml(0-2): 33, 1185, 8378, 1302, 50
closes https://github.com/official-stockfish/Stockfish/pull/2951
bench: 4084753
2020-08-08 22:42:00 +02:00
Unai Corzo
1949eb8604
Singular extension search tweak
...
Tweak depth.
STC https://tests.stockfishchess.org/tests/view/5f2d22ec61e3b6af64881f40
LLR: 2.94 (-2.94,2.94) {-0.50,1.50}
Total: 17984 W: 2603 L: 2441 D: 12940
Ptnml(0-2): 133, 1751, 5094, 1849, 165
LTC https://tests.stockfishchess.org/tests/view/5f2d5a6a61e3b6af64881f7f
LLR: 2.95 (-2.94,2.94) {0.25,1.75}
Total: 85808 W: 5956 L: 5621 D: 74231
Ptnml(0-2): 149, 4748, 32785, 5063, 159
closes https://github.com/official-stockfish/Stockfish/pull/2950
fixes two README.md typos:
fixes https://github.com/official-stockfish/Stockfish/issues/2932
bench: 4022669
2020-08-08 22:39:26 +02:00
Guy Vreuls
6d6267c378
Parallelize Link Time Optimization for GCC, CLANG and MINGW
...
This patch tries to run multiple LTO threads in parallel, speeding up
the build process of optimized builds if the -j make parameter is used.
This mitigates the longer linking times of optimized builds since the
integration of the NNUE code. Roughly 2x build speedup.
I've tried a similar patch some two years ago but it ran into trouble
with old compiler versions then. Since we're on the C++17 standard now
these old compilers should be obsolete.
closes https://github.com/official-stockfish/Stockfish/pull/2943
No functional change.
2020-08-08 22:35:18 +02:00
Vizvezdenec
e663bc5330
Do more aggressive futility pruning for captures
...
This patch lines up with other patches which use better eval to produce more aggressive cutoffs based on static evaluation of position, it allows more aggressive futility pruning for captures - so now we will be producing them with bigger evaluation of position, so more often.
passed STC
https://tests.stockfishchess.org/tests/view/5f2da79e61e3b6af64881fd2
LLR: 3.87 (-2.94,2.94) {-0.50,1.50}
Total: 27256 W: 3809 L: 3593 D: 19854
Ptnml(0-2): 221, 2578, 7830, 2762, 237
passed LTC
https://tests.stockfishchess.org/tests/view/5f2df92061e3b6af64882012
LLR: 4.97 (-2.94,2.94) {0.25,1.75}
Total: 43624 W: 3095 L: 2820 D: 37709
Ptnml(0-2): 66, 2410, 16608, 2639, 89
closes https://github.com/official-stockfish/Stockfish/pull/2946
Bench: 4272280
2020-08-08 22:08:55 +02:00
Moez Jellouli
3368d03285
update Null Move Pruning parameters
...
STC: https://tests.stockfishchess.org/tests/view/5f2dc38561e3b6af64881fec
LLR: 2.99 (-2.94,2.94) {-0.50,1.50}
Total: 6120 W: 903 L: 758 D: 4459
Ptnml(0-2): 44, 535, 1775, 644, 62
LTC: https://tests.stockfishchess.org/tests/view/5f2dd55f61e3b6af64882003
LLR: 2.95 (-2.94,2.94) {0.25,1.75}
Total: 7424 W: 577 L: 463 D: 6384
Ptnml(0-2): 16, 375, 2824, 473, 24
closes https://github.com/official-stockfish/Stockfish/pull/2942
bench 4107833
2020-08-08 22:07:51 +02:00
mckx00
450b60a303
Remove unnecessay legality check
...
Possible after the recent reording pos.legal(move) check
https://github.com/official-stockfish/Stockfish/pull/2941
No functional change.
2020-08-08 21:42:59 +02:00
nodchip
fcd70a3c81
Updated README.md.
...
Bench: 4067325
2020-08-08 21:00:19 +09:00
nodchip
3b5de9f18b
Merge branch 'master' of github.com:official-stockfish/Stockfish into nnue-player-merge
2020-08-08 19:47:32 +09:00
nodchip
22b85810fe
Re-added the code to skip loading a net file.
2020-08-08 19:04:08 +09:00
nodchip
4f94f29f39
Revert "Fixed a bug that the training data generation crashes if eval_limit is high."
...
This reverts commit b0d28ac3ab .
2020-08-08 18:38:02 +09:00
nodchip
9a0b20d3fc
Changed to show if NNUE is used in the training data generator.
2020-08-08 18:24:09 +09:00
nodchip
b0d28ac3ab
Fixed a bug that the training data generation crashes if eval_limit is high.
2020-08-08 18:23:11 +09:00
nodchip
70d88364fe
Fixed a bug that the training data generation crashes.
2020-08-08 18:22:29 +09:00
nodchip
ed4d007e3c
Fixed a bug that the training data generator crahses on memory allocation.
2020-08-08 18:21:38 +09:00
nodchip
2395833c07
Re-added commands for training data generator and trainer.
2020-08-08 16:52:18 +09:00