Daylen Yang
81490ebc75
Enable NEON for armv8
2020-08-05 10:45:17 -07:00
Dominik Schlösser
c402fe7d26
apple silicon platform with NEON
...
USE_NEON instead of IS_ARM
New platform apple-silicon with default USE_NEON
nnue_common.h includes arm_neon.h for USE_NEON
2020-08-05 16:45:07 +02:00
Joost VandeVondele
2b8bb8e226
Revert stray functional part of 6e2236c37a
2020-08-05 07:46:45 +02:00
Joost VandeVondele
8a3df0f92f
Add and adjust copyright headers/authors.
...
Add missing copyright headers, and refer to the AUTHORS file for copyright owners.
Refer to 'The Stockfish developers (see AUTHORS file)' for authors.
2020-08-05 07:29:12 +02:00
Joost VandeVondele
6e2236c37a
Makefile: small follow-up for comp=msys2 removal
2020-08-05 07:20:23 +02:00
Joost VandeVondele
d8d1ecca8c
Fixes Makefile issues, #2870
2020-08-04 22:25:01 +02:00
Joost VandeVondele
bb9c6bc6a1
Update default net to nn-97f742aaefcd.nnue
...
uploaded by Sergio Vieri
NNUE signature: 4254913
Bench: 4746616
2020-08-04 08:12:43 +02:00
Joost VandeVondele
97724370e7
Merge branch 'master' into nnue-player-wip
...
Bench: 4746616
2020-08-04 08:03:52 +02:00
Joost VandeVondele
b16db14c87
Merge branch 'netDownloadMakefile' into nnue-player-wip
2020-08-03 20:14:52 +02:00
Joost VandeVondele
2c51afdb14
A new make target to download the default net
...
```
make net
```
will download the default net as specified in ucioption.cpp file.
This target assumes that `curl` or `wget` is available (in addition to grep and sed).
Needs some testing on different systems (windows, mac, etc.) to see if the implementation is portable enough.
Note that this is not part executed as part of a `make build` to make sure that a build doesn't need a network connection.
2020-08-03 14:28:54 +02:00
Joost VandeVondele
1d01b275ce
Small Makefile doc fix
2020-08-03 07:23:11 +02:00
Joost VandeVondele
dbbb3fa477
Add info string showing which evaluation is in use
2020-08-02 17:22:19 +02:00
Joost VandeVondele
18686e29c7
Revisit NNUE initialization
...
this revisits the initialization of NNUE, basically only changing
the state on the UCI options 'Use NNUE' and 'EvalFile' calling init_NNUE(),
which sets the Eval::useNNUE variable, and loads the network if needed
(i.e. useNNUE is true and the same network is not yet loaded)
init_NNUE is silent (i.e. no info strings), so that it can be called at startup
without confusing certain GUIs.
An error message on wrong setting when asking for (i.e. the net failed to load),
is delayed to the point where everything must be consistent (start of search or eval).
The engine will stop if the settings are wrong at that point.
Also works if the default value of Use NNUE would become true.
2020-08-02 17:22:19 +02:00
Joost VandeVondele
e45d4f1b65
Small whitespace changes
2020-08-02 16:30:00 +02:00
Joost VandeVondele
f4ecc899d8
Minimal whitespace changes
2020-08-01 22:43:14 +02:00
Dariusz Orzechowski
122c78b521
[NNUE] More cleanup in nnue folder
...
No functional change.
2020-08-01 22:24:26 +02:00
Joost VandeVondele
aa339506db
Small target adjustments
2020-08-01 19:19:10 +02:00
Dariusz Orzechowski
292c9efb1d
[NNUE] Remove not used network architecture
...
No functional change.
2020-08-01 17:31:20 +02:00
Joost VandeVondele
9f2f46c212
[NNUE] adjust Makefile targets
...
clearly differentiate between sse3 and ssse3.
assume popcnt from sse4.
2020-08-01 17:30:29 +02:00
Joost VandeVondele
61ab908db3
Some coding style changes, white space
2020-08-01 09:25:00 +02:00
Joost VandeVondele
6cd70676b4
Update README.md
...
Mostly restores the previous README.md with some info and new UCI options, retaining only the info needed for the player.
The valuable training documentation is best preserved elsewhere.
Comments / fixes welcome.
2020-08-01 08:27:59 +02:00
Joost VandeVondele
56c9b608c9
Remove unused variable
2020-08-01 08:18:35 +02:00
Joost VandeVondele
dbab8b03cf
Recreate Position object for eval
...
takes the current option settings into account.
Fixes #2859
Fixes #2579
2020-07-31 19:16:38 +02:00
Joost VandeVondele
8e28c99f79
Use a global instead of a variable in pos
2020-07-31 15:58:33 +02:00
Joost VandeVondele
e42258db5a
Merge branch 'nnue-notemplate2' of https://github.com/dorzechowski/Stockfish into dorzechowski-nnue-notemplate2
2020-07-31 12:19:26 +02:00
Dariusz Orzechowski
69fa1111e6
[NNUE] StateInfo handling speed improvement
...
Don't copy NNUE parts of StateInfo when not needed in do_null_move().
Measurement vs master at STC shows only ~3 Elo regression when NNUE
is not used, was ~5 Elo before.
https://tests.stockfishchess.org/tests/view/5f23a9052f7e63962b99f51b
ELO: -3.02 +-1.7 (95%) LOS: 0.0%
Total: 60000 W: 11145 L: 11666 D: 37189
Ptnml(0-2): 1018, 6945, 14494, 6626, 917
No functional change.
2020-07-31 11:58:13 +02:00
Dariusz Orzechowski
ffae13edff
Remove some code unused in the current network architecture
...
No functional change.
2020-07-30 05:05:27 +02:00
mstembera
21d43e9500
Remove some unnecessary declarations and headers.
...
bench: 4578298
2020-07-28 20:08:10 -07:00
NguyenPham
5c616bc46b
Change data file extension of nnue networks
...
move from .bin (used for polyglot books etc) to .nnue
2020-07-28 14:02:35 +02:00
Joost VandeVondele
2f459fb161
Add authors to the AUTHORS file
...
add missing contributors based on git commit history
2020-07-28 10:27:07 +02:00
Joost VandeVondele
c8f7fa6a02
[NNUE] update compiler info with flags
...
as several new flags are added document compilation specifics under the compiler command.
No functional change.
2020-07-28 09:28:10 +02:00
Dariusz Orzechowski
7bb14c2489
Clamp NNUE evaluation score
...
No functional change.
2020-07-28 04:30:47 +02:00
Joost VandeVondele
6349062d42
[NNUE] remove evalnn command
...
instead eval uses the evaluation according to the state of Use NNUE
No functional change.
2020-07-27 20:14:25 +02:00
erbsenzaehler
7182c55e5c
Update appveyor to use MSVC 2019
2020-07-27 13:09:48 +02:00
Joost VandeVondele
b536b0ac67
[NNUE] init networks also for cmdline use
...
`./stockfish go depth 10`
now works if `Use NNUE` defaults to true.
No functional change
2020-07-27 09:43:19 +02:00
mstembera
60497a85d6
Fix a crash on Use NNUE default true
...
This was because the UCI::use_nnue variable was never updated to true.
closes https://github.com/official-stockfish/Stockfish/pull/2843
bench: 4578298
NNUE: 3377227
2020-07-27 07:17:41 +02:00
Joost VandeVondele
a8bdf69c71
Use _mm_malloc on _WIN32
2020-07-26 22:22:36 +02:00
Joost VandeVondele
a6c614da03
Include header if _MSC_VER
2020-07-26 20:44:47 +02:00
Joost VandeVondele
98ffe0cd97
[NNUE] Wrap aligned_alloc
...
For some systems std::aligned_alloc is not available even if c++17 is specified.
Wrap the function and use specific solutions.
Update macosx-version-min to the required minimum.
No functional change.
2020-07-26 20:32:00 +02:00
Joost VandeVondele
2b0ba70436
[NNUE] update travis CI to use new toolchain
...
No functional change.
2020-07-26 18:03:54 +02:00
Joost VandeVondele
27b87ddf5d
[NNUE] use_nue=false for getting the material key
...
No functional change.
2020-07-26 14:57:38 +02:00
Joost VandeVondele
319b8e8e7b
Fix unused variable warning
...
for certain targets. Only define variable when needed.
No functional change.
2020-07-26 14:57:38 +02:00
Joost VandeVondele
44461911f7
[NNUE] Add C++17 to appveyor
...
update CMakeList.txt to add required C++ standard version.
Fix signature.
the code is up-to-date with master d89730d5c8 adjust signature
Bench: 4578298
2020-07-26 14:57:29 +02:00
Dariusz Orzechowski
a285850bf6
Fix valgrind issue
...
No functional change.
2020-07-26 08:52:22 +02:00
Dariusz Orzechowski
cae61bbb65
Fix memset/memcpy warnings
...
No functional change.
2020-07-26 08:52:22 +02:00
Joost VandeVondele
ab09c74783
Revert "[NNUE] Update travis clang on linux."
...
This reverts commit e3367756b5 .
2020-07-25 19:48:20 +02:00
Joost VandeVondele
e3367756b5
[NNUE] Update travis clang on linux.
...
move from 6.0 to 7.0 (minimum version for std::aligned_alloc)
2020-07-25 19:13:59 +02:00
Joost VandeVondele
49d2cd8b13
[NNUE] update x86-64-modern target
...
slightly increase requirements on modern from sse3 to ssse3.
2020-07-25 17:23:07 +02:00
Dariusz Orzechowski
beb956f823
NNUE: Fix debug build
...
No functional change
2020-07-25 17:22:25 +02:00
Joost VandeVondele
faf08671ff
[NNUE] default net
...
change default net to nn-c157e0a5755b.bin as available in https://github.com/official-stockfish/networks
2020-07-25 12:45:19 +02:00
Dariusz Orzechowski
458a920788
Fix makefile option x86-64-modern
2020-07-20 13:53:21 +02:00
Dariusz Orzechowski
871e6b8c83
Merge latest changes from nodchip repo
2020-07-20 13:19:25 +02:00
Dariusz Orzechowski
76d8f6128a
Fix popcnt option in makefile
2020-07-20 11:39:52 +02:00
nodchip
c0e1235fef
Added a description to Makefile.
2020-07-20 17:36:09 +09:00
No name
74049a450c
Add NNUE targets to the output of 'make help'
2020-07-20 17:29:20 +09:00
nodchip
fbdb373b64
Changed to set the binary directory to the current working directory.
2020-07-20 17:17:50 +09:00
Dariusz Orzechowski
c0bbce092b
Restore ARCH=x86-64-modern in the makefile
2020-07-20 09:59:40 +02:00
Dariusz Orzechowski
cf8a50e654
Don't use NNUE by default - changed for an attempt on fishtest
2020-07-20 08:39:21 +02:00
Dariusz Orzechowski
675672cfc1
Use std::aligned_alloc
2020-07-20 06:20:31 +02:00
Dariusz Orzechowski
4cceeb7380
Remove code unneeded for playing, refactor, update to latest master dev
2020-07-20 05:45:24 +02:00
mstembera
77018c77cc
Fix profile builds for AVX512.
2020-07-19 21:25:50 +09:00
No name
fd78fb05f6
Hide NNUE options if building without NNUE support
...
Also remove an unused option.
2020-07-19 20:17:01 +09:00
nodchip
afd7d0ea4d
Fixed a bug that Makefile specifies -mpopcnt for armv8-a.
2020-07-19 18:34:35 +09:00
nodchip
36092b855a
Removed the x86-64-ssse3-popcnt architecture.
2020-07-19 14:17:35 +09:00
nodchip
3bbe4802b1
Removed the sse41-popcnt architecture.
2020-07-19 14:02:49 +09:00
nodchip
c001a4e62d
Revert "Removed x86-64-ssse3-popcnt and x86-64-sse41-popcnt."
...
This reverts commit 92c2167481 .
2020-07-19 13:58:19 +09:00
No name
1536e31065
Load the parameter set on an `isready' as well
...
Unbreaks Scid vs. PC, which doesn't send `ucinewgame'.
2020-07-19 13:22:40 +09:00
nodchip
92c2167481
Removed x86-64-ssse3-popcnt and x86-64-sse41-popcnt.
2020-07-19 12:52:20 +09:00
nodchip
a4786db4c2
Added support for architectures which supports SSE3+POPCNT, SSSE3+POPCNT and SSE41+POPCNT.
2020-07-19 12:41:50 +09:00
nodchip
c24ad8d8b5
Supported sse3 build.
2020-07-19 12:26:37 +09:00
mstembera
961a4dad5c
Add AVX512 support.
...
bench: 3909820
2020-07-19 12:07:28 +09:00
nodchip
7a13d4ed60
Changed the default eval file path so that more GUIs can use Stockfish NNUE.
2020-07-17 15:40:01 +09:00
xXH4CKST3RXx
4d4c80d7fd
Update README.md
...
Added logo, reinforcement learning instructions, and resources list.
2020-07-17 12:40:47 +09:00
nodchip
2b821682aa
Update README.md
2020-07-17 11:55:30 +09:00
xXH4CKST3RXx
be754a2379
Update README.md
2020-07-16 13:21:14 +09:00
xXH4CKST3RXx
ec5ef2b6df
Update README.md
2020-07-16 13:21:14 +09:00
xXH4CKST3RXx
df4da8dc41
Update README.md
2020-07-16 13:21:14 +09:00
xXH4CKST3RXx
6118151c66
Create README.md
...
Added and cleaned up Gekkehenker's training guide.
2020-07-16 13:21:14 +09:00
xXH4CKST3RXx
2fd1c48e60
Rename Readme.md to stockfish.md
2020-07-16 13:21:14 +09:00
No name
961047ed6e
Experimental support for PGO builds of NNUE
...
Only 'nnue' target and only gcc/mingw.
(does not clean profile data generated by other compilers)
To use:
make profile-nnue ARCH=arch
(see 'make help' for list of supported archs)
2020-07-16 08:53:03 +09:00
J. Oster
e29499ee4b
Use the path and filename for restoring parameter files.
2020-07-15 19:29:29 +09:00
nodchip
7f4b72cdfd
Merge branch 'master' of github.com:nodchip/Stockfish
2020-07-13 22:25:56 +09:00
nodchip
686a5a0df9
Fixed a bug that gensfen command does not accept the use_draw_in_training_data_generation option.
2020-07-13 22:25:23 +09:00
Anson Hu
df40de9486
game result bugfix
2020-07-12 15:56:03 +09:00
No name
fcb391919f
Disable EVAL_HASH for 'nnue' target
...
Gives a 7% speed gain for me, without any parameter set loaded
(all-zero).
2020-07-11 19:29:05 +09:00
nodchip
ae4db5ebfd
Merge pull request #45 from joergoster/sf-nnue-update
...
Sf nnue update
2020-07-11 19:17:38 +09:00
joergoster
db0615eed9
Merge branch 'master' into sf-nnue-update
2020-07-11 12:03:17 +02:00
zz4032
d6e8089f50
Saving new network in correct path.
2020-07-11 17:46:43 +09:00
zz4032
b521e405d3
Default network path in Linux.
2020-07-11 00:07:15 +09:00
nodchip
d7c358cf19
Fixed descriptions and sanity checks in Makefile.
2020-07-10 16:55:32 +09:00
nodchip
bc6a8d09e9
Unified the nnue-learn and nnue-learn-use-blas targets into nnue-learn.
2020-07-10 16:17:35 +09:00
nodchip
df05ecb1d5
Added halfkp_384x2-32-32.
2020-07-10 16:14:19 +09:00
nodchip
1de1eb2d0d
Refactoring: Restructured the architecture list in Makefile.
2020-07-10 16:13:21 +09:00
No name
081761d084
Add support for SSSE3-only compiles
...
For Core 2 Duo.
To compile:
make ARCH=x86-64 ssse3=yes nnue
No observable difference in speed to SSE4.1 on my machine.
2020-07-10 15:21:50 +09:00
No name
b9a32fe331
Define USE_SSE2 for any x86-64 target
...
Rather than only when popcnt=yes
x86-64 instruction set includes SSE2.
2020-07-10 14:56:33 +09:00
tttak
a06234c639
enable convert_plain
...
learn convert_plain output_file_name xxx.txt xxx.bin
2020-07-09 09:51:00 +09:00
FireFather
df9b2a87db
Update misc.cpp
...
change name to Stockfish+NNUE
and add 3 more authors
2020-07-08 23:20:36 +09:00
FireFather
821aaf3836
Update misc.cpp
...
do not clutter console window
remove "Windows large pages not used."
only show message when/if successful
2020-07-08 23:20:36 +09:00
nodchip
272f0f88c3
Merge pull request #40 from FireFather/master
...
Update evaluate_nnue_learner.cpp
2020-07-08 20:52:39 +09:00
FireFather
76d124ed70
Update evaluate_nnue_learner.cpp
...
replace NNUE::kFileName with NNUE::fileName
2020-07-08 13:42:28 +02:00
FireFather
ec3eaad64f
update evaluate_nnue.cpp
...
rename kFileName and change to std:string
2020-07-08 11:59:18 +09:00
FireFather
f7420652b7
UCI option EvalFile
...
Replace EvalDir with EvalFile
Can now browse filesystem for net (eval\nn.bin is default)
nn.bin no longer hard-coded
2020-07-08 11:59:18 +09:00
FireFather
d1760a1f15
update evaluate_nnue.cpp
...
rename kFileName and change to std:string
2020-07-08 04:23:50 +02:00
FireFather
c59583bbf0
UCI option EvalFile
...
Replace EvalDir with EvalFile
Can now browse filesystem for net (eval\nn.bin is default)
nn.bin no longer hard-coded
2020-07-07 23:25:20 +02:00
FireFather
d61378cacb
Merge pull request #1 from nodchip/master
...
Merge
2020-07-07 13:06:40 +02:00
joergoster
cd55c268cb
Bugfix.
...
Otherwise creating a new net fails.
2020-07-07 18:51:22 +09:00
joergoster
a5af8510a5
Rework loading the net.
2020-07-07 15:13:59 +09:00
nodchip
288fdc5597
Added "nodes" option to the "gensfen" command to specify the number of the nodes to be searched.
2020-07-06 17:38:43 +09:00
nodchip
85c802d0b9
Revert "use winning_percentage_wdl in learn"
...
This reverts commit c964e902c5 .
# Conflicts:
# src/uci.cpp
2020-07-06 11:07:46 +09:00
nodchip
3b535b5ade
Merge pull request #36 from tttak/WDL_20200703b
...
use winning_percentage_wdl in learn
2020-07-04 07:36:33 +09:00
nodchip
cea5240909
Merge branch 'master' into WDL_20200703b
2020-07-04 07:36:16 +09:00
tttak
5dec3e547e
merge "Provide WDL statistics"
...
https://github.com/official-stockfish/Stockfish/commit/110068808b51344ac59f8c6a0846f5dfdf670392
https://github.com/official-stockfish/Stockfish/pull/2778
https://github.com/official-stockfish/Stockfish/pull/2788
2020-07-04 07:35:15 +09:00
tttak
c964e902c5
use winning_percentage_wdl in learn
2020-07-03 23:21:49 +09:00
tttak
9ce0ef3ac0
merge "Provide WDL statistics"
...
https://github.com/official-stockfish/Stockfish/commit/110068808b51344ac59f8c6a0846f5dfdf670392
https://github.com/official-stockfish/Stockfish/pull/2778
https://github.com/official-stockfish/Stockfish/pull/2788
2020-07-03 23:01:37 +09:00
FireFather
9c19021808
update translation
...
1 line src\eval\nnue\features\half_kp.cpp
1 line src\movegen.h
2020-07-03 09:24:15 +09:00
FireFather
c679e8f360
Update search.h
...
1 line of translation
2020-07-03 09:24:15 +09:00
joergoster
13824d8b96
Explicitly specify SSE41.
2020-07-02 16:15:39 +09:00
joergoster
145e4c2a10
Add SSE41 switch.
...
This allows building modern compiles with SSE41 enabled,
which gives a nice speedup on my Bulldozer CPU.
For example:
make nnue ARCH=x86-64-modern sse41=yes -j
2020-07-02 16:15:39 +09:00
nodchip
c8262f8aec
Fixed a compile error.
2020-06-30 15:58:51 +09:00
tttak
486f72af54
バグ修正(learn convert_bin_from_pgn-extract)
2020-06-30 14:01:04 +09:00
tttak
fda3945c07
learn convert_bin_from_pgn-extractコマンドを追加
...
http://rebel13.nl/download/data.html
Download Selected Lichess games
pgn-extract --fencomments -Wlalg --nochecks --nomovenumbers --noresults -w500000 -N -V -o comp-2019-06.txt comp-2019-06.pgn
stockfish.exe
learn convert_bin_from_pgn-extract pgn_eval_side_to_move 0 output_file_name fens_comp-2019-06.bin comp-2019-06.txt
https://github.com/glinscott/fishtest/wiki/PGN-files-of-games-played-on-fishtest
pgn-extract --fencomments -Wlalg --nochecks --nomovenumbers --noresults -w500000 -N -V -o fishtest.txt fishtest.pgn
stockfish.exe
learn convert_bin_from_pgn-extract pgn_eval_side_to_move 1 output_file_name fens_fishtest.bin fishtest.txt
2020-06-30 14:01:04 +09:00
FireFather
8f31d74cf6
More comment translation
...
including 11 files in /src
2020-06-30 00:45:32 +09:00
FireFather
f5cc77bc7c
EOL
...
add eol at eof
2020-06-29 08:27:41 +09:00
nodchip
9dc62809c8
Merge pull request #24 from FireFather/master
...
Comment translation
2020-06-28 11:43:53 +09:00
nodchip
123dd68452
Merge branch 'master' into master
2020-06-28 11:42:23 +09:00
nodchip
f1a8580118
Merge branch 'master' of github.com:nodchip/Stockfish
2020-06-28 11:37:42 +09:00
nodchip
87c8b324f8
Simplified source code to estimate the winning ratio from an eval value.
...
We need to adjust the eta again after this commit is pushed.
2020-06-28 11:37:15 +09:00
nodchip
6324c2de75
Merge pull request #23 from joergoster/linux_sse41
...
Linux sse41
2020-06-28 10:29:14 +09:00
FireFather
aea08de018
Translation
...
Files in /eval, /extra, & /learn - comments translated from Japanese to English
2020-06-28 03:12:55 +02:00
FireFather
2f8c692caa
Merge pull request #2 from nodchip/master
...
merge
2020-06-28 01:37:01 +02:00
joergoster
96f2541191
Fix compilation under Linux with -DUSE_SSE41.
2020-06-27 19:41:13 +02:00
nodchip
cb8accada2
Merge branch 'master' of github.com:nodchip/Stockfish
2020-06-27 22:19:33 +09:00
nodchip
13eb540020
Changed the formula to calculate winning ratio to 1/(1+10^(-Eval/4)).
2020-06-27 22:19:22 +09:00
joergoster
32c204fb56
Merge branch 'master' into sf-nnue-nodchip
2020-06-27 10:57:09 +02:00
tttak
e229015127
learn convert_bin_from_pgn-extractコマンドを追加
...
http://rebel13.nl/download/data.html
Download Selected Lichess games
pgn-extract --fencomments -Wlalg --nochecks --nomovenumbers --noresults -w500000 -N -V -o comp-2019-06.txt comp-2019-06.pgn
stockfish.exe
setoption name SkipLoadingEval value true
isready
learn convert_bin_from_pgn-extract output_file_name fens_comp-2019-06.bin comp-2019-06.txt
2020-06-27 16:33:36 +09:00
nodchip
aa2dc962f5
Added use_draw_in_training_data_generation option to write out draw games to the training data.
2020-06-27 14:00:12 +09:00
rqs
4c926b8eb4
add pgn_to_plain
2020-06-27 13:17:54 +09:00
rqs
0761d9504e
add convert_bin and option for draw positions
2020-06-27 13:17:54 +09:00
joergoster
2af46deede
Fix include.
2020-06-26 09:12:24 +09:00
joergoster
a5fb69008c
Bugfix. No legal move is either mate or stalemate.
2020-06-26 09:12:24 +09:00
nodchip
1c8a931309
Merge pull request #18 from joergoster/sf-nnue-nodchip
...
Update to SF master
2020-06-25 23:09:45 +09:00
joergoster
151a0dda91
Merge branch 'master' into sf-nnue-nodchip
2020-06-25 15:10:12 +02:00
FireFather
8c8a30233c
Update evaluate_nnue.cpp
2020-06-25 12:41:32 +09:00
FireFather
86e3fedf7e
Update evaluate_nnue.cpp
2020-06-25 04:38:39 +02:00
FireFather
7a3c3eacdf
added header guards
...
5 include files in \eval\nnue\architectures
2020-06-25 10:39:29 +09:00
nodchip
ff31d92b94
Merge pull request #14 from joergoster/sf-nnue-nodchip
...
Update to SF master
2020-06-25 10:38:16 +09:00
FireFather
08d8adbade
added header guards
...
5 include files in \eval\nnue\architectures
2020-06-24 22:41:00 +02:00
joergoster
5e119f5139
Finally.
2020-06-24 20:22:56 +02:00
joergoster
0e932757e5
Re-enable increment operator for Piece.
...
No functional change.
2020-06-24 20:18:32 +02:00
joergoster
8ef6c837b7
Fix.
...
Bench: 4471740
2020-06-24 18:04:28 +02:00
joergoster
89bbe86800
Merge branch 'master' of https://github.com/nodchip/Stockfish into sf-nnue-nodchip
2020-06-24 17:47:55 +02:00
nodchip
7818d23afb
Merge pull request #13 from zz4032/linux-identifier
...
Linux identifier corrected.
2020-06-24 09:35:44 +09:00
nodchip
0abd692543
Fixed a build error on Visual Studio.
2020-06-24 09:33:46 +09:00
zz4032
5ae64e2244
Adding mm_malloc.h
...
Otherwise compiling with 'modern' or 'avx2' architecture on Linux aborts with errors.
2020-06-24 09:28:45 +09:00
zz4032
5aa801e721
Update misc.h
2020-06-23 20:54:50 +02:00
zz4032
3102896a00
Linux identifier corrected.
2020-06-23 20:53:32 +02:00
zz4032
ccd2e602a0
Adding mm_malloc.h
...
Otherwise compiling with 'modern' or 'avx2' architecture on Linux aborts with errors.
2020-06-23 19:55:54 +02:00
nodchip
999f5ec446
COMP=msys2を指定できるようにした
2020-06-24 00:47:34 +09:00
nodchip
43e78187d7
ARCH=x86-64-avx2を指定できるようにした
2020-06-24 00:27:45 +09:00
nodchip
76b0de40a1
コンパイラーオプションを-std=c++14から-std=c++17に変更した
2020-06-23 23:47:59 +09:00
nodchip
c7884470fb
Merge branch 'master' of github.com:nodchip/Stockfish
2020-06-22 10:28:02 +09:00
nodchip
6c7a594362
Added "-Wl,-s" option.
2020-06-22 10:27:52 +09:00
tttak
2d5c50d85b
eval_nnueコマンド追加
2020-06-22 09:50:22 +09:00
nodchip
33772a0418
コンパイルエラーを修正した
2020-06-08 23:46:06 +09:00
nodchip
5c936572e9
Merge branch 'master' of github.com:official-stockfish/Stockfish
...
# Conflicts:
# src/Makefile
# src/position.cpp
# src/position.h
# src/search.cpp
# src/types.h
# src/uci.cpp
2020-06-08 23:09:51 +09:00
tttak
91a7557ab4
test nnue test_features等の有効化
2020-06-08 15:07:48 +09:00
nodchip
d23f96d156
No pruning at low plies.
...
This makes those very early depths a bit more reliable.
Thanks, joergoster!
https://github.com/joergoster/Stockfish-NNUE/commit/be7f37187b85b8093ae0741909cbfd7b2bc76871
2020-06-06 18:50:15 +09:00
nodchip
2523f72ff9
盤上から取り除かれた駒に関する差分計算を省き、高速化した
2020-06-03 23:32:08 +09:00
nodchip
a85e3055f4
いくつかのターゲットでOpenMPを有効にした
2020-06-02 00:13:35 +09:00
tttak
78134b7641
OpenMPの有効化
2020-06-01 23:51:05 +09:00
nodchip
6703ec8ab0
nnue-gen-sfen-from-original-evalターゲットを追加した
2020-05-30 09:50:29 +09:00
nodchip
dd9818c2c1
Added "-static" compiler option.
2020-05-29 09:36:24 +09:00
nodchip
f18acf97ed
Added the "nnue" target.
...
Fixed build errors on the "nnue-learn-use-blas" target.
2020-05-28 10:08:51 +09:00
Hisayori Noda
e2165155d1
Enabled halfkp_256x2-32-32.h.
2019-07-11 22:47:55 +09:00
Hisayori Noda
1d5f79db1c
Merge branch 'master' of github.com:nodchip/Stockfish into k-p_256x2-32-32
2019-07-10 08:18:57 +09:00
tttak
c4d30f3649
set_from_packed_sfen()でmirrorをepSquareにも適用するように修正
2019-07-10 08:16:38 +09:00
Hisayori Noda
2d70487caa
Enabled k-p_256x2-32-32.
2019-07-08 19:02:09 +09:00
tttak
0be41dbb67
nullmoveとpromotionの場合に評価値の差分計算と全計算の結果が異なっていたのを修正
2019-07-08 18:51:08 +09:00
HiraokaTakuya
c643ee0b45
Fix a compile error.
2019-07-08 18:49:47 +09:00
HiraokaTakuya
10aa774d08
Fix a compile error.
2019-07-08 18:49:47 +09:00
HiraokaTakuya
8718438943
std::conditional_t can be used from C++14.
2019-07-08 18:49:47 +09:00
HiraokaTakuya
fc5f64b383
Add targets nnue-learn, nnue-learn-use-blas
2019-07-08 18:49:47 +09:00
tttak
3dcd2bb69b
Makefileのobjclean:に「./eval/nnue/*.o」等を追加
2019-07-08 18:46:24 +09:00
Hisayori Noda
b300a9d43e
Enabled halfkp_256x2-32-32.
2019-07-07 21:44:02 +09:00
Hisayori Noda
747d98bf1b
Added halfkp-cr-ep_256x2-32-32 architecture.
2019-07-07 20:31:54 +09:00
Hisayori Noda
df827ea7ee
Added enpassant feature. Added k-p-cr-ep_256x2-32-32 architecture.
2019-07-07 19:24:46 +09:00
Hisayori Noda
92052bc16b
Fixed build errors.
2019-07-07 17:22:07 +09:00
Hisayori Noda
5c0037de7f
Added the castling right feature. Added k-p-cr_256x2-32-32 architecture.
2019-07-07 17:02:34 +09:00
Hisayori Noda
09e529edd3
Added a hack to avoid crash with binaries compiled by g++ on MSYS2.
2019-07-05 00:22:41 +09:00
Hisayori Noda
89e846c476
Fixed a bug that Learner::qsearch() recognizes stalemate as checkmated.
2019-07-04 23:44:58 +09:00
Hisayori Noda
81262320c3
Revert "Changed the constant value to calculate the winning percentage."
...
This reverts commit 00f84ed99a .
2019-06-30 11:29:43 +09:00
Hisayori Noda
00f84ed99a
Changed the constant value to calculate the winning percentage.
2019-06-26 08:48:48 +09:00
Hisayori Noda
26271586cb
Added #if to fix compile errors.
2019-06-24 23:18:17 +09:00
Hisayori Noda
a413bf7aad
Added hack to avoid crash during machine learning.
2019-06-24 23:17:46 +09:00
Hisayori Noda
9a73df7379
Added test commands.
2019-06-22 00:40:46 +09:00
Hisayori Noda
5772509e8b
Disabled TT when EVAL_LEARN is enabled.
2019-06-22 00:40:25 +09:00
Hisayori Noda
641724e3a5
Added debug code.
2019-06-22 00:39:21 +09:00
Hisayori Noda
57ead90f18
Fixed a bug that the game play is invalid.
2019-06-22 00:38:24 +09:00
Hisayori Noda
07dc336b0f
Added validation logic.
2019-06-22 00:37:59 +09:00
Hisayori Noda
84a96a3d9c
Fixed a compilation error.
2019-06-22 00:37:31 +09:00
Hisayori Noda
998d8721bd
Fixed a bug that White and Black are reversed.
2019-06-22 00:37:10 +09:00
Hisayori Noda
9dab4660ce
Added source files.
2019-06-22 00:36:42 +09:00
Hisayori Noda
90ef97dcbd
Fixed crash bugs.
2019-06-20 00:25:40 +09:00
Hisayori Noda
24576d77ab
Merged uci parse logic.
2019-06-18 21:19:51 +09:00
Hisayori Noda
f58d616198
Fixed compile errors when EVAL_LEARN or EVAL_NNUE are defined.
2019-06-18 20:28:50 +09:00
Hisayori Noda
bcd6985871
Merged the training data generator and the machine learning logic from YaneuraOu.
2019-06-18 08:48:05 +09:00
Hisayori Noda
87445881ec
Added #ifdef statements to switch the legacy evaluation function and NNUE evaluation function.
2019-06-16 11:11:16 +09:00
Hisayori Noda
48bfe86d27
Implemented the logic to update Eval List and Dirty Pieces.
2019-06-16 10:33:53 +09:00
Hisayori Noda
b330602cdc
Fixed compile errors.
2019-06-15 17:08:47 +09:00
Hisayori Noda
9964fbbe25
Reverted evaluate.cpp.
2019-06-15 11:46:54 +09:00
Hisayori Noda
db02ddcc90
Added files for NNUE.
2019-06-09 10:40:12 +09:00