Skip to content

Commit faef72a

Browse files
committed
FF2
1 parent e44edde commit faef72a

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

src/FatFritz2_v1.bin

40.1 MB
Binary file not shown.

src/compile.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
for ARCH in x86-64-avx2 x86-64-bmi2 x86-64-modern
1+
for ARCH in x86-64-avx2 x86-64-bmi2 x86-64-modern x86-64-ssse3
22
do
33
make clean
44
make -j profile-build ARCH=$ARCH COMP=mingw

src/evaluate.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
// const unsigned char *const gEmbeddedNNUEEnd; // a marker to the end
4444
// const unsigned int gEmbeddedNNUESize; // the size of the embedded file
4545
// Note that this does not work in Microsof Visual Studio.
46+
#define NNUE_EMBEDDING_OFF
4647
#if !defined(_MSC_VER) && !defined(NNUE_EMBEDDING_OFF)
4748
INCBIN(EmbeddedNNUE, EvalFileDefaultName);
4849
#else

src/nnue/architectures/halfkp_256x2-32-32.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ namespace Layers {
4141

4242
// Define network structure
4343
using InputLayer = InputSlice<kTransformedFeatureDimensions * 2>;
44-
using HiddenLayer1 = ClippedReLU<AffineTransform<InputLayer, 32>>;
45-
using HiddenLayer2 = ClippedReLU<AffineTransform<HiddenLayer1, 32>>;
44+
using HiddenLayer1 = ClippedReLU<AffineTransform<InputLayer, 16>>;
45+
using HiddenLayer2 = ClippedReLU<AffineTransform<HiddenLayer1, 16>>;
4646
using OutputLayer = AffineTransform<HiddenLayer2, 1>;
4747

4848
} // namespace Layers

src/ucioption.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ void init(OptionsMap& o) {
5959
constexpr int MaxHashMB = Is64Bit ? 33554432 : 2048;
6060

6161
o["Debug Log File"] << Option("", on_logger);
62-
o["Contempt"] << Option(0, -100, 100);
62+
o["Contempt"] << Option(24, -100, 100);
6363
o["Analysis Contempt"] << Option("Both var Off var White var Black var Both", "Both");
6464
o["Threads"] << Option(1, 1, 512, on_threads);
6565
o["Hash"] << Option(16, 1, MaxHashMB, on_hash_size);

0 commit comments

Comments
 (0)