Update NNUE architecture to SFNNv12 and net nn-7e1657811c6d.nnue

This net is trained with https://github.com/sscg13/nettest/blob/no-king-attacker/threats.yaml.

Passed non-regression STC:
LLR: 2.93 (-2.94,2.94) <-1.75,0.25>
Total: 92640 W: 24371 L: 24209 D: 44060
Ptnml(0-2): 389, 11047, 23322, 11137, 425
https://tests.stockfishchess.org/tests/view/6986345fa259e26d2c32e9c5

Passed non-regression LTC:
LLR: 2.96 (-2.94,2.94) <-1.75,0.25>
Total: 198636 W: 50960 L: 50919 D: 96757
Ptnml(0-2): 176, 22218, 54511, 22215, 198
https://tests.stockfishchess.org/tests/view/6987ee29b0f3ca5200aafa51

closes https://github.com/official-stockfish/Stockfish/pull/6609

bench: 2465828
This commit is contained in:
sscg13
2026-02-13 06:56:10 +01:00
committed by Joost VandeVondele
parent 21b0974f8d
commit 83e42045a6
2 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ namespace Eval {
// for the build process (profile-build and fishtest) to work. Do not change the // for the build process (profile-build and fishtest) to work. Do not change the
// name of the macro or the location where this macro is defined, as it is used // name of the macro or the location where this macro is defined, as it is used
// in the Makefile/Fishtest. // in the Makefile/Fishtest.
#define EvalFileDefaultNameBig "nn-3dd094f3dfcf.nnue" #define EvalFileDefaultNameBig "nn-7e1657811c6d.nnue"
#define EvalFileDefaultNameSmall "nn-37f18f62d772.nnue" #define EvalFileDefaultNameSmall "nn-37f18f62d772.nnue"
namespace NNUE { namespace NNUE {
+4 -4
View File
@@ -30,8 +30,8 @@ class Position;
namespace Stockfish::Eval::NNUE::Features { namespace Stockfish::Eval::NNUE::Features {
static constexpr int numValidTargets[PIECE_NB] = {0, 6, 10, 8, 8, 10, 8, 0, static constexpr int numValidTargets[PIECE_NB] = {0, 6, 10, 8, 8, 10, 0, 0,
0, 6, 10, 8, 8, 10, 8, 0}; 0, 6, 10, 8, 8, 10, 0, 0};
class FullThreats { class FullThreats {
public: public:
@@ -42,7 +42,7 @@ class FullThreats {
static constexpr std::uint32_t HashValue = 0x8f234cb8u; static constexpr std::uint32_t HashValue = 0x8f234cb8u;
// Number of feature dimensions // Number of feature dimensions
static constexpr IndexType Dimensions = 66864; static constexpr IndexType Dimensions = 60144;
// clang-format off // clang-format off
// Orient a square according to perspective (rotates by 180 for black) // Orient a square according to perspective (rotates by 180 for black)
@@ -63,7 +63,7 @@ class FullThreats {
{ 0, 1, 2, 3, -1, -1}, { 0, 1, 2, 3, -1, -1},
{ 0, 1, 2, 3, -1, -1}, { 0, 1, 2, 3, -1, -1},
{ 0, 1, 2, 3, 4, -1}, { 0, 1, 2, 3, 4, -1},
{0, 1, 2, 3, -1, -1} {-1, -1, -1, -1, -1, -1}
}; };
// clang-format on // clang-format on