diff --git a/src/Makefile b/src/Makefile index 907b6155028..31a060c7983 100644 --- a/src/Makefile +++ b/src/Makefile @@ -971,10 +971,10 @@ endef # evaluation network (nnue) net: - $(call netvariables, EvalFileDefaultNameBig) - $(call fetch_network) $(call netvariables, EvalFileDefaultNameSmall) $(call fetch_network) + $(call netvariables, EvalFileDefaultNameBig) + $(call fetch_network) format: $(CLANG-FORMAT) -i $(SRCS) $(HEADERS) -style=file diff --git a/src/evaluate.cpp b/src/evaluate.cpp index da0867660af..afecb71f09d 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -47,8 +47,8 @@ // const unsigned int gEmbeddedNNUESize; // the size of the embedded file // Note that this does not work in Microsoft Visual Studio. #if !defined(_MSC_VER) && !defined(NNUE_EMBEDDING_OFF) -INCBIN(EmbeddedNNUEBig, EvalFileDefaultNameBig); INCBIN(EmbeddedNNUESmall, EvalFileDefaultNameSmall); +INCBIN(EmbeddedNNUEBig, EvalFileDefaultNameBig); #else const unsigned char gEmbeddedNNUEBigData[1] = {0x0}; const unsigned char* const gEmbeddedNNUEBigEnd = &gEmbeddedNNUEBigData[1]; diff --git a/src/evaluate.h b/src/evaluate.h index 53928bf6494..43563685ab7 100644 --- a/src/evaluate.h +++ b/src/evaluate.h @@ -39,8 +39,8 @@ Value evaluate(const Position& pos, int optimism); // The default net name MUST follow the format nn-[SHA256 first 12 digits].nnue // for the build process (profile-build and fishtest) to work. Do not change the // name of the macro, as it is used in the Makefile. -#define EvalFileDefaultNameBig "nn-b1a57edbea57.nnue" #define EvalFileDefaultNameSmall "nn-baff1ede1f90.nnue" +#define EvalFileDefaultNameBig "nn-b1a57edbea57.nnue" struct EvalFile { // UCI option name diff --git a/src/uci.cpp b/src/uci.cpp index d1d69d69752..a680ad072b3 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -51,8 +51,8 @@ constexpr int MaxHashMB = Is64Bit ? 33554432 : 2048; UCI::UCI(int argc, char** argv) : cli(argc, argv) { - evalFiles = {{Eval::NNUE::Big, {"EvalFile", EvalFileDefaultNameBig, "None", ""}}, - {Eval::NNUE::Small, {"EvalFileSmall", EvalFileDefaultNameSmall, "None", ""}}}; + evalFiles = {{Eval::NNUE::Small, {"EvalFileSmall", EvalFileDefaultNameSmall, "None", ""}}, + {Eval::NNUE::Big, {"EvalFile", EvalFileDefaultNameBig, "None", ""}}}; options["Debug Log File"] << Option("", [](const Option& o) { start_logger(o); });