Stockfish NNUE Development Versions are build automatically if there are changes on the nnue-player-wip branch in the git repository (https://github.com/official-stockfish/Stockfish). Use it at your own risk.
They are compiled with gcc/mingw 7.3 on Ubuntu 18.04.
Read the FAQ or leave a comment.

Nets for Stockfish NNUE can be downloaded from www.comp.nus.edu.sg/~sergio-v/nnue
Don't forget to enable the checkbox "Use NNUE" in the UCI settings.

goto Stockfish builds
!! latest version !!


Windows x64 for Haswell CPUs
Windows x64 for modern computers + AVX2
Windows x64 for modern computers
Windows x64
Windows 32
Linux x64 for Haswell CPUs
Linux x64 for modern computers + AVX2
Linux x64 for modern computers
Linux x64
Author: Joost VandeVondele
Date: Wed Aug 5 07:46:45 2020 +0200
Timestamp: 1596606405

Revert stray functional part of 6e2236c37a3c9a3958b8355ffb0c433f53400f59
Windows x64 for Haswell CPUs
Windows x64 for modern computers + AVX2
Windows x64 for modern computers
Windows x64
Windows 32
Linux x64 for Haswell CPUs
Linux x64 for modern computers + AVX2
Linux x64 for modern computers
Linux x64
Author: Joost VandeVondele
Date: Wed Aug 5 07:29:12 2020 +0200
Timestamp: 1596605352

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.
Windows x64 for Haswell CPUs
Windows x64 for modern computers + AVX2
Windows x64 for modern computers
Windows x64
Windows 32
Linux x64 for Haswell CPUs
Linux x64 for modern computers + AVX2
Linux x64 for modern computers
Linux x64
Author: Joost VandeVondele
Date: Wed Aug 5 07:20:23 2020 +0200
Timestamp: 1596604823

Makefile: small follow-up for comp=msys2 removal
Windows x64 for Haswell CPUs
Windows x64 for modern computers + AVX2
Windows x64 for modern computers
Windows x64
Windows 32
Linux x64 for Haswell CPUs
Linux x64 for modern computers + AVX2
Linux x64 for modern computers
Linux x64
Author: Joost VandeVondele
Date: Tue Aug 4 22:25:01 2020 +0200
Timestamp: 1596572701

Fixes Makefile issues, #2870
Windows x64 for Haswell CPUs
Windows x64 for modern computers + AVX2
Windows x64 for modern computers
Windows x64
Windows 32
Linux x64 for Haswell CPUs
Linux x64 for modern computers + AVX2
Linux x64 for modern computers
Linux x64
Author: Joost VandeVondele
Date: Tue Aug 4 08:12:43 2020 +0200
Timestamp: 1596521563

Update default net to nn-97f742aaefcd.nnue

uploaded by Sergio Vieri

NNUE signature: 4254913
Bench: 4746616
Windows x64 for Haswell CPUs
Windows x64 for modern computers + AVX2
Windows x64 for modern computers
Windows x64
Windows 32
Linux x64 for Haswell CPUs
Linux x64 for modern computers + AVX2
Linux x64 for modern computers
Linux x64
Author: Joost VandeVondele
Date: Tue Aug 4 08:03:52 2020 +0200
Timestamp: 1596521032

Merge branch 'master' into nnue-player-wip

Bench: 4746616
Windows x64 for Haswell CPUs
Windows x64 for modern computers + AVX2
Windows x64 for modern computers
Windows x64
Windows 32
Linux x64 for Haswell CPUs
Linux x64 for modern computers + AVX2
Linux x64 for modern computers
Linux x64
Author: Joost VandeVondele
Date: Mon Aug 3 20:14:52 2020 +0200
Timestamp: 1596478492

Merge branch 'netDownloadMakefile' into nnue-player-wip
Windows x64 for Haswell CPUs
Windows x64 for modern computers + AVX2
Windows x64 for modern computers
Windows x64
Windows 32
Linux x64 for Haswell CPUs
Linux x64 for modern computers + AVX2
Linux x64 for modern computers
Linux x64
Author: Joost VandeVondele
Date: Mon Aug 3 07:23:11 2020 +0200
Timestamp: 1596432191

Small Makefile doc fix
Windows x64 for Haswell CPUs
Windows x64 for modern computers + AVX2
Windows x64 for modern computers
Windows x64
Windows 32
Linux x64 for Haswell CPUs
Linux x64 for modern computers + AVX2
Linux x64 for modern computers
Linux x64
Author: Joost VandeVondele
Date: Sun Aug 2 17:22:19 2020 +0200
Timestamp: 1596381739

Add info string showing which evaluation is in use
Windows x64 for Haswell CPUs
Windows x64 for modern computers + AVX2
Windows x64 for modern computers
Windows x64
Windows 32
Linux x64 for Haswell CPUs
Linux x64 for modern computers + AVX2
Linux x64 for modern computers
Linux x64
Author: Joost VandeVondele
Date: Sun Aug 2 17:22:19 2020 +0200
Timestamp: 1596381739

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.
Windows x64 for Haswell CPUs
Windows x64 for modern computers + AVX2
Windows x64 for modern computers
Windows x64
Windows 32
Linux x64 for Haswell CPUs
Linux x64 for modern computers + AVX2
Linux x64 for modern computers
Linux x64
Author: Joost VandeVondele
Date: Sun Aug 2 16:30:00 2020 +0200
Timestamp: 1596378600

Small whitespace changes
Windows x64 for Haswell CPUs
Windows x64 for modern computers + AVX2
Windows x64 for modern computers
Windows x64
Windows 32
Linux x64 for Haswell CPUs
Linux x64 for modern computers + AVX2
Linux x64 for modern computers
Linux x64
Author: Joost VandeVondele
Date: Sat Aug 1 22:43:14 2020 +0200
Timestamp: 1596314594

Minimal whitespace changes
Windows x64 for Haswell CPUs
Windows x64 for modern computers + AVX2
Windows x64 for modern computers
Windows x64
Windows 32
Linux x64 for Haswell CPUs
Linux x64 for modern computers + AVX2
Linux x64 for modern computers
Linux x64
Author: Dariusz Orzechowski
Date: Sat Aug 1 22:24:26 2020 +0200
Timestamp: 1596313466

[NNUE] More cleanup in nnue folder

No functional change.
Windows x64 for Haswell CPUs
Windows x64 for modern computers + AVX2
Windows x64 for modern computers
Windows x64
Windows 32
Linux x64 for Haswell CPUs
Linux x64 for modern computers + AVX2
Linux x64 for modern computers
Linux x64
Author: Joost VandeVondele
Date: Sat Aug 1 19:19:10 2020 +0200
Timestamp: 1596302350

Small target adjustments
Windows x64 for Haswell CPUs
Windows x64 for modern computers + AVX2
Windows x64 for modern computers
Windows x64
Windows 32
Linux x64 for Haswell CPUs
Linux x64 for modern computers + AVX2
Linux x64 for modern computers
Linux x64
Author: Dariusz Orzechowski
Date: Sat Aug 1 17:31:20 2020 +0200
Timestamp: 1596295880

[NNUE] Remove not used network architecture

No functional change.
Windows x64 for Haswell CPUs
Windows x64 for modern computers + AVX2
Windows x64 for modern computers
Windows x64
Windows 32
Linux x64 for Haswell CPUs
Linux x64 for modern computers + AVX2
Linux x64 for modern computers
Linux x64
Author: Joost VandeVondele
Date: Sat Aug 1 17:30:29 2020 +0200
Timestamp: 1596295829

[NNUE] adjust Makefile targets

clearly differentiate between sse3 and ssse3.
assume popcnt from sse4.
Windows x64 for Haswell CPUs
Windows x64 for modern computers + AVX2
Windows x64 for modern computers
Windows x64
Windows 32
Linux x64 for Haswell CPUs
Linux x64 for modern computers + AVX2
Linux x64 for modern computers
Linux x64
Author: Joost VandeVondele
Date: Sat Aug 1 09:25:00 2020 +0200
Timestamp: 1596266700

Some coding style changes, white space
Windows x64 for Haswell CPUs
Windows x64 for modern computers + AVX2
Windows x64 for modern computers
Windows x64
Windows 32
Linux x64 for Haswell CPUs
Linux x64 for modern computers + AVX2
Linux x64 for modern computers
Linux x64
Author: Joost VandeVondele
Date: Sat Aug 1 08:27:59 2020 +0200
Timestamp: 1596263279

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.
Windows x64 for Haswell CPUs
Windows x64 for modern computers + AVX2
Windows x64 for modern computers
Windows x64
Windows 32
Linux x64 for Haswell CPUs
Linux x64 for modern computers + AVX2
Linux x64 for modern computers
Linux x64
Author: Joost VandeVondele
Date: Sat Aug 1 08:18:35 2020 +0200
Timestamp: 1596262715

Remove unused variable
Windows x64 for Haswell CPUs
Windows x64 for modern computers + AVX2
Windows x64 for modern computers
Windows x64
Windows 32
Linux x64 for Haswell CPUs
Linux x64 for modern computers + AVX2
Linux x64 for modern computers
Linux x64
Author: Joost VandeVondele
Date: Fri Jul 31 19:16:38 2020 +0200
Timestamp: 1596215798

Recreate Position object for eval

takes the current option settings into account.

Fixes #2859
Fixes #2579
Windows x64 for Haswell CPUs
Windows x64 for modern computers + AVX2
Windows x64 for modern computers
Windows x64
Windows 32
Linux x64 for Haswell CPUs
Linux x64 for modern computers + AVX2
Linux x64 for modern computers
Linux x64
Author: Joost VandeVondele
Date: Fri Jul 31 15:58:33 2020 +0200
Timestamp: 1596203913

Use a global instead of a variable in pos
Windows x64 for Haswell CPUs
Windows x64 for modern computers + AVX2
Windows x64 for modern computers
Windows x64
Windows 32
Linux x64 for Haswell CPUs
Linux x64 for modern computers + AVX2
Linux x64 for modern computers
Linux x64
Author: Joost VandeVondele
Date: Fri Jul 31 12:19:26 2020 +0200
Timestamp: 1596190766

Merge branch 'nnue-notemplate2' of https://github.com/dorzechowski/Stockfish into dorzechowski-nnue-notemplate2
Windows x64 for Haswell CPUs
Windows x64 for modern computers + AVX2
Windows x64 for modern computers
Windows x64
Windows 32
Linux x64 for Haswell CPUs
Linux x64 for modern computers + AVX2
Linux x64 for modern computers
Linux x64
Author: Dariusz Orzechowski
Date: Thu Jul 30 05:05:27 2020 +0200
Timestamp: 1596078327

Remove some code unused in the current network architecture

No functional change.
Windows x64 for Haswell CPUs
Windows x64 for modern computers + AVX2
Windows x64 for modern computers
Windows x64
Windows 32
Linux x64 for Haswell CPUs
Linux x64 for modern computers + AVX2
Linux x64 for modern computers
Linux x64
Author: mstembera
Date: Tue Jul 28 20:08:10 2020 -0700
Timestamp: 1595992090

Remove some unnecessary declarations and headers.
bench: 4578298
Windows x64 for Haswell CPUs
Windows x64 for modern computers + AVX2
Windows x64 for modern computers
Windows x64
Windows 32
Linux x64 for Haswell CPUs
Linux x64 for modern computers + AVX2
Linux x64 for modern computers
Linux x64
Author: NguyenPham
Date: Tue Jul 28 14:02:35 2020 +0200
Timestamp: 1595937755

Change data file extension of nnue networks

move from .bin (used for polyglot books etc) to .nnue

next page >